[dpdk-dev] [PATCH v3 1/4] eal/vfio: add support for multiple container
Maxime Coquelin
maxime.coquelin at redhat.com
Sat Mar 31 13:06:44 CEST 2018
On 03/31/2018 04:29 AM, Xiao Wang wrote:
> From: Junjie Chen <junjie.j.chen at intel.com>
>
> Currently eal vfio framework binds vfio group fd to the default
> container fd, while in some cases, e.g. vDPA (vhost data path
> acceleration), we want to set vfio group to a new container and
> program DMA mapping via this new container, so this patch adds
> APIs to support multiple container.
>
> Signed-off-by: Junjie Chen <junjie.j.chen at intel.com>
> Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> ---
> config/common_base | 1 +
> lib/librte_eal/bsdapp/eal/eal.c | 51 ++-
> lib/librte_eal/common/include/rte_vfio.h | 116 +++++++
> lib/librte_eal/linuxapp/eal/eal_vfio.c | 552 +++++++++++++++++++++++++------
> lib/librte_eal/linuxapp/eal/eal_vfio.h | 1 +
> lib/librte_eal/rte_eal_version.map | 7 +
> 6 files changed, 627 insertions(+), 101 deletions(-)
>
FWIW:
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list