]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Forward VF MAC address to the PF.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Wed, 17 Jan 2018 08:21:14 +0000 (03:21 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Fri, 9 Mar 2018 05:09:03 +0000 (21:09 -0800)
commitf6262cd83ec8a57662bfc1a73f95c110af036fc9
tree7392c5305f43ae4e49ff0b1b68aa192991d501c5
parent004ed0a978edc66ebc1876b716969a758d77a6a8
bnxt_en: Forward VF MAC address to the PF.

Orabug: 2764835527648339

Forward hwrm_func_vf_cfg command from VF to PF driver, to store
VF MAC address in PF's context.  This will allow "ip link show"
to display all VF MAC addresses.

Maintain 2 locations of MAC address in VF info structure, one for
a PF assigned MAC and one for VF assigned MAC.

Display VF assigned MAC in "ip link show", only if PF assigned MAC is
not valid.

Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 91cdda40714178497cbd182261b2ea6ec5cb9276)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c