Page MenuHomeFreeBSD

iflib: Add fields for tunneled packets in if_pkt_info
AcceptedPublic

Authored by krzysztof.galazka_intel.com on Mar 3 2021, 1:48 PM.

Details

Reviewers
shurd
gallatin
kbowling
Group Reviewers
iflib
Intel Networking
Summary

Add fields for inner frame parameters to if_pkt_info structure to allow enabling VXLAN HW offloads in iflib.

This patch deliberately does not add parsing of the inner frame as it still under development. We would like though to get this change merged to FreeBSD 13.0 RELASE to allow adding VXLAN HW offloads support to that version through out-of-tree driver.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 37535
Build 34424: arc lint + arc unit

Event Timeline

*bump*/*reminder*

It'd be nice to get this into 13.0 -- that means at least out of tree iflib drivers can be updated to support VXLAN offload on 13.0-RELEASE.

kbowling added a subscriber: kbowling.

I've become familiar with the iflib internals doing some driver work on re(4) and this seems like a reasonable use of the spare to me.

This revision is now accepted and ready to land.Mar 26 2021, 9:12 PM

I think that for now, since FreeBSD 13.0 has released, we're going to wait on this until we have an implementation of VXLAN offload in ixl(4) that's ready to be upstreamed that will use this.