net/iavf: stop PCI probe in DCF mode
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 27 Mar 2020 02:56:35 +0000 (10:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit4cce7422dd3828f8c14036a658732d44238b44b9
tree13972fb887de2f8078b4cb1b385775437fa07016
parent040b44551f77b1173f2c1c830856e1e1f771da26
net/iavf: stop PCI probe in DCF mode

A new DCF PMD will be introduced, which runs on Intel VF hardware, and
it is a pure software design to control the advance functionality (such
as switch, ACL) for rest of the VFs.

So if the DCF (Device Config Function) mode is specified by the devarg
'cap=dcf', then it will stop the PCI probe in the iavf PMD.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c