diff options
author | Santosh Rastapur | 2013-03-14 06:08:56 +0100 |
---|---|---|
committer | David S. Miller | 2013-03-14 16:35:56 +0100 |
commit | 7d6727cfe5815816466b94db5180b8d3ef08fbb0 (patch) | |
tree | fb72cf07dd7083bbd5c79553a923bb49e44d96a9 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | cxgb4: Update driver version and description (diff) | |
download | kernel-qcow2-linux-7d6727cfe5815816466b94db5180b8d3ef08fbb0.tar.gz kernel-qcow2-linux-7d6727cfe5815816466b94db5180b8d3ef08fbb0.tar.xz kernel-qcow2-linux-7d6727cfe5815816466b94db5180b8d3ef08fbb0.zip |
cxgb4: Disable SR-IOV support for PF4-7 for T5
All T5 adapters will only support VFs on PF0-3 despite the ability of the
hardware to support them on PF4-7. This keeps our T4 and T5 adapters more
similar which simplifies host driver software.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 45b18bdbeab9..681804b30a3f 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -534,11 +534,11 @@ enum chip_type { #ifdef CONFIG_PCI_IOV -/* T4 - 4 PFs support SRIOV - * T5 - 8 PFs support SRIOV +/* T4 supports SRIOV on PF0-3 and T5 on PF0-7. However, the Serial + * Configuration initialization for T5 only has SR-IOV functionality enabled + * on PF0-3 in order to simplify everything. */ -#define NUM_OF_PF_WITH_SRIOV_T4 4 -#define NUM_OF_PF_WITH_SRIOV_T5 8 +#define NUM_OF_PF_WITH_SRIOV 4 #endif |