[dpdk-dev] [PATCH v2] net/bonding: fix lacp negotiation failed

2019-03-21 Thread Liang Zhang
When monitor(port-mirroring) traffic from other lacp port-channel, rx_machine_update may recieving other lacp negotiation packets. Thus bond mode 4 will negotiation failed. Fixes: 112891cd27e5 ("net/bonding: add dedicated HW queues for LACP control") Cc: sta...@dpdk.org Signed-off

[dpdk-dev] [PATCH] net/bonding: fix lacp negotiation failed

2019-03-21 Thread Liang Zhang
When monitor(port-mirroring) traffic from other lacp port-channel, rx_machine_update may recieving other lacp negotiation packets. Thus bond mode 4 will negotiation failed. Fixes: 112891cd27e5 ("net/bonding: add dedicated HW queues for LACP control") Cc: sta...@dpdk.org Signed-off

[dpdk-dev] [PATCH] bonding: fix lacp negotiation failed

2019-03-15 Thread Liang Zhang
When monitor(port-mirroring) traffic from other lacp port-channel, rx_machine_update may recieving other lacp negotiation packets. Thus bond mode 4 will negotiation failed. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 12 ++-- drivers/net/bonding

[dpdk-dev] [PATCH v3 2/2] bonding: change mac_addr filled position

2019-03-15 Thread Liang Zhang
When mac_address update in bond_mode_8023ad_mac_address_update, bonding port's mac_addr should update also. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/bo

[dpdk-dev] [PATCH v3 1/2] bonding: fix lacp negotiation failed

2019-03-15 Thread Liang Zhang
When monitor(port-mirroring) traffic from other lacp port-channel, rx_machine_update may recieving other lacp negotiation packets. Thus bond mode 4 will negotiation failed. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 9 +++-- drivers/net/bonding

[dpdk-dev] [PATCH v2] bonding: change mac_addr filled position

2019-03-14 Thread Liang Zhang
When mac_address update in bond_mode_8023ad_mac_address_update, bonding port's mac_addr should update also. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/bo

[dpdk-dev] [PATCH v2] bonding: change mac_addr filled position

2019-03-14 Thread Liang Zhang
When mac_address update in bond_mode_8023ad_mac_address_update, bonding port's mac_addr should update also. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/net/bo

[dpdk-dev] [PATCH] bonding: fix lacp negotiation failed

2019-03-13 Thread Liang Zhang
When monitor(port-mirroring) traffic from other lacp port-channel, rx_machine_update may recieving other lacp negotiation packets. Thus bond mode 4 will negotiation failed. Signed-off-by: Liang Zhang --- drivers/net/bonding/rte_eth_bond_8023ad.c | 9 +++-- drivers/net/bonding