Page MenuHomeFreeBSD

ice(4): Add host SR-IOV support
AbandonedPublic

Authored by kgalazka on Jan 17 2025, 2:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 5:06 PM
Unknown Object (File)
Sun, Oct 12, 1:15 PM
Unknown Object (File)
Sun, Oct 12, 3:54 AM
Unknown Object (File)
Fri, Oct 10, 10:04 PM
Unknown Object (File)
Thu, Oct 2, 6:20 AM
Unknown Object (File)
Tue, Sep 30, 9:05 AM
Unknown Object (File)
Mon, Sep 22, 5:53 AM
Unknown Object (File)
Thu, Sep 18, 3:13 AM
Subscribers

Details

Reviewers
erj
Group Reviewers
Intel Networking
Summary

Allows creating Virtual Functions on E800 adapters with up to 16 queues.
Changing MAC address and using promiscuous mode for each VF
may be enabled in configuration.

Please be advised that this is still work in progress and may be unstable.

Authored-by: Eric Joyner erj@FreeBSD.org
Signed-off-by: Krzysztof Galazka krzysztof.galazka@intel.com

Test Plan

Traffic works on non-passthrough VFs. More extensive testing to be done.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65029
Build 61912: arc lint + arc unit

Event Timeline

We're trying a different approach to make the work more transparent and enable receiving feedback earlier during development. This patch will be updated with bug fixes and missing features. There is also a pull request on Github if you'd like to see commits history: https://github.com/freebsd/freebsd-src/pull/1573

erj added inline comments.
sys/dev/ice/ice_iov.c
110

Wasn't there supposed to be support for VLAN anti-spoof and resource limits added to this? Though, the description does say that this is a work in progress.

Update with recent changes from Github PR: https://github.com/freebsd/freebsd-src/pull/1573

  • ice(4): Add MAC filter and VLAN resource limits to VFs
  • ice(4): Fix set RSS hena virtchnl op handler
  • ice(4): Enable WB_ON_ITR capability for VFs
  • ice(4): Fix re-enabling VF queues
  • ice(4): Add basic VFLR handler
sys/dev/ice/ice_iov.c
110

Yeah, there are still some things missing. I just added your patch with resources limits. I need to double check on the VLAN anti-spoof.

  • ice(4): Fix setting VF MAC address

Abandoning this revision as related Github PR was merged by @imp