net/mlx4: fix Rx offload non-fragmented indication
This patch fixes the missing RTE_PTYPE_L4_NONFRAG on non-fragmented
IP packets with unrecognized payload type.
Fixes: aee4a03fee
("net/mlx4: enhance Rx packet type offloads")
Cc: stable@dpdk.org
Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
b87c06483a
commit
c7aaaecd41
@ -57,7 +57,8 @@ uint32_t mlx4_ptype_table[0x100] __rte_cache_aligned = {
|
||||
* giving a total of up to 256 entries.
|
||||
*/
|
||||
[0x00] = RTE_PTYPE_L2_ETHER,
|
||||
[0x01] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN,
|
||||
[0x01] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
|
||||
RTE_PTYPE_L4_NONFRAG,
|
||||
[0x02] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
|
||||
RTE_PTYPE_L4_FRAG,
|
||||
[0x03] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV4_EXT_UNKNOWN |
|
||||
|
Loading…
Reference in New Issue
Block a user