bnxt_en: Enable NPAR (NIC Partitioning) Support.
authorSatish Baddipadige <sbaddipa@broadcom.com>
Mon, 13 Jun 2016 06:25:31 +0000 (02:25 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jun 2016 23:16:13 +0000 (19:16 -0400)
commit567b2abe68551781b725b3b739672da41cb92ef0
treebc74ca997db22117a4779d9f304d1aa3498f5bc1
parentfc0f19294d1ffaf9366b10d966f86e6cf13335a4
bnxt_en: Enable NPAR (NIC Partitioning) Support.

NPAR type is read from bnxt_hwrm_func_qcfg.  Do not allow changing link
parameters if in NPAR mode sinc ethe port is shared among multiple
partitions.  The link parameters are set up by firmware.

Signed-off-by: Satish Baddipadige <sbaddipa@broadcom.com>
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_ethtool.c