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)
Wed, Jul 30, 6:21 AM
Unknown Object (File)
Jul 13 2025, 8:18 AM
Unknown Object (File)
Jul 6 2025, 8:42 PM
Unknown Object (File)
Jul 4 2025, 1:27 PM
Unknown Object (File)
Jun 30 2025, 10:06 AM
Unknown Object (File)
Jun 27 2025, 10:05 PM
Unknown Object (File)
Jun 27 2025, 7:02 PM
Unknown Object (File)
Jun 25 2025, 6:37 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