Page MenuHomeFreeBSD

iflib: wire up the RSS ioctls
DraftPublic

Authored by nick_spun.io on Tue, Aug 18, 11:11 PM.
Tags
None
Referenced Files
F171351048: D58936.id184289.diff
Thu, Sep 10, 3:00 PM
Unknown Object (File)
Tue, Sep 8, 9:16 PM
Unknown Object (File)
Tue, Sep 8, 9:16 PM
Unknown Object (File)
Tue, Sep 8, 9:16 PM
Unknown Object (File)
Thu, Sep 3, 11:47 AM
Unknown Object (File)
Wed, Sep 2, 11:45 PM
Unknown Object (File)
Wed, Sep 2, 4:32 AM
Unknown Object (File)
Wed, Sep 2, 3:28 AM
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
shurd
adrian
gallatin
Group Reviewers
iflib
Summary

iflib handled no RSS ioctl, so SIOCGIFRSSKEY and SIOCGIFRSSHASH reached
ether_ioctl() and returned EINVAL for every iflib driver.

Add ifdi_rss_key_get, ifdi_rss_key_set, ifdi_rss_hash_get,
ifdi_rss_table_get and ifdi_rss_table_set, following ifdi_i2c_req: a
generic ioctl behind a driver method defaulting to ENOTSUP. Methods
sharing a signature share one default.

isc_rss_table_size is the authority for the table length, since iflib
already masks flowids with it in QIDX(). Gets clear the caller's buffer
past the interface name.

Signed-off-by: Nick Price <nprice@FreeBSD.org>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75693
Build 72576: arc lint + arc unit