Steve Yang dd52fa0bad net/iavf: fix setting of MAC address
When setting the MAC address, the ethdev layer copies the new mac
address in dev->data->mac_addrs[0] before calling the dev_ops.

Therefore, is_same_ether_addr(mac_addr, dev->data->mac_addrs) was
always true, and the MAC was never set. Remove this test to fix the
issue.

Fixes: 538da7a1cad2 ("net: add rte prefix to ether functions")
Cc: stable@dpdk.org

Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
2020-09-18 18:55:07 +02:00
..
2020-09-18 18:55:07 +02:00
2020-09-18 18:55:06 +02:00
2020-09-08 00:09:50 +02:00
2020-09-08 00:09:50 +02:00
2020-09-18 18:55:07 +02:00
2020-09-08 00:09:50 +02:00