net/ifc: detect if VDPA mode is specified
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 18 Dec 2018 08:02:03 +0000 (16:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commit40ef35f4a504e7030882cf717eb01453d149685d
treebc9c84293867a4fdb2593a7c51482891fe8e834b
parent7b47ea59f2f6da6cbeb84f203eaac0a4812036cd
net/ifc: detect if VDPA mode is specified

If user wants the VF to be used in VDPA (vhost data path acceleration)
mode, then the user can add a "vdpa=1" parameter for the device.

So if driver does not find this option, it should quit and let the bus
continue the probe.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/ifc/Makefile
drivers/net/ifc/ifcvf_vdpa.c