For example, when packets received from an MLX network card, the value of mbuf->vlan_tci is a random value. So that this value cannot be used to determine whether VLAN packets . We need to judgment mbuf->ol_flags first.
BR. Zeng Ganghui Huawei Technologies Co., Ltd. -----Original Message----- From: Doherty, Declan [mailto:declan.dohe...@intel.com] Sent: Monday, September 18, 2017 5:14 PM To: zengganghui; dev@dpdk.org Subject: Re: [PATCH] net/bonding: strengthen the judgment of lacp packets On 30/08/2017 4:46 AM, ZengGanghui wrote: > When the nic does not support vlan rx offload may be wrong, resulting > in lacp packets will not be processed. > > Signed-off-by: ZengGanghui <zenggang...@huawei.com> > --- ... > Acked-by: Declan Doherty <declan.dohe...@intel.com>