summaryrefslogtreecommitdiff
path: root/io_uring/opdef.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-11-16 09:07:32 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-18 19:46:06 -0800
commitf63959c7eec3151c30a2ee0d351827b62e742dcb (patch)
tree7c7ee97e102c331d4a641d9e437d7b6a9d48daa7 /io_uring/opdef.h
parent71ba8e4891c799f9f79ea219f155ac795750af41 (diff)
net: ethernet: mtk_eth_soc: implement multi-queue support for per-port queues
When sending traffic to multiple ports with different link speeds, queued packets to one port can drown out tx to other ports. In order to better handle transmission to multiple ports, use the hardware shaper feature to implement weighted fair queueing between ports. Weight and maximum rate are automatically adjusted based on the link speed of the port. The first 3 queues are unrestricted and reserved for non-DSA direct tx on GMAC ports. The following queues are automatically assigned by the MTK DSA tag driver based on the target port number. The PPE offload code configures the queues for offloaded traffic in the same way. This feature is only supported on devices supporting QDMA. All queues still share the same DMA ring and descriptor pool. Signed-off-by: Felix Fietkau <nbd@nbd.name> Link: https://lore.kernel.org/r/20221116080734.44013-5-nbd@nbd.name Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'io_uring/opdef.h')
0 files changed, 0 insertions, 0 deletions