Re: [PATCH v1 10/21] net/virtio: alloc Rx SW ring only if vectorized path

2023-02-07 Thread Maxime Coquelin
On 1/30/23 08:49, Xia, Chenbo wrote: Hi Maxime, -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 10/21] net/virtio: alloc Rx SW

RE: [PATCH v1 10/21] net/virtio: alloc Rx SW ring only if vectorized path

2023-01-29 Thread Xia, Chenbo
Hi Maxime, > -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 10/21] net/virtio: alloc Rx SW ri

[PATCH v1 10/21] net/virtio: alloc Rx SW ring only if vectorized path

2022-11-30 Thread Maxime Coquelin
This patch only allocates the SW ring when vectorized datapath is used. It also moves the SW ring and fake mbuf in the virtnet_rx struct since this is Rx-only. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_ethdev.c| 88 --- drivers/net/virtio/virtio_rxt