]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: don't report EVB for older chipsets when SR-IOV is disabled
authorIvan Vecera <ivecera@redhat.com>
Thu, 11 Feb 2016 11:42:26 +0000 (12:42 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:16:59 +0000 (07:16 -0800)
commitd1359bffd230bbd921495af7a49ca837a615b13a
tree2e37a72cfe2beb3da88a06c45ccee4c660674879
parent6fb4cd0e52dad640dd1e2e45bf7a6650312b95ed
be2net: don't report EVB for older chipsets when SR-IOV is disabled

The EVB (virtual bridge) functionality should be disabled on older BE3
and Lancer chips if SR-IOV is disabled in the NIC's BIOS. This setting
is identified by the zero value of total VFs reported by the card.
The GET_HSW_CONFIG command cannot be used as it is not supported by
these older chipset's FW.

v2: added the comment

Cc: Sathya Perla <sathya.perla@broadcom.com>
Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>
Cc: Padmanabh Ratnakar <padmanabh.ratnakar@broadcom.com>
Cc: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Cc: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Orabug : 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/emulex/benet/be_main.c