net/bonding: strengthen the judgment of LACP packets
authorGanghui Zeng <zengganghui@huawei.com>
Wed, 30 Aug 2017 03:46:14 +0000 (11:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:52:48 +0000 (01:52 +0100)
commitae61e47209767d617140afc360698fd714e330ef
tree65e3a8f7d9c5cc7bc878255e907a7fef9274c6f0
parent5b590fbe09b6163a55f279bc5d4b85dce39f1d49
net/bonding: strengthen the judgment of LACP packets

When the NIC does not support VLAN Rx offload may be wrong, resulting in
LACP packets will not be processed.

Signed-off-by: Ganghui Zeng <zengganghui@huawei.com>
Reviewed-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_pmd.c