* [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs
@ 2025-05-28 21:10 Pranjal Shrivastava
2025-05-28 21:53 ` Mina Almasry
2025-05-31 2:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 4+ messages in thread
From: Pranjal Shrivastava @ 2025-05-28 21:10 UTC (permalink / raw)
To: netdev
Cc: David S . Miller, Eric Dumazet, Jakub Kicinski, Simon Horman,
Willem de Bruijn, Mina Almasry, Kaiyuan Zhang,
Pranjal Shrivastava
Fix the signature of the net_devmem_bind_dmabuf API for
CONFIG_NET_DEVMEM=n.
Fixes: bd61848900bf ("net: devmem: Implement TX path")
Signed-off-by: Pranjal Shrivastava <praan@google.com>
---
net/core/devmem.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/core/devmem.h b/net/core/devmem.h
index e7ba77050b8f..0a3b28ba5c13 100644
--- a/net/core/devmem.h
+++ b/net/core/devmem.h
@@ -170,8 +170,9 @@ static inline void __net_devmem_dmabuf_binding_free(struct work_struct *wq)
}
static inline struct net_devmem_dmabuf_binding *
-net_devmem_bind_dmabuf(struct net_device *dev, unsigned int dmabuf_fd,
+net_devmem_bind_dmabuf(struct net_device *dev,
enum dma_data_direction direction,
+ unsigned int dmabuf_fd,
struct netdev_nl_sock *priv,
struct netlink_ext_ack *extack)
{
--
2.49.0.1238.gf8c92423fb-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs
2025-05-28 21:10 [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs Pranjal Shrivastava
@ 2025-05-28 21:53 ` Mina Almasry
2025-05-29 0:39 ` Jakub Kicinski
2025-05-31 2:40 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 4+ messages in thread
From: Mina Almasry @ 2025-05-28 21:53 UTC (permalink / raw)
To: Pranjal Shrivastava
Cc: netdev, David S . Miller, Eric Dumazet, Jakub Kicinski,
Simon Horman, Willem de Bruijn, Kaiyuan Zhang
On Wed, May 28, 2025 at 2:11 PM Pranjal Shrivastava <praan@google.com> wrote:
>
> Fix the signature of the net_devmem_bind_dmabuf API for
> CONFIG_NET_DEVMEM=n.
>
> Fixes: bd61848900bf ("net: devmem: Implement TX path")
> Signed-off-by: Pranjal Shrivastava <praan@google.com>
Patch itself looks good to me, but currently net-next is closed.
I've looked at the maintainer docs:
https://www.kernel.org/doc/Documentation/process/maintainer-netdev.rst
I'm unsure whether this needs to be resent to net now or wait for the
merge window to reopen. I think net is for fixes to code in mainline
linux, but the devmem TX path has not made it there yet (and is not
even in the net tree yet). My guess is that this patch should be
reposted to net-next once net-next reopens.
--
Thanks,
Mina
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs
2025-05-28 21:53 ` Mina Almasry
@ 2025-05-29 0:39 ` Jakub Kicinski
0 siblings, 0 replies; 4+ messages in thread
From: Jakub Kicinski @ 2025-05-29 0:39 UTC (permalink / raw)
To: Mina Almasry
Cc: Pranjal Shrivastava, netdev, David S . Miller, Eric Dumazet,
Simon Horman, Willem de Bruijn, Kaiyuan Zhang
On Wed, 28 May 2025 14:53:35 -0700 Mina Almasry wrote:
> I'm unsure whether this needs to be resent to net now or wait for the
> merge window to reopen. I think net is for fixes to code in mainline
> linux, but the devmem TX path has not made it there yet (and is not
> even in the net tree yet). My guess is that this patch should be
> reposted to net-next once net-next reopens.
net-next "becomes" net during the merge window.
There's a period of tree-uncertainty while our PR is out,
and afterwards all fixes should target net.
No need to repost, we'll take this fix in tomorrow.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs
2025-05-28 21:10 [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs Pranjal Shrivastava
2025-05-28 21:53 ` Mina Almasry
@ 2025-05-31 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-05-31 2:40 UTC (permalink / raw)
To: Pranjal Shrivastava
Cc: netdev, davem, edumazet, kuba, horms, willemb, almasrymina,
kaiyuanz
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 28 May 2025 21:10:58 +0000 you wrote:
> Fix the signature of the net_devmem_bind_dmabuf API for
> CONFIG_NET_DEVMEM=n.
>
> Fixes: bd61848900bf ("net: devmem: Implement TX path")
> Signed-off-by: Pranjal Shrivastava <praan@google.com>
> ---
> net/core/devmem.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Here is the summary with links:
- [net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs
https://git.kernel.org/netdev/net/c/c1f4cb8a8d48
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:[~2025-05-31 2:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-28 21:10 [PATCH net-next] net: Fix net_devmem_bind_dmabuf for non-devmem configs Pranjal Shrivastava
2025-05-28 21:53 ` Mina Almasry
2025-05-29 0:39 ` Jakub Kicinski
2025-05-31 2:40 ` 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).