]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit027270b29477325cf40c5ae34dc3ddcaddf60def
tree5555d21f94bace036fc3678ff8bf861ea58948ee
parent6dd0b0d6c1996088ea2cc6d822d47aae98d642d2
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