RE: [PATCH v1 03/21] net/virtio: virtqueue headers alloc refactoring

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 03/21] net/virtio: virtqueue headers alloc refact

[PATCH v1 03/21] net/virtio: virtqueue headers alloc refactoring

2022-11-30 Thread Maxime Coquelin
This patch refactors virtqueue initialization by moving its headers allocation and deallocation in dedicated function. While at it, it renames the memzone metadata and address pointers in the virtnet_tx and virtnet_ctl structures to remove redundant virtio_net_ prefix. Signed-off-by: Maxime Coque