[dpdk-dev] [PATCH v4] net/virtio: packed ring notification data feature support

Maxime Coquelin maxime.coquelin at redhat.com
Mon Jan 13 16:02:56 CET 2020



On 1/13/20 4:31 AM, Cheng Jiang wrote:
> This patch supports the feature that the driver passes extra data
> (besides identifying the virtqueue) in its device notifications,
> expanding the notifications to include the avail index and avail
> wrap counter.
> 
> Signed-off-by: Cheng Jiang <Cheng1.jiang at intel.com>
> ---
> 
> v4:
> * Replaced used_wrap_counter with avail_wrap_counter.
> 
> v3:
> * Modified the commit log to make it more detailed.
> * Modified the shift mode of notify_data to make it more intuitive.
> 
> v2:
> * Removed rte_unused attribute in *hw.
> * Added some comments on notify_data.
> 
>  drivers/net/virtio/virtio_ethdev.h |  3 ++-
>  drivers/net/virtio/virtio_pci.c    | 29 +++++++++++++++++++++++++++--
>  drivers/net/virtio/virtio_pci.h    |  6 ++++++
>  3 files changed, 35 insertions(+), 3 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list