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)
Tue, Jun 16, 12:25 PM
Unknown Object (File)
Tue, Jun 16, 1:09 AM
Unknown Object (File)
Thu, Jun 4, 11:38 PM
Unknown Object (File)
May 16 2026, 8:17 AM
Unknown Object (File)
May 14 2026, 7:56 PM
Unknown Object (File)
May 14 2026, 5:19 PM
Unknown Object (File)
May 12 2026, 7:04 AM
Unknown Object (File)
May 12 2026, 7:04 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