Commit 71a963cf authored by Dmitry Bogdanov's avatar Dmitry Bogdanov Committed by David S. Miller

net: aquantia: increase max number of hw queues

Increase the upper limit of the hw queues up to 8.
This makes RSS better on multiheaded cpus.

This is a maximum AQC hardware supports in one traffic class.

The actual value is still limited by a number of available cpu cores.
Signed-off-by: default avatarDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Signed-off-by: default avatarIgor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 474fb115
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#ifndef AQ_CFG_H #ifndef AQ_CFG_H
#define AQ_CFG_H #define AQ_CFG_H
#define AQ_CFG_VECS_DEF 4U #define AQ_CFG_VECS_DEF 8U
#define AQ_CFG_TCS_DEF 1U #define AQ_CFG_TCS_DEF 1U
#define AQ_CFG_TXDS_DEF 4096U #define AQ_CFG_TXDS_DEF 4096U
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#define DEFAULT_B0_BOARD_BASIC_CAPABILITIES \ #define DEFAULT_B0_BOARD_BASIC_CAPABILITIES \
.is_64_dma = true, \ .is_64_dma = true, \
.msix_irqs = 4U, \ .msix_irqs = 8U, \
.irq_mask = ~0U, \ .irq_mask = ~0U, \
.vecs = HW_ATL_B0_RSS_MAX, \ .vecs = HW_ATL_B0_RSS_MAX, \
.tcs = HW_ATL_B0_TC_MAX, \ .tcs = HW_ATL_B0_TC_MAX, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment