[PATCH 30/39] net/ice/base: update Protocol ID table to match DVM DDP

Kevin Liu kevinx.liu at intel.com
Thu Apr 7 12:56:57 CEST 2022


From: Junfeng Guo <junfeng.guo at intel.com>

The ice kernel driver and DDP is working in Double VLAN Mode (DVM),
but the DVM is not supported on this PMD. Thus update the SW to HW
Protocol ID table for VLAN to support common switch filtering with
single VLAN layer.

Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>
Signed-off-by: Kevin Liu <kevinx.liu at intel.com>
---
 drivers/net/ice/base/ice_switch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c
index b367efaf02..3bb9e28898 100644
--- a/drivers/net/ice/base/ice_switch.c
+++ b/drivers/net/ice/base/ice_switch.c
@@ -7098,7 +7098,7 @@ static struct ice_protocol_entry ice_prot_id_tbl[ICE_PROTOCOL_LAST] = {
 	{ ICE_MAC_OFOS,		ICE_MAC_OFOS_HW },
 	{ ICE_MAC_IL,		ICE_MAC_IL_HW },
 	{ ICE_ETYPE_OL,		ICE_ETYPE_OL_HW },
-	{ ICE_VLAN_OFOS,	ICE_VLAN_OL_HW },
+	{ ICE_VLAN_OFOS,	ICE_VLAN_OF_HW },
 	{ ICE_IPV4_OFOS,	ICE_IPV4_OFOS_HW },
 	{ ICE_IPV4_IL,		ICE_IPV4_IL_HW },
 	{ ICE_IPV6_OFOS,	ICE_IPV6_OFOS_HW },
-- 
2.33.1



More information about the dev mailing list