we are currently trying to get a mixture of Hardware LAG, VLAN Tagging and Flowtable Offloading working on our debian12 system using a ConnectX-6 Lx
Creating the HW Lag using the card running in switchdev works like charm.
Creating the VLANs and performing some filtering afterwards gets a bit more complicated. I tried to simply create a tagged version of the vlan and tell the nftable rules to perform some filtering. Thats working fine but seems to run in the kernel/software instead of getting ofloaded to the hardware since the system is running on full load handling the interrupts.
Is there any (recommended) way of building such a setup. Should I use several virtual functions and tag them?
Thank you for posting your query on our community. Please refer to this article on configuring VLAN offload using tc and let us know if it helps - ESPCommunity