RE: [PATCH v1 08/21] net/virtio: move vring memzone to virtqueue struct

2023-01-29 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, November 30, 2022 11:56 PM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com; epere...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v1 08/21] net/virtio: move vring memzone

[PATCH v1 08/21] net/virtio: move vring memzone to virtqueue struct

2022-11-30 Thread Maxime Coquelin
Whatever its type (Rx, Tx or Ctl), all the virtqueue require a memzone for the vrings. This patch moves its pointer to the virtqueue struct, simplifying the code. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_cvq.h| 1 - drivers/net/virtio/virtio_ethdev.c | 11 ++- dr