OSDN Git Service

bnxt_en: Propagate trusted VF attribute to firmware.
authorMichael Chan <michael.chan@broadcom.com>
Tue, 19 Feb 2019 10:31:14 +0000 (05:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 18:45:14 +0000 (10:45 -0800)
commit2a516444434ffa4419e67c5289d5f53272cb9674
treed28c66c88b581b5fc62a31e4b37a890329cca5f4
parentc6cc32a2133cb1eb5aa28ced1852aab2aeaf357a
bnxt_en: Propagate trusted VF attribute to firmware.

Newer firmware understands the concept of a trusted VF, so propagate the
trusted VF attribute set by the PF admin. to the firmware.  Also, check
the firmware trusted setting when considering the VF MAC address change
and reporting the trusted setting to the user.

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
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c