HomeFreeBSD

mlx5en: support ipsec offload on vlan if

Description

mlx5en: support ipsec offload on vlan if

Add vlan tag match to RX FS SA and policy rules
and report SA lifetime counter on vlan interface
in case SA was installed on vlan interface

Existing code didn't have the net tag id as part of
the FS matching rules. This can cause applying
ipsec offload to the wrong interface.
This commit add tag id as part of FS matchers
and treat tag value 0 as no tag

Sponsored by: NVidia networking

Details

Provenance
Ariel Ehrenberg <aehrenberg@nvidia.com>Authored on Jul 30 2024, 4:50 PM
kibCommitted on Aug 20 2024, 12:42 PM
Parents
rG84abf7e26d19: ipsec_offload: support vlans
Branches
Unknown
Tags
Unknown

Event Timeline