* [PATCH net-next 00/10] net: Convert user to netif_rx(), part 3.
@ 2022-03-06 21:57 Sebastian Andrzej Siewior
2022-03-06 21:57 ` [PATCH net-next 06/10] bluetooth: Use netif_rx() Sebastian Andrzej Siewior
2022-03-07 12:00 ` [PATCH net-next 00/10] " patchwork-bot+netdevbpf
0 siblings, 2 replies; 4+ messages in thread
From: Sebastian Andrzej Siewior @ 2022-03-06 21:57 UTC (permalink / raw)
To: netdev
Cc: David S. Miller, Jakub Kicinski, Thomas Gleixner,
Alexander Gordeev, Alexandra Winter, Andrew Lunn,
Antonio Quartulli, b.a.t.m.a.n, Christian Borntraeger,
Divya Koppera, Greg Kroah-Hartman, Heiko Carstens,
Heiner Kallweit, Johan Hedberg, Jon Maloy, linux-bluetooth,
linux-s390, linux-staging, Luiz Augusto von Dentz,
Marcel Holtmann, Marek Lindner, Remi Denis-Courmont, Russell King,
Simon Wunderlich, Sven Eckelmann, Sven Schnelle, tipc-discussion,
Vasily Gorbik, Wenjia Zhang, Ying Xue
This is the third and last 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().
The micrel phy driver is patched twice within this series: the first is
is to replace netif_rx_ni() and second to move netif_rx() outside of the
IRQ-off section. It is probably simpler to keep it within this series.
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Alexandra Winter <wintera@linux.ibm.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Antonio Quartulli <a@unstable.cc>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Divya Koppera <Divya.Koppera@microchip.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Jon Maloy <jmaloy@redhat.com>
Cc: linux-bluetooth@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-staging@lists.linux.dev
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Marek Lindner <mareklindner@neomailbox.ch>
Cc: Remi Denis-Courmont <courmisch@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Simon Wunderlich <sw@simonwunderlich.de>
Cc: Sven Eckelmann <sven@narfation.org>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: tipc-discussion@lists.sourceforge.net
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Wenjia Zhang <wenjia@linux.ibm.com>
Cc: Ying Xue <ying.xue@windriver.com>
Sebastian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next 06/10] bluetooth: Use netif_rx().
2022-03-06 21:57 [PATCH net-next 00/10] net: Convert user to netif_rx(), part 3 Sebastian Andrzej Siewior
@ 2022-03-06 21:57 ` Sebastian Andrzej Siewior
2022-03-06 23:00 ` net: Convert user to netif_rx(), part 3 bluez.test.bot
2022-03-07 12:00 ` [PATCH net-next 00/10] " patchwork-bot+netdevbpf
1 sibling, 1 reply; 4+ messages in thread
From: Sebastian Andrzej Siewior @ 2022-03-06 21:57 UTC (permalink / raw)
To: netdev
Cc: David S. Miller, Jakub Kicinski, Thomas Gleixner,
Sebastian Andrzej Siewior, Marcel Holtmann, Johan Hedberg,
Luiz Augusto von Dentz, linux-bluetooth
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: Marcel Holtmann <marcel@holtmann.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
net/bluetooth/6lowpan.c | 2 +-
net/bluetooth/bnep/core.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index 8e8c075411530..215af9b3b5895 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -240,7 +240,7 @@ static int give_skb_to_upper(struct sk_buff *skb, struct net_device *dev)
if (!skb_cp)
return NET_RX_DROP;
- return netif_rx_ni(skb_cp);
+ return netif_rx(skb_cp);
}
static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev,
diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
index 40baa6b7321ae..5a6a49885ab66 100644
--- a/net/bluetooth/bnep/core.c
+++ b/net/bluetooth/bnep/core.c
@@ -400,7 +400,7 @@ static int bnep_rx_frame(struct bnep_session *s, struct sk_buff *skb)
dev->stats.rx_packets++;
nskb->ip_summed = CHECKSUM_NONE;
nskb->protocol = eth_type_trans(nskb, dev);
- netif_rx_ni(nskb);
+ netif_rx(nskb);
return 0;
badframe:
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: net: Convert user to netif_rx(), part 3.
2022-03-06 21:57 ` [PATCH net-next 06/10] bluetooth: Use netif_rx() Sebastian Andrzej Siewior
@ 2022-03-06 23:00 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2022-03-06 23:00 UTC (permalink / raw)
To: linux-bluetooth, bigeasy
[-- Attachment #1: Type: text/plain, Size: 2440 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=620752
---Test result---
Test Summary:
CheckPatch FAIL 1.03 seconds
GitLint FAIL 0.45 seconds
SubjectPrefix FAIL 0.32 seconds
BuildKernel PASS 33.53 seconds
BuildKernel32 PASS 29.85 seconds
Incremental Build with patchesPASS 39.86 seconds
TestRunner: Setup PASS 525.29 seconds
TestRunner: l2cap-tester PASS 16.50 seconds
TestRunner: bnep-tester PASS 6.45 seconds
TestRunner: mgmt-tester PASS 107.98 seconds
TestRunner: rfcomm-tester PASS 8.33 seconds
TestRunner: sco-tester PASS 8.05 seconds
TestRunner: smp-tester PASS 8.16 seconds
TestRunner: userchan-tester PASS 6.73 seconds
Details
##############################
Test: CheckPatch - FAIL - 1.03 seconds
Run checkpatch.pl script with rule in .checkpatch.conf
[net-next,06/10] bluetooth: Use netif_rx().\WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#68:
baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.")
total: 0 errors, 1 warnings, 0 checks, 16 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
/github/workspace/src/12770937.patch has style problems, please review.
NOTE: Ignored message types: UNKNOWN_COMMIT_ID
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
##############################
Test: GitLint - FAIL - 0.45 seconds
Run gitlint with rule in .gitlint
[net-next,06/10] bluetooth: Use netif_rx().
1: T3 Title has trailing punctuation (.): "[net-next,06/10] bluetooth: Use netif_rx()."
4: B1 Line exceeds max length (83>80): " baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.")"
##############################
Test: SubjectPrefix - FAIL - 0.32 seconds
Check subject contains "Bluetooth" prefix
"Bluetooth: " is not specified in the subject
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 00/10] net: Convert user to netif_rx(), part 3.
2022-03-06 21:57 [PATCH net-next 00/10] net: Convert user to netif_rx(), part 3 Sebastian Andrzej Siewior
2022-03-06 21:57 ` [PATCH net-next 06/10] bluetooth: Use netif_rx() Sebastian Andrzej Siewior
@ 2022-03-07 12:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-03-07 12:00 UTC (permalink / raw)
To: Sebastian Andrzej Siewior
Cc: netdev, davem, kuba, tglx, agordeev, wintera, andrew, a,
b.a.t.m.a.n, borntraeger, Divya.Koppera, gregkh, hca, hkallweit1,
johan.hedberg, jmaloy, linux-bluetooth, linux-s390, linux-staging,
luiz.dentz, marcel, mareklindner, courmisch, linux, sw, sven,
svens, tipc-discussion, gor, wenjia, ying.xue
Hello:
This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Sun, 6 Mar 2022 22:57:43 +0100 you wrote:
> This is the third and last 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().
>
> The micrel phy driver is patched twice within this series: the first is
> is to replace netif_rx_ni() and second to move netif_rx() outside of the
> IRQ-off section. It is probably simpler to keep it within this series.
>
> [...]
Here is the summary with links:
- [net-next,01/10] s390: net: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/a70d20704ad5
- [net-next,02/10] staging: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/4bcc4249b4cf
- [net-next,03/10] tun: vxlan: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/3d391f6518fd
- [net-next,04/10] tipc: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/a0f0db8292e6
- [net-next,05/10] batman-adv: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/94da81e2fc42
- [net-next,06/10] bluetooth: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/d33d0dc9275d
- [net-next,07/10] phonet: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/63d57cd67454
- [net-next,08/10] net: phy: micrel: Use netif_rx().
https://git.kernel.org/netdev/net-next/c/e1f9e434617f
- [net-next,09/10] net: Remove netif_rx_any_context() and netif_rx_ni().
https://git.kernel.org/netdev/net-next/c/2655926aea9b
- [net-next,10/10] net: phy: micrel: Move netif_rx() outside of IRQ-off section.
https://git.kernel.org/netdev/net-next/c/67dbd6c0a2c4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-07 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-06 21:57 [PATCH net-next 00/10] net: Convert user to netif_rx(), part 3 Sebastian Andrzej Siewior
2022-03-06 21:57 ` [PATCH net-next 06/10] bluetooth: Use netif_rx() Sebastian Andrzej Siewior
2022-03-06 23:00 ` net: Convert user to netif_rx(), part 3 bluez.test.bot
2022-03-07 12:00 ` [PATCH net-next 00/10] " patchwork-bot+netdevbpf
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).