[dpdk-dev] [PATCH v2 3/3] net/ifcvf: add ifcvf driver
Wang, Xiao W
xiao.w.wang at intel.com
Fri Mar 23 11:39:50 CET 2018
Hi Thomas,
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Thursday, March 22, 2018 4:52 AM
> To: Wang, Xiao W <xiao.w.wang at intel.com>; Xu, Rosen <rosen.xu at intel.com>
> Cc: dev at dpdk.org; maxime.coquelin at redhat.com; yliu at fridaylinux.org; Wang,
> Zhihong <zhihong.wang at intel.com>; Bie, Tiwei <tiwei.bie at intel.com>; Chen,
> Junjie J <junjie.j.chen at intel.com>; Daly, Dan <dan.daly at intel.com>; Liang,
> Cunming <cunming.liang at intel.com>; Burakov, Anatoly
> <anatoly.burakov at intel.com>; gaetan.rivet at 6wind.com
> Subject: Re: [dpdk-dev] [PATCH v2 3/3] net/ifcvf: add ifcvf driver
>
> 21/03/2018 14:21, Xiao Wang:
> > ifcvf driver uses vdev as a control domain to manage ifc VFs that belong
> > to it. It registers vDPA device ops to vhost lib to enable these VFs to be
> > used as vhost data path accelerator.
>
> Not everybody work at Intel.
> Please explain what means ifcvf and what is a control domain.
OK, and I will add a document.
>
> > Live migration feature is supported by ifc VF and this driver enables
> > it based on vhost lib.
> >
> > Because vDPA driver needs to set up MSI-X vector to interrupt the guest,
> > only vfio-pci is supported currently.
> >
> > Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> > Signed-off-by: Rosen Xu <rosen.xu at intel.com>
> > ---
> > v2:
> > - Rebase on Zhihong's vDPA v3 patch set.
> > ---
> > config/common_base | 6 +
> > config/common_linuxapp | 1 +
> > drivers/net/Makefile | 1 +
> > drivers/net/ifcvf/Makefile | 40 +
> > drivers/net/ifcvf/base/ifcvf.c | 329 ++++++++
> > drivers/net/ifcvf/base/ifcvf.h | 156 ++++
> > drivers/net/ifcvf/base/ifcvf_osdep.h | 52 ++
> > drivers/net/ifcvf/ifcvf_ethdev.c | 1240
> +++++++++++++++++++++++++++++++
> > drivers/net/ifcvf/rte_ifcvf_version.map | 4 +
> > mk/rte.app.mk | 1 +
>
> This feature needs to be explained and documented.
> It will be helpful to understand the mechanism and to have a good review.
> Please do not merge it until there is a good documentation.
>
Will add a doc with more details.
BRs,
Xiao
More information about the dev
mailing list