aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2016-04-11 04:11:13 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-11 14:58:45 -0400
commit84c33dd342ad596a271a61da0119bf34e80bb1c5 (patch)
treec3ab2aa2830cf5e9475eec3b249c8e477f1adb87 /drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
parentbnxt_en: Shutdown link when device is closed. (diff)
downloadlinux-dev-84c33dd342ad596a271a61da0119bf34e80bb1c5.tar.xz
linux-dev-84c33dd342ad596a271a61da0119bf34e80bb1c5.zip
bnxt_en: Call firmware to approve VF MAC address change.
Some hypervisors (e.g. ESX) require the VF MAC address to be forwarded to the PF for approval. In Linux PF, the call is not forwarded and the firmware will simply check and approve the MAC address if the PF has not previously administered a valid MAC address for this VF. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
index 3f08354a247e..0392670ab49c 100644
--- a/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
+++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
@@ -20,4 +20,5 @@ int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs);
void bnxt_sriov_disable(struct bnxt *);
void bnxt_hwrm_exec_fwd_req(struct bnxt *);
void bnxt_update_vf_mac(struct bnxt *);
+int bnxt_approve_mac(struct bnxt *, u8 *);
#endif