Page MenuHomeFreeBSD

ice(4): Add host SR-IOV support
Needs ReviewPublic

Authored by krzysztof.galazka_intel.com on Jan 17 2025, 2:07 PM.
Tags
None
Referenced Files
F113022862: D48498.diff
Tue, Mar 25, 12:29 PM
F113019558: D48498.diff
Tue, Mar 25, 11:39 AM
F113019209: D48498.diff
Tue, Mar 25, 11:32 AM
Unknown Object (File)
Fri, Mar 21, 1:07 PM
Unknown Object (File)
Mon, Mar 17, 8:37 AM
Unknown Object (File)
Wed, Mar 12, 10:06 PM
Unknown Object (File)
Thu, Feb 27, 7:48 PM
Unknown Object (File)
Tue, Feb 25, 11:57 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 62919
Build 59803: 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.