From: Leyi Rong Date: Mon, 1 Jul 2019 05:04:50 +0000 (+0800) Subject: net/ice/base: fix inner L2 offset in GRE dummy packet X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=60687da86afbf95f9138f61cdb0d1eb3bc8f9f87;p=dpdk.git net/ice/base: fix inner L2 offset in GRE dummy packet The offset for the inner L2 header in the dummy GRE packet was off by 2 bytes so updated the offset. Fixes: 839c0a4b77e6 ("net/ice/base: enable additional switch rules") Signed-off-by: Paul M Stillwell Jr Signed-off-by: Leyi Rong Acked-by: Qi Zhang --- diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index 5388297715..be43c8ba21 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 }, };