[dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-08-29 Thread ZengGanghui
When the nic does not support vlan rx offload may be wrong, resulting in lacp packets will not be processed. --- drivers/net/bonding/rte_eth_bond_pmd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_b

[dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-08-29 Thread ZengGanghui
When the nic does not support vlan rx offload may be wrong, resulting in lacp packets will not be processed. Signed-off-by: ZengGanghui --- drivers/net/bonding/rte_eth_bond_pmd.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b

Re: [dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-09-18 Thread zengganghui
essage- 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 offlo

Re: [dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-09-18 Thread zengganghui
, 2017 8:34 PM To: zengganghui; dev@dpdk.org Subject: Re: [PATCH] net/bonding: strengthen the judgment of lacp packets On 18/09/2017 12:12 PM, zengganghui wrote: > For example, when packets received from an MLX network card, the value of > mbuf->vlan_tci is a random value. So that this val

Re: [dpdk-dev] [PATCH] net/bonding: strengthen the judgment of lacp packets

2017-09-18 Thread zengganghui
, September 18, 2017 9:11 PM To: zengganghui; dev@dpdk.org Subject: Re: [PATCH] net/bonding: strengthen the judgment of lacp packets On 18/09/2017 1:50 PM, zengganghui wrote: > All mbuf packets have been init to zero when pktmbuf pool create. So judgment > this flag is safe, whether or not suppor