diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-07-12 13:54:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-12 17:30:48 -0700 |
commit | f8c6ba8424b0fa5e001c23a30099351170f5be0d (patch) | |
tree | be893f304012ee1a04bb85e5cb1018b371b45acc /drivers | |
parent | 790d32c6d35de186154d94d6df2f0c4be33c7c52 (diff) | |
download | linux-f8c6ba8424b0fa5e001c23a30099351170f5be0d.tar.bz2 |
net: mvpp2: use only one rx queue per port per CPU
The number of receive queue per port is :
- MVPP2_DEFAULT_RXQ if in single queue mode
- MVPP2_DEFAULT_RXQ * num_possible_cpus if in multi queue mode
with MVPP2_DEFAULT_RXQ = 4.
However, we don't use the extra rx queues at the moment, we really only
need one per port per CPU, until some more advanced classification rules
are implemented.
Suggested-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h index 5ef5b99a1935..dee5231b0073 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h @@ -500,7 +500,7 @@ #define MVPP2_MAX_SKB_DESCS (MVPP2_MAX_TSO_SEGS * 2 + MAX_SKB_FRAGS) /* Dfault number of RXQs in use */ -#define MVPP2_DEFAULT_RXQ 4 +#define MVPP2_DEFAULT_RXQ 1 /* Max number of Rx descriptors */ #define MVPP2_MAX_RXD_MAX 1024 |