]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 05:00:22 +0000 (21:00 -0800)
commit23b659dd3f2f12764066660296cebeef86c89ab6
tree3f51a288ada6df63a94d7ff55a7d518d91a613a5
parente614387b18b75e330ba57b057c3dca773b9e3234
bnxt_en: Optimize .ndo_set_mac_address() for VFs.

Orabug: 2764835527648339

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>
(cherry picked from commit c1a7bdff17247332ecff7f243e42d269b3f74c65)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c