]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Fix VF attributes reporting.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 22 Apr 2017 00:11:23 +0000 (20:11 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 17:54:46 +0000 (13:54 -0400)
commit64ad6ef9690ede54843e51c6b80bffcc98137a74
treec6ac75d01fbc05db26682fb5d7d59140dabbccab
parentbb97f6aebdead64ead683394499a5c3d25157026
bnxt_en: Fix VF attributes reporting.

The .ndo_get_vf_config() is returning the wrong qos attribute.  Fix
the code that checks and reports the qos and spoofchk attributes.  The
BNXT_VF_QOS and BNXT_VF_LINK_UP flags should not be set by default
during init. time.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c