numam-dpdk/drivers/net
Wei Hu (Xavier) 2d94400276 net/bonding: fix MAC address when one port resets
The current bonding PMD driver call mac_address_slaves_update function
to modify the MAC address of all slaves devices. In
mac_address_slaves_update function, the rte_eth_dev_default_mac_addr_set
API function is called to set the MAC address of the slave devices in
turn in the for loop statement.

When one port reset, calling rte_eth_dev_default_mac_addr_set API fails
because the firmware will not respond to the commands from the driver,
and exit the loop, so other slave devices cannot continue to update the
MAC address.

This patch fixes the issue by avoid exiting the loop when calling
rte_eth_dev_default_mac_addr_set fails.

Fixes: 2efb58cbab ("bond: new link bonding library")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: Xuan Li <lixuan47@hisilicon.com>
2020-07-17 18:21:21 +02:00
..
af_packet net/af_packet: fix munmap on init failure 2020-07-17 18:21:21 +02:00
af_xdp log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ark log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
atlantic drivers/net: fix exposing internal headers 2020-07-11 06:18:54 +02:00
avp log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
axgbe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bnx2x log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bnxt net/bnxt: fix crash during Tx 2020-07-17 18:21:21 +02:00
bonding net/bonding: fix MAC address when one port resets 2020-07-17 18:21:21 +02:00
cxgbe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
dpaa drivers/net: fix exposing internal headers 2020-07-11 06:18:54 +02:00
dpaa2 ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
e1000 drivers/net: delete HW rings while freeing queues 2020-07-11 06:18:54 +02:00
ena log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
enetc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
enic net/enic: support burst mode info 2020-07-11 06:18:53 +02:00
failsafe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
fm10k ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
hinic net/hinic/base: convert error value to ETIMEDOUT 2020-07-11 06:18:53 +02:00
hns3 net/hns3: fix RSS configuration on empty RSS type 2020-07-17 18:21:21 +02:00
i40e drivers/net: delete HW rings while freeing queues 2020-07-11 06:18:54 +02:00
iavf net/iavf: support RSS for IPv4 IPv6 mix of GTP 2020-07-11 06:18:53 +02:00
ice net/ice/base: fix RSS removal for GTP-U 2020-07-17 18:21:21 +02:00
igc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ionic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ipn3ke log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
ixgbe drivers/net: delete HW rings while freeing queues 2020-07-11 06:18:54 +02:00
kni log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
liquidio log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
memif log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mlx4 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mlx5 net/mlx5: add ConnectX-6 Lx device ID 2020-07-11 06:18:53 +02:00
mvneta log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
mvpp2 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
netvsc net/netvsc: detach external buffer on failure 2020-07-11 06:18:53 +02:00
nfb net/nfb: check array size before access 2020-04-21 13:57:06 +02:00
nfp net/nfp: fix RSS hash configuration reporting 2020-07-11 06:18:54 +02:00
null log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
octeontx ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
octeontx2 crypto/octeontx2: support security session create 2020-07-18 23:09:03 +02:00
pcap log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
pfe log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
qede ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
ring log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
sfc net/sfc: reap Tx descriptors at least once 2020-06-30 14:52:29 +02:00
softnic log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
szedata2 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
tap log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
thunderx log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vdev_netvsc log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vhost log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
virtio net/virtio-user: support reply-ack 2020-07-11 06:18:52 +02:00
vmxnet3 log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
Makefile net/igc: add skeleton 2020-04-21 13:57:07 +02:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00