From 5d020410f8fa2a8f57eff60ef8a12b0ecc7b445d Mon Sep 17 00:00:00 2001 From: George Wilkie Date: Wed, 10 Jan 2018 17:08:52 +0000 Subject: [PATCH] net/vmxnet3: reset packet type for non-IPv4 packets With bonding, after sending sufficient ipv4 packets, bond_ethdev_rx_burst_8023ad() no longer recognizes LACP packets because the packet_type is set to RTE_PTYPE_L3_IPV4. Ensure packet_type is reset for non-ipv4 packets in vmxnet3_rx_offload. Signed-off-by: George Wilkie Acked-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_rxtx.c b/drivers/net/vmxnet3/vmxnet3_rxtx.c index f9416f3481..abea641efe 100644 --- a/drivers/net/vmxnet3/vmxnet3_rxtx.c +++ b/drivers/net/vmxnet3/vmxnet3_rxtx.c @@ -674,6 +674,8 @@ vmxnet3_rx_offload(const Vmxnet3_RxCompDesc *rcd, struct rte_mbuf *rxm) if ((rcd->tcp || rcd->udp) && !rcd->tuc) rxm->ol_flags |= PKT_RX_L4_CKSUM_BAD; } + } else { + rxm->packet_type = RTE_PTYPE_UNKNOWN; } } -- 2.20.1