]> git.baikalelectronics.ru Git - kernel.git/commit
ice: switch: dynamically add VLAN headers to dummy packets
authorMartyna Szapar-Mudlaw <martyna.szapar-mudlaw@intel.com>
Wed, 20 Apr 2022 21:00:49 +0000 (23:00 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jun 2022 20:53:33 +0000 (13:53 -0700)
commitcf060c7cf242df9433905cd1a976bd1c49b12dee
tree856b2ffa8357cde89776a2b55c70bad849687a76
parent9614af3bcc0a296049f652f3eb2dc1f2d56fd642
ice: switch: dynamically add VLAN headers to dummy packets

Enable the support of creating all kinds of declared dummy packets
with the VLAN tags by inserting VLAN headers (single VLAN and QinQ
cases) if needed.
Decrease the number of declared dummy packets and increase in the
possible packet's combinations for adding switch rules.

This change enables support of creating filters that match both on
VLAN + tunnels properties in switchdev.

Signed-off-by: Martyna Szapar-Mudlaw <martyna.szapar-mudlaw@intel.com>
Reviewed-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_switch.c