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)
Fri, Mar 6, 5:49 AM
Unknown Object (File)
Fri, Mar 6, 1:04 AM
Unknown Object (File)
Tue, Feb 24, 12:10 AM
Unknown Object (File)
Mon, Feb 23, 3:11 PM
Unknown Object (File)
Mon, Feb 23, 3:11 PM
Unknown Object (File)
Sun, Feb 22, 1:12 PM
Unknown Object (File)
Tue, Feb 17, 5:19 PM
Unknown Object (File)
Jan 17 2026, 7:22 AM
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