mbox series

[net-next,0/2] net: mvneta: Implement basic MQPrio support

Message ID 20210212151220.84106-1-maxime.chevallier@bootlin.com (mailing list archive)
Headers show
Series net: mvneta: Implement basic MQPrio support | expand

Message

Maxime Chevallier Feb. 12, 2021, 3:12 p.m. UTC
Hi everyone,

This small series adds basic support for mqprio offloading, by having
the rx queueing mirroring the TCs based on VLAN prio fields.

This was tested on Armada 3700, and proves useful to make sure
high-priority traffic has a better chance not getting dropped when
there's lots of packets incoming.

The first patch of the series deals with the per-cpu interrupts on the
armada 3700. Since they don't work, there were already some patches
applied to keep all queue mappings to CPU0, but there still were some
remaining mappings left to be dealt with.

The second patch implements the MQPrio offloading for the receive path.

Thanks !

Maxime



Maxime Chevallier (2):
  net: mvneta: Remove per-cpu queue mapping for Armada 3700
  net: mvneta: Implement mqprio support

 drivers/net/ethernet/marvell/mvneta.c | 74 ++++++++++++++++++++++++++-
 1 file changed, 73 insertions(+), 1 deletion(-)