]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: aquantia: increase max number of hw queues
authorDmitry Bogdanov <dmitry.bogdanov@aquantia.com>
Fri, 7 Dec 2018 14:00:15 +0000 (14:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:49:09 +0000 (12:49 -0800)
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>
drivers/net/ethernet/aquantia/atlantic/aq_cfg.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c

index 90a0e1d0d62219c00b807cddd0d276f532556eab..3944ce7f087084b458dea5b6f9de3c213393d831 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef 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_TXDS_DEF    4096U
index 6af7d7f0cdcaea9e34405b84b8c0e59eda2cd73c..08596a7a6486aa796b07f92c57c184306a9fadaf 100644 (file)
@@ -21,7 +21,7 @@
 
 #define DEFAULT_B0_BOARD_BASIC_CAPABILITIES \
        .is_64_dma = true,                \
-       .msix_irqs = 4U,                  \
+       .msix_irqs = 8U,                  \
        .irq_mask = ~0U,                  \
        .vecs = HW_ATL_B0_RSS_MAX,        \
        .tcs = HW_ATL_B0_TC_MAX,          \