diff options
author | Santosh Rastapur <santosh@chelsio.com> | 2013-03-14 01:08:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-14 11:35:56 -0400 |
commit | 7d6727cfe5815816466b94db5180b8d3ef08fbb0 (patch) | |
tree | fb72cf07dd7083bbd5c79553a923bb49e44d96a9 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | 3a7f85540d171963691b1f6322cef835515e4698 (diff) |
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 { | |||
534 | 534 | ||
535 | #ifdef CONFIG_PCI_IOV | 535 | #ifdef CONFIG_PCI_IOV |
536 | 536 | ||
537 | /* T4 - 4 PFs support SRIOV | 537 | /* T4 supports SRIOV on PF0-3 and T5 on PF0-7. However, the Serial |
538 | * T5 - 8 PFs support SRIOV | 538 | * Configuration initialization for T5 only has SR-IOV functionality enabled |
539 | * on PF0-3 in order to simplify everything. | ||
539 | */ | 540 | */ |
540 | #define NUM_OF_PF_WITH_SRIOV_T4 4 | 541 | #define NUM_OF_PF_WITH_SRIOV 4 |
541 | #define NUM_OF_PF_WITH_SRIOV_T5 8 | ||
542 | 542 | ||
543 | #endif | 543 | #endif |
544 | 544 | ||