Skip to content

Commit 71a963c

Browse files
logostdavem330
authored andcommitted
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: Dmitry Bogdanov <dmitry.bogdanov@aquantia.com> Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 474fb11 commit 71a963c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#ifndef AQ_CFG_H
1313
#define AQ_CFG_H
1414

15-
#define AQ_CFG_VECS_DEF 4U
15+
#define AQ_CFG_VECS_DEF 8U
1616
#define AQ_CFG_TCS_DEF 1U
1717

1818
#define AQ_CFG_TXDS_DEF 4096U

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#define DEFAULT_B0_BOARD_BASIC_CAPABILITIES \
2323
.is_64_dma = true, \
24-
.msix_irqs = 4U, \
24+
.msix_irqs = 8U, \
2525
.irq_mask = ~0U, \
2626
.vecs = HW_ATL_B0_RSS_MAX, \
2727
.tcs = HW_ATL_B0_TC_MAX, \

0 commit comments

Comments
 (0)