Kumara Parameshwaran bdf2f895a6 gro: fix identifying fragmented packets
A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP
(0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in
rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the
GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP_PKT for
RTE_PTYPE_L4_FRAG. Hence, if the packet type is RTE_PTYPE_L4_FRAG the
IP header should be parsed to recognize the appropriate IP type and
invoke the respective gro handler.

Fixes: 1ca5e6740852 ("gro: support UDP/IPv4")
Cc: stable@dpdk.org

Signed-off-by: Kumara Parameshwaran <kumaraparamesh92@gmail.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
2022-07-05 18:30:38 +02:00
..
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2021-08-17 08:37:52 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-07-05 16:24:43 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-06-21 16:46:56 +02:00
2022-06-23 16:32:00 +02:00
2022-06-21 20:04:49 +02:00
2022-02-22 14:47:49 +01:00
2022-06-24 14:50:34 +02:00
2022-06-01 11:15:37 +02:00
2022-06-24 14:50:34 +02:00
2022-02-22 14:47:49 +01:00
2022-06-23 13:38:09 +02:00
2022-02-22 13:10:39 +01:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:51:09 +02:00
2022-06-01 15:04:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:50:34 +02:00
2022-02-22 13:10:39 +01:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:50:34 +02:00
2022-06-24 14:51:09 +02:00
2022-06-24 14:50:34 +02:00
2022-07-01 15:49:49 +02:00