]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:02:44 +0000 (00:02 +0900)
commit55e12f2d10472051e04f2867955601c18fd3b88c
treeccab8afd6eb072f1adfa9a3e0f4b8227c329305b
parent777528bc10cd4f440dbb2785eec54c2071da37c7
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