ice always strips the VLAN tag from received frames and reports it in
the Rx descriptor, whatever the IFCAP_VLAN_HWTAGGING setting. The
network stack copes, but netmap(4) sees only the frame data, so a
netmap application on an ice port never sees the tag, and turning off
vlanhwtag does not help. Tagged traffic that Suricata or Snort
inspects inline on an ice port comes out untagged.
Set the main VSI's stripping mode from IFCAP_VLAN_HWTAGGING each time
the interface is initialized, as ixl(4) does. iflib reinitializes a
running interface when the capability changes.
PR: 269418
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")