net/octeontx/base: probe PKI and PKO PCIe VF devices
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Sun, 8 Oct 2017 12:44:10 +0000 (18:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:57 +0000 (01:36 +0100)
commit445371e8ba060ccf482015de9e3b68c934ae8dd8
treefbbcfc5d0d13bb73ce273ee6ca698dfbfbe7d1cf
parente242dd1c0a3e50b4465e39370ff0c1225a1d0bda
net/octeontx/base: probe PKI and PKO PCIe VF devices

An octeontx ethdev device consists of multiple PKO VF devices and an PKI
VF device. On Octeontx HW, each Rx queues are enumerated as SSOVF device
which is exposed as event_octeontx device, Tx queues are enumerated as
PKOVF device, and ingress packet configuration is accomplished through
PKIVF device.

In order to expose as an single ethdev instance, On PCIe VF probe,
the driver stores the information associated with the PCIe VF device and
later with vdev infrastructure creates ethdev device with earlier
probed PCIe VF device.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/net/octeontx/Makefile
drivers/net/octeontx/base/octeontx_pkivf.c [new file with mode: 0644]
drivers/net/octeontx/base/octeontx_pkovf.c [new file with mode: 0644]
drivers/net/octeontx/base/octeontx_pkovf.h [new file with mode: 0644]