Thread (27 messages) 27 messages, 6 authors, 2025-10-02

Re: [RFC net-next v3 7/7] net: devmem: allow binding on rx queues with same MA devices

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-15 17:24:34
Also in: lkml

On Fri, 15 Aug 2025 14:03:48 +0300 Dragos Tatulea wrote:
+		rxq_dma_dev = netdev_queue_get_dma_dev(netdev, rxq_idx);
+		/* Multi-PF netdev queues can belong to different DMA devoces.
+		 * Block this case.
+		 */
+		if (rxq_dma_dev && dma_dev && rxq_dma_dev != dma_dev) {
Why rxq_dma_dev ? 🤔️
Don't we want to error out if the first queue gave us a DMA dev but the
second gave us a NULL ?
+			NL_SET_ERR_MSG(extack, "Can't bind to queues from different dma devices");
_FMT the conflicting queue IDs into this?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help