bnxt_en: Optimize .ndo_set_mac_address() for VFs.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 26 Oct 2017 15:51:24 +0000 (11:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:02:44 +0000 (00:02 +0900)
commitc1a7bdff17247332ecff7f243e42d269b3f74c65
treeccab8afd6eb072f1adfa9a3e0f4b8227c329305b
parent431aa1eb20d8ae2674723292adb832b968da868e
bnxt_en: Optimize .ndo_set_mac_address() for VFs.

No need to call bnxt_approve_mac() which will send a message to the
PF if the MAC address hasn't changed.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c