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:[email protected]] Sent: Monday, September 18, 2017 5:14 PM To: zengganghui; [email protected] 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 <[email protected]> > --- ... > Acked-by: Declan Doherty <[email protected]>

