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)
commitf0249056eaf2b9a17b2b76a6e099e9b7877e187d
treec6ac75d01fbc05db26682fb5d7d59140dabbccab
parenta82fba8dbfb522bd19b1644bf599135680fd0122
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