]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 11 Jul 2017 00:04:09 +0000 (17:04 -0700)
commitfe865fddfd063103c99b222e144930d39bdbd797
tree7d79a78c7de1d98124ea03dc86ba88386a8ae398
parent7dd4d9aade99d17e89e3e8f3202db56449d4450b
bnxt_en: Fix VF attributes reporting.

Orabug: 264025332632559926366387

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>
(cherry picked from commit f0249056eaf2b9a17b2b76a6e099e9b7877e187d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c