[dpdk-dev] [PATCH 5/8] net/virtio: initiate vring at init stage

Maxime Coquelin maxime.coquelin at redhat.com
Fri Nov 4 09:34:46 CET 2016



On 11/03/2016 05:09 PM, Yuanhan Liu wrote:
> virtio_dev_vring_start() is actually doing the vring initiation job.
> And the vring initiation job should be done at the dev init stage, as
> stated with great details in former commit.
>
> So move it there, and rename it to virtio_init_vring().
>
> Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
> ---
>  drivers/net/virtio/virtio_ethdev.c | 32 +++++++++++++++++++++++++++++++-
>  drivers/net/virtio/virtio_rxtx.c   | 32 --------------------------------
>  2 files changed, 31 insertions(+), 33 deletions(-)


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

Thanks,
Maxime


More information about the dev mailing list