Page MenuHomeFreeBSD

if: Add ioctls to get RSS key and hash type/function.
ClosedPublic

Authored by sepherosa_gmail.com on Aug 31 2017, 5:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 8:17 AM
Unknown Object (File)
Thu, May 14, 7:56 PM
Unknown Object (File)
Thu, May 14, 5:19 PM
Unknown Object (File)
Tue, May 12, 7:04 AM
Unknown Object (File)
Tue, May 12, 7:04 AM
Unknown Object (File)
Sun, May 10, 4:08 PM
Unknown Object (File)
Thu, Apr 30, 11:37 AM
Unknown Object (File)
Apr 23 2026, 10:29 PM
Subscribers

Details

Summary

It will be needed by hn(4) to configure its RSS key and hash type/function in the transparent VF mode in order to match VF's RSS settings. The description of the transparent VF mode and the RSS hash value issue are here:
https://svnweb.freebsd.org/base?view=revision&revision=322299
https://svnweb.freebsd.org/base?view=revision&revision=322485

These are generic enough to promise two independent IOCs instead of abusing SIOCGDRVSPEC.

Setting RSS key and hash type/function is a different story, which probably requires more discussion.

Two drivers are modified to support these two IOCs:
https://reviews.freebsd.org/D12175
https://reviews.freebsd.org/D12176

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable