diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-09-24 11:11:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-24 10:01:10 -0700 |
commit | 4251ea5b8e54ab05eabeef8ff2ecd030a10120ad (patch) | |
tree | 6c6c91d334f0a88ca575cdc79e5ba61fadc6e7f9 /drivers/net/ethernet/marvell/mvpp2/mvpp2.h | |
parent | 0d283ab5b4fdbcd6bde4505863010b6008b6f048 (diff) | |
download | lwn-4251ea5b8e54ab05eabeef8ff2ecd030a10120ad.tar.gz lwn-4251ea5b8e54ab05eabeef8ff2ecd030a10120ad.zip |
net: mvpp2: use round-robin scheduling for TX queues on the same CPU
This commit allows each TXQ to be picked in a round-robin fashion by
the PPv2 transmit scheduling mechanism. This is opposed to the default
behaviour that prioritizes the highest numbered queues.
Suggested-by: Yan Markman <ymarkman@marvell.com>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2.h')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h index f5dceef60b0e..176c6b56fdcc 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h @@ -331,6 +331,7 @@ #define MVPP2_TXP_SCHED_ENQ_MASK 0xff #define MVPP2_TXP_SCHED_DISQ_OFFSET 8 #define MVPP2_TXP_SCHED_CMD_1_REG 0x8010 +#define MVPP2_TXP_SCHED_FIXED_PRIO_REG 0x8014 #define MVPP2_TXP_SCHED_PERIOD_REG 0x8018 #define MVPP2_TXP_SCHED_MTU_REG 0x801c #define MVPP2_TXP_MTU_MAX 0x7FFFF |