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, Apr 23, 1:41 AM
Unknown Object (File)
Tue, Apr 23, 1:41 AM
Unknown Object (File)
Tue, Apr 23, 1:41 AM
Unknown Object (File)
Tue, Apr 23, 1:29 AM
Unknown Object (File)
Sat, Apr 20, 9:32 AM
Unknown Object (File)
Fri, Apr 19, 12:19 AM
Unknown Object (File)
Feb 13 2024, 2:08 PM
Unknown Object (File)
Dec 10 2023, 10:39 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