]> git.droids-corp.org - dpdk.git/commit
vdpa/mlx5: add device close task
authorLi Zhang <lizh@nvidia.com>
Sat, 18 Jun 2022 09:02:56 +0000 (12:02 +0300)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 21 Jun 2022 09:18:15 +0000 (11:18 +0200)
commit6ebb02b44bad9cc6353a3806cdb4704549abb216
treeeecd1a808a0b8ba36a486693f1f3ca412fb421b5
parent0d9d28974d1b0db8481fe75c89110b690c7da6b1
vdpa/mlx5: add device close task

Split the virtqs device close tasks after
stopping virt-queue between the configuration threads.
This accelerates the LM process and
reduces its time by 50%.

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/vdpa/mlx5/mlx5_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.h
drivers/vdpa/mlx5/mlx5_vdpa_cthread.c
drivers/vdpa/mlx5/mlx5_vdpa_virtq.c