Re: [dpdk-dev] [PATCH v2 2/3] vhost: rework async feature struct

2021-07-06 Thread Maxime Coquelin
Hi Jiayu, On 7/7/21 1:18 PM, Jiayu Hu wrote: > No need to use bitfields in the structure rte_vhost_async_features. > This patch reworks the structure to improve code readability. In > addition, add preserved padding fields on the structure for future > usage. > > Signed-off-by: Jiayu Hu > --- >

[dpdk-dev] [PATCH v2 2/3] vhost: rework async feature struct

2021-07-06 Thread Jiayu Hu
No need to use bitfields in the structure rte_vhost_async_features. This patch reworks the structure to improve code readability. In addition, add preserved padding fields on the structure for future usage. Signed-off-by: Jiayu Hu --- examples/vhost/main.c | 4 ++-- lib/vhost/rte_vhost_as