The offset for the inner L2 header in the dummy GRE packet
was off by 2 bytes so updated the offset.
Fixes: 423be7ac8951 ("net/ice/base: enable additional switch rules")
Signed-off-by: Paul M Stillwell Jr <[email protected]>
Signed-off-by: Leyi Rong <[email protected]>
---
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 538829771..be43c8ba2 100644
--- a/drivers/net/ice/base/ice_switch.c
+++ b/drivers/net/ice/base/ice_switch.c
@@ -65,7 +65,7 @@ struct ice_dummy_pkt_offsets dummy_gre_packet_offsets[] = {
{ ICE_IPV4_OFOS, 14 },
{ ICE_NVGRE, 34 },
{ ICE_MAC_IL, 42 },
- { ICE_IPV4_IL, 54 },
+ { ICE_IPV4_IL, 56 },
{ ICE_PROTOCOL_LAST, 0 },
};
--
2.17.1