cxgb4/cxgb4vf: Allocate more queues for 25G and 100G adapter
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 20 Sep 2016 06:30:52 +0000 (12:00 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 04:48:09 +0000 (00:48 -0400)
commit9b86a8d19bd6406a10de5f924bf2a003a502d427
tree772ac513edf7b69c314604643a2b95e74a9d9402
parentceb16a90136f42a0079b12d163c824b5825933f7
cxgb4/cxgb4vf: Allocate more queues for 25G and 100G adapter

We were missing check for 25G and 100G while checking port speed,
which lead to less number of queues getting allocated for 25G & 100G
adapters and leading to low throughput. Adding the missing check for
both NIC and vNIC driver.

Also fixes port advertisement for 25G and 100G in ethtool output.

Signed-off-by: Hariprasad Shenai <hariprasad@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
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c