mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
net: mvpp2: make multi queue mode the default mode
The multi queue mode is needed to have RSS available, and offers some nice advantages, being able to have one rx queue vector per CPU. This mode has been usable through the use of a module parameter, this commit makes it the default value. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1e27a628e3
commit
3f6aaf7289
@ -66,7 +66,7 @@ static void mvpp2_mac_config(struct net_device *dev, unsigned int mode,
|
||||
#define MVPP2_QDIST_SINGLE_MODE 0
|
||||
#define MVPP2_QDIST_MULTI_MODE 1
|
||||
|
||||
static int queue_mode = MVPP2_QDIST_SINGLE_MODE;
|
||||
static int queue_mode = MVPP2_QDIST_MULTI_MODE;
|
||||
|
||||
module_param(queue_mode, int, 0444);
|
||||
MODULE_PARM_DESC(queue_mode, "Set queue_mode (single=0, multi=1)");
|
||||
|
Loading…
Reference in New Issue
Block a user