projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f63959c
)
net: dsa: tag_mtk: assign per-port queues
author
Felix Fietkau
<nbd@nbd.name>
Wed, 16 Nov 2022 08:07:33 +0000
(09:07 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Sat, 19 Nov 2022 03:46:06 +0000
(19:46 -0800)
Keeps traffic sent to the switch within link speed limits
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link:
https://lore.kernel.org/r/20221116080734.44013-6-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_mtk.c
patch
|
blob
|
history
diff --git
a/net/dsa/tag_mtk.c
b/net/dsa/tag_mtk.c
index ba37495ab5f4e7cb557d9abf95b14455c73b3e73..8948c4f99f8ebcb99104a8a77f0788b50c2ed7f0 100644
(file)
--- a/
net/dsa/tag_mtk.c
+++ b/
net/dsa/tag_mtk.c
@@
-27,6
+27,8
@@
static struct sk_buff *mtk_tag_xmit(struct sk_buff *skb,
u8 xmit_tpid;
u8 *mtk_tag;
+ skb_set_queue_mapping(skb, dp->index);
+
/* Build the special tag after the MAC Source Address. If VLAN header
* is present, it's required that VLAN header and special tag is
* being combined. Only in this way we can allow the switch can parse