net: Fix net_devmem_bind_dmabuf for non-devmem configs
Subsystems (2)
PATCH 1/1 net: Fix net_devmem_bind_dmabuf for non-devmem configs
Fix the signature of the net_devmem_bind_dmabuf API for CONFIG_NET_DEVMEM=n.
--- net/core/devmem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
net/core/devmem.h +2 -1
@@ -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) {
Signature · 1 line
2.49.0.1238.gf8c92423fb-goog
Quoted 6 lines · Pranjal Shrivastava
Fix the signature of the
net_devmem_bind_dmabufAPI forCONFIG_NET_DEVMEM=n.Fixes bd61848900bf ("net: devmem: Implement TX path")Signed-off-by Pranjal Shrivastava <[email protected]>
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.
Signature · 2 lines
Thanks, Mina
Jakub Kicinski
maintainerQuoted 5 lines · 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.
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 28 May 2025 21:10:58 +0000 you wrote:
Fix the signature of the
net_devmem_bind_dmabufAPI forCONFIG_NET_DEVMEM=n.Fixes bd61848900bf ("net: devmem: Implement TX path")Signed-off-by Pranjal Shrivastava <[email protected]>--- 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html