Skip to content

net: dsa: Receive path simplifications

Florian Fainelli netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- take care of tag_mtk.c in the process

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: dsa: Do not check for NULL dst in tag parsersnet/dsa/tag_brcm.c net/dsa/tag_dsa.c net/dsa/tag_edsa.c +3 more+0 -170 replies
2/3net: dsa: Move skb_unshare() to dsa_switch_rcv()net/dsa/dsa.c net/dsa/tag_brcm.c net/dsa/tag_dsa.c +4 more+4 -300 replies
3/3net: dsa: Factor bottom tag receive functionsinclude/net/dsa.h net/dsa/dsa.c net/dsa/dsa_priv.h +6 more+53 -840 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 0/3] net: dsa: Receive path simplifications

Hi all,

This patch series does factor the common code found in all tag implementations into dsa_switch_rcv(). The original motivation was to add GRO support, but this may be a lot of work with unclear benefits at this point.

Changes in v2:
- take care of tag_mtk.c in the process

Florian Fainelli (3):
net: dsa: Do not check for NULL dst in tag parsers
net: dsa: Move skb_unshare() to dsa_switch_rcv()
net: dsa: Factor bottom tag receive functions

 include/net/dsa.h     |  2 +-
 net/dsa/dsa.c         | 24 +++++++++++++++++++++++-
 net/dsa/dsa_priv.h    |  5 +++--
 net/dsa/tag_brcm.c    | 26 +++++---------------------
 net/dsa/tag_dsa.c     | 26 +++++---------------------
 net/dsa/tag_edsa.c    | 26 +++++---------------------
 net/dsa/tag_mtk.c     | 28 +++++-----------------------
 net/dsa/tag_qca.c     | 26 +++++---------------------
 net/dsa/tag_trailer.c | 25 +++++--------------------
 9 files changed, 57 insertions(+), 131 deletions(-)
Signature · 1 line
2.9.3