net/qede: fix unicast MAC address handling in VF
authorShahed Shaikh <shahed.shaikh@cavium.com>
Sat, 23 Jun 2018 21:20:31 +0000 (14:20 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commitc7641841af2aaf05bca987a5a0eff5a7fe96caeb
tree0e024ca9ce74216f076f8040894c461def7be7ee
parentd90141961b9acead2a3cfacc7547ac1a256979eb
net/qede: fix unicast MAC address handling in VF

We did not register unicast mac configuration handlers
for VF causing failure in bonding of VFs.

Also, mac_addr_set operation requires mac_remove followed
by mac_add.

Fixes: 86a2265e59d7 ("qede: add SRIOV support")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
drivers/net/qede/qede_ethdev.c