cxgb4: Disable SR-IOV support for PF4-7 for T5
authorSantosh Rastapur <santosh@chelsio.com>
Thu, 14 Mar 2013 05:08:56 +0000 (05:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Mar 2013 15:35:56 +0000 (11:35 -0400)
commit7d6727cfe5815816466b94db5180b8d3ef08fbb0
treefb72cf07dd7083bbd5c79553a923bb49e44d96a9
parent3a7f85540d171963691b1f6322cef835515e4698
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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c