]> 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)
commita9c85da23680a0a16f1184f03e7ecbaae5addad0
tree772ac513edf7b69c314604643a2b95e74a9d9402
parent2f1c390b5d675711df35b5ab3734bd852359369d
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