netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Simplifications for Broadcom and Realtek DSA taggers
@ 2022-05-11 15:14 Vladimir Oltean
  2022-05-11 15:14 ` [PATCH net-next 1/5] net: dsa: tag_rtl4_a: __skb_put_padto() can never fail Vladimir Oltean
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Vladimir Oltean @ 2022-05-11 15:14 UTC (permalink / raw)
  To: netdev
  Cc: Linus Walleij, Andrew Lunn, Vivien Didelot, Florian Fainelli,
	Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni

This series contains the removal of some "if" conditions from the TX hot
path in tag_brcm and tag_rtl4_a. This is made possible by the fact that
the DSA core has previously checked that memory allocations are not
necessary, so there is nothing that can fail.

Vladimir Oltean (5):
  net: dsa: tag_rtl4_a: __skb_put_padto() can never fail
  net: dsa: tag_brcm: do not account for tag length twice when padding
  net: dsa: tag_brcm: __skb_put_padto() can never fail
  net: dsa: tag_brcm: eliminate conditional based on offset from
    brcm_tag_xmit_ll
  net: dsa: tag_brcm: use dsa_etype_header_pos_tx for legacy tag

 net/dsa/tag_brcm.c   | 51 +++++++++++++++++++-------------------------
 net/dsa/tag_rtl4_a.c |  4 +---
 2 files changed, 23 insertions(+), 32 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-13 20:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 15:14 [PATCH net-next 0/5] Simplifications for Broadcom and Realtek DSA taggers Vladimir Oltean
2022-05-11 15:14 ` [PATCH net-next 1/5] net: dsa: tag_rtl4_a: __skb_put_padto() can never fail Vladimir Oltean
2022-05-13 20:35   ` Linus Walleij
2022-05-11 15:14 ` [PATCH net-next 2/5] net: dsa: tag_brcm: do not account for tag length twice when padding Vladimir Oltean
2022-05-11 15:14 ` [PATCH net-next 3/5] net: dsa: tag_brcm: __skb_put_padto() can never fail Vladimir Oltean
2022-05-11 15:14 ` [PATCH net-next 4/5] net: dsa: tag_brcm: eliminate conditional based on offset from brcm_tag_xmit_ll Vladimir Oltean
2022-05-11 15:14 ` [PATCH net-next 5/5] net: dsa: tag_brcm: use dsa_etype_header_pos_tx for legacy tag Vladimir Oltean
2022-05-11 15:22 ` [PATCH net-next 0/5] Simplifications for Broadcom and Realtek DSA taggers Vladimir Oltean
2022-05-11 15:23 ` Florian Fainelli
2022-05-11 15:26   ` Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).