Re: [RFC net-next v3 7/7] net: devmem: allow binding on rx queues with same MA devices
From: Jakub Kicinski
Date: Fri Aug 15 2025 - 13:25:33 EST
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?