Re: [PATCH] net/virtio: fix descriptors buffer addresses on 32 bits builds

2023-10-12 Thread Maxime Coquelin
On 9/20/23 15:01, Maxime Coquelin wrote: With Virtio-user, the Virtio descriptor buffer address is the virtual address of the mbuf's buffer. On 32 bits builds, it is expected to be 32 bits. With Virtio-PCI, the Virtio descriptor buffer address is the physical address of the mbuf's buffer. On

Re: [PATCH] net/virtio: fix descriptors buffer addresses on 32 bits builds

2023-09-29 Thread Dave Johnson (davejo)
Hi Maxime, I back ported the patch to v22.11.2 and it worked for us on both the testpmd app and with our 32-bit DPDK (virtio-pci) application. The change to set the mbuf_addr_mask was moved under virtio_init_queue() in v22.11.2 (see below). I’m in the process of updating the application to v23.

Re: [PATCH] net/virtio: fix descriptors buffer addresses on 32 bits builds

2023-09-20 Thread David Marchand
On Wed, Sep 20, 2023 at 3:02 PM Maxime Coquelin wrote: > > With Virtio-user, the Virtio descriptor buffer address is the > virtual address of the mbuf's buffer. On 32 bits builds, it is > expected to be 32 bits. > > With Virtio-PCI, the Virtio descriptor buffer address is the > physical address of