ice: Add support for double VLAN in switchdev
authorMartyna Szapar-Mudlaw <martyna.szapar-mudlaw@intel.com>
Sat, 26 Mar 2022 12:35:36 +0000 (13:35 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jun 2022 20:53:25 +0000 (13:53 -0700)
commit06bca7c2685a9ab129ede0272de00d92c40347ac
tree5555d21f94bace036fc3678ff8bf861ea58948ee
parentbf48c3fae6d78d6418f62bd3259cd62dd16f83ec
ice: Add support for double VLAN in switchdev

Enable support for adding TC rules with both C-tag and S-tag that can
filter on the inner and outer VLAN in QinQ for basic packets (not
tunneled cases).

Signed-off-by: Wiktor Pilarczyk <wiktor.pilarczyk@intel.com>
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_protocol_type.h
drivers/net/ethernet/intel/ice/ice_switch.c
drivers/net/ethernet/intel/ice/ice_tc_lib.c
drivers/net/ethernet/intel/ice/ice_tc_lib.h