Thread (26 messages) 26 messages, 4 authors, 2024-08-30

Re: [PATCH net-next v23 03/13] netdev: support binding dma-buf to netdevice

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-29 21:16:58
Also in: bpf, dri-devel, linux-alpha, linux-arch, linux-doc, linux-kselftest, linux-media, linux-mips, lkml, netdev, sparclinux

On Thu, 29 Aug 2024 06:01:16 +0000 Mina Almasry wrote:
quoted hunk ↗ jump to hunk
@@ -9376,6 +9376,9 @@ int dev_xdp_propagate(struct net_device *dev, struct netdev_bpf *bpf)
 	if (!dev->netdev_ops->ndo_bpf)
 		return -EOPNOTSUPP;
 
+	if (dev_get_min_mp_channel_count(dev))
there's an extack inside *bpf, would be good to add a message
quoted hunk ↗ jump to hunk
+		return -EBUSY;
+
 	return dev->netdev_ops->ndo_bpf(dev, bpf);
 }
 EXPORT_SYMBOL_GPL(dev_xdp_propagate);
@@ -9408,6 +9411,9 @@ static int dev_xdp_install(struct net_device *dev, enum bpf_xdp_mode mode,
 	struct netdev_bpf xdp;
 	int err;
 
+	if (dev_get_min_mp_channel_count(dev))
ditto
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help