Re: [dpdk-dev] [PATCH v2 4/4] net/virtio: pack virtuqueue struct

2021-03-15 Thread David Marchand
On Mon, Mar 15, 2021 at 4:20 PM Maxime Coquelin wrote: > > This patch optimizes packing of the virtuqueue virtqueue ? and same typo in the title. > struct by moving fields around to fill holes. > > Offset field is not used and so can be removed. > > Signed-off-by: Maxime Coquelin > Reviewed-by:

[dpdk-dev] [PATCH v2 4/4] net/virtio: pack virtuqueue struct

2021-03-15 Thread Maxime Coquelin
This patch optimizes packing of the virtuqueue struct by moving fields around to fill holes. Offset field is not used and so can be removed. Signed-off-by: Maxime Coquelin Reviewed-by: Chenbo Xia --- drivers/net/virtio/virtqueue.h | 18 +- 1 file changed, 9 insertions(+), 9 del