Re: [dpdk-dev] [PATCH 21.02 v1] net/virtio: fix memory init with vDPA backend

2020-11-24 Thread Jason Wang
On 2020/11/24 下午8:45, Maxime Coquelin wrote: This patch fixes an overhead met with mlx5-vdpa Kernel driver, where for every page in the mapped area, all the memory tables gets updated. For example, with 2MB hugepages, a single IOTLB_UPDATE for a 1GB region causes 512 memory updates on mlx5-vdpa

[dpdk-dev] [PATCH 21.02 v1] net/virtio: fix memory init with vDPA backend

2020-11-24 Thread Maxime Coquelin
This patch fixes an overhead met with mlx5-vdpa Kernel driver, where for every page in the mapped area, all the memory tables gets updated. For example, with 2MB hugepages, a single IOTLB_UPDATE for a 1GB region causes 512 memory updates on mlx5-vdpa side. Using batching mode, the mlx5 driver will

[dpdk-dev] [PATCH 21.02 v1] net/virtio: fix memory init with vDPA backend

2020-11-24 Thread Maxime Coquelin
This patch fixes an overhead met with mlx5-vdpa Kernel driver, where for every page in the mapped area, all the memory tables gets updated. For example, with 2MB hugepages, a single IOTLB_UPDATE for a 1GB region causes 512 memory updates on mlx5-vdpa side. Using batching mode, the mlx5 driver will