net/ice: fix packet type table
authorShougang Wang <shougangx.wang@intel.com>
Tue, 10 Dec 2019 01:33:21 +0000 (01:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:45:23 +0000 (19:45 +0100)
According to comms package, index 94 should be MAC_IPV6_ICMP,
not MAC_IPV4_ICMP. This patch fixes the issue.

Fixes: 4cf29798b4c9 ("net/ice: fix packet type table")
Cc: stable@dpdk.org
Signed-off-by: Shougang Wang <shougangx.wang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_rxtx.c

index 2db1744..b4f5367 100644 (file)
@@ -3268,7 +3268,7 @@ ice_get_default_pkt_type(uint16_t ptype)
                       RTE_PTYPE_L4_TCP,
                [93] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6_EXT_UNKNOWN |
                       RTE_PTYPE_L4_SCTP,
-               [94] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
+               [94] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6_EXT_UNKNOWN |
                       RTE_PTYPE_L4_ICMP,
 
                /* IPv6 --> IPv4 */