[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220511151431.780120-1-vladimir.oltean@nxp.com>
Date: Wed, 11 May 2022 18:14:26 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: Linus Walleij <linus.walleij@...aro.org>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Subject: [PATCH net-next 0/5] Simplifications for Broadcom and Realtek DSA taggers
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
Powered by blists - more mailing lists