Sebastian Andrzej Siewior
2022-Mar-03 17:14 UTC
[Bridge] [PATCH net-next 0/9] net: Convert user to netif_rx().
This is the first batch of converting netif_rx_ni() caller to netif_rx(). The change making this possible is net-next and netif_rx_ni() is a wrapper around netif_rx(). This is a clean up in order to remove netif_rx_ni(). Cc: Andrew Lunn <andrew at lunn.ch> Cc: bridge at lists.linux-foundation.org Cc: Chris Zankel <chris at zankel.net> Cc: Florian Fainelli <f.fainelli at gmail.com> Cc: Horatiu Vultur <horatiu.vultur at microchip.com> Cc: Jonathan Corbet <corbet at lwn.net> Cc: Kurt Kanzenbach <kurt at linutronix.de> Cc: linux-doc at vger.kernel.org Cc: linux-xtensa at linux-xtensa.org Cc: ?ukasz Stelmach <l.stelmach at samsung.com> Cc: Max Filippov <jcmvbkbc at gmail.com> Cc: Mike Travis <mike.travis at hpe.com> Cc: Nikolay Aleksandrov <razor at blackwall.org> Cc: Robin Holt <robinmholt at gmail.com> Cc: Roopa Prabhu <roopa at nvidia.com> Cc: Steve Wahl <steve.wahl at hpe.com> Cc: UNGLinuxDriver at microchip.com Cc: Vivien Didelot <vivien.didelot at gmail.com> Cc: Vladimir Oltean <olteanv at gmail.com> Sebastian
Sebastian Andrzej Siewior
2022-Mar-03 17:15 UTC
[Bridge] [PATCH net-next 8/9] net: bridge: Use netif_rx().
Since commit baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") the function netif_rx() can be used in preemptible/thread context as well as in interrupt context. Use netif_rx(). Cc: Roopa Prabhu <roopa at nvidia.com> Cc: Nikolay Aleksandrov <razor at blackwall.org> Cc: bridge at lists.linux-foundation.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de> --- net/bridge/br_arp_nd_proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bridge/br_arp_nd_proxy.c b/net/bridge/br_arp_nd_proxy.c index 3db1def4437b3..e5e48c6e35d78 100644 --- a/net/bridge/br_arp_nd_proxy.c +++ b/net/bridge/br_arp_nd_proxy.c @@ -84,7 +84,7 @@ static void br_arp_send(struct net_bridge *br, struct net_bridge_port *p, skb->ip_summed = CHECKSUM_UNNECESSARY; skb->pkt_type = PACKET_HOST; - netif_rx_ni(skb); + netif_rx(skb); } } @@ -364,7 +364,7 @@ static void br_nd_send(struct net_bridge *br, struct net_bridge_port *p, reply->ip_summed = CHECKSUM_UNNECESSARY; reply->pkt_type = PACKET_HOST; - netif_rx_ni(reply); + netif_rx(reply); } } -- 2.35.1
patchwork-bot+netdevbpf at kernel.org
2022-Mar-04 12:10 UTC
[Bridge] [PATCH net-next 0/9] net: Convert user to netif_rx().
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem at davemloft.net>: On Thu, 3 Mar 2022 18:14:56 +0100 you wrote:> This is the first batch of converting netif_rx_ni() caller to > netif_rx(). The change making this possible is net-next and > netif_rx_ni() is a wrapper around netif_rx(). This is a clean up in > order to remove netif_rx_ni(). > > Cc: Andrew Lunn <andrew at lunn.ch> > Cc: bridge at lists.linux-foundation.org > Cc: Chris Zankel <chris at zankel.net> > Cc: Florian Fainelli <f.fainelli at gmail.com> > Cc: Horatiu Vultur <horatiu.vultur at microchip.com> > Cc: Jonathan Corbet <corbet at lwn.net> > Cc: Kurt Kanzenbach <kurt at linutronix.de> > Cc: linux-doc at vger.kernel.org > Cc: linux-xtensa at linux-xtensa.org > Cc: ?ukasz Stelmach <l.stelmach at samsung.com> > Cc: Max Filippov <jcmvbkbc at gmail.com> > Cc: Mike Travis <mike.travis at hpe.com> > Cc: Nikolay Aleksandrov <razor at blackwall.org> > Cc: Robin Holt <robinmholt at gmail.com> > Cc: Roopa Prabhu <roopa at nvidia.com> > Cc: Steve Wahl <steve.wahl at hpe.com> > Cc: UNGLinuxDriver at microchip.com > Cc: Vivien Didelot <vivien.didelot at gmail.com> > Cc: Vladimir Oltean <olteanv at gmail.com> > SebastianHere is the summary with links: - [net-next,1/9] docs: networking: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/21f95a88eab4 - [net-next,2/9] net: xtensa: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/aa4e5761bff5 - [net-next,3/9] net: sgi-xp: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/4343b866aa94 - [net-next,4/9] net: caif: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/3fb4430e73bf - [net-next,5/9] net: dsa: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/db00cc9da079 - [net-next,6/9] net: ethernet: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/90f77c1c512f - [net-next,7/9] net: macvlan: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/566214f44697 - [net-next,8/9] net: bridge: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/2e83bdd5d6cf - [net-next,9/9] net: dev: Use netif_rx(). https://git.kernel.org/netdev/net-next/c/ad0a043fc26c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html