]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b8f7e8d721f51322fd96cfa4e72ddc9bb17d437
tree772ac513edf7b69c314604643a2b95e74a9d9402
parentf0a7e20277c1c90122fa9e53fb7175e7b991230b
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