Skip to content

net: dsa: Allow switch drivers to indicate number of TX queues

Florian Fainelli netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 1 replyIn review
  2. v2 posting 1/24 patches 2 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- use a proper define for the number of TX queues in bcm_sf2.c (Andrew)

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: Allow switch drivers to indicate number of TX queuesinclude/net/dsa.h net/dsa/slave.c+9 -20 replies
2/4net: dsa: tag_brcm: Set output queue from skb queue mappingnet/dsa/tag_brcm.c+2 -10 replies
3/4net: dsa: bcm_sf2: Advertise number of egress queuesdrivers/net/dsa/bcm_sf2.c drivers/net/dsa/bcm_sf2_regs.h+7 -10 replies
4/4net: dsa: bcm_sf2: Configure IMP port TC2QOS mappingdrivers/net/dsa/bcm_sf2.c+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 RESEND 0/4] net: dsa: Allow switch drivers to indicate number of TX queues

Hi all,

This patch series extracts the parts of the patch set that are likely not to be controversial and actually bringing multi-queue support to DSA-created network devices.

With these patches, we can now use sch_multiq as documented under Documentation/networking/multique.txt and let applications dedice the switch port output queue they want to use. Currently only Broadcom tags utilize that information.

Resending based on David's feedback regarding the patches not in patchwork.

Changes in v2:
- use a proper define for the number of TX queues in bcm_sf2.c (Andrew)

Changes from RFC:

- dropped the ability to configure RX queues since we don't do anything with those just yet
- dropped the patches that dealt with binding the DSA slave network devices queues with their master network devices queues this will be worked on separately.

Florian Fainelli (4):
net: dsa: Allow switch drivers to indicate number of TX queues
net: dsa: tag_brcm: Set output queue from skb queue mapping
net: dsa: bcm_sf2: Advertise number of egress queues
net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping

 drivers/net/dsa/bcm_sf2.c      | 14 +++++++++++++-
 drivers/net/dsa/bcm_sf2_regs.h |  3 +++
 include/net/dsa.h              |  3 +++
 net/dsa/slave.c                |  8 ++++++--
 net/dsa/tag_brcm.c             |  3 ++-
 5 files changed, 27 insertions(+), 4 deletions(-)
Signature · 1 line
2.11.0