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.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sepherosa_gmail.com edited the summary of this revision. (Show Details)Aug 31 2017, 5:33 AM
gallatin accepted this revision.Aug 31 2017, 1:07 PM
This revision is now accepted and ready to land.Aug 31 2017, 1:07 PM
This revision was automatically updated to reflect the committed changes.