From: George Wilkie Date: Wed, 10 Jan 2018 17:08:52 +0000 (+0000) Subject: net/vmxnet3: reset packet type for non-IPv4 packets X-Git-Tag: spdx-start~78 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5d020410f8fa2a8f57eff60ef8a12b0ecc7b445d;p=dpdk.git 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 --- 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; } }