On 8/31/2017 3:54 PM, Jerin Jacob wrote: > 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.
So, is following correct: BGX is MAC interface, in ingress it consists of single PKIVF (packet input) device, in egress it consists of PKOVF (packet output) devices. PKIVF and PKOVF are physical eventdev devices. First physical devices are probed, later virtual ethdev is created which gets/puts packets into these event devices. A graph in documentation can be very helpful for this. Also patchset can create multiple ethdev ports, why is this? And how eventdev - ethdev port mapping done for that case? Thanks, ferruh > > Signed-off-by: Jerin Jacob <jerin.ja...@caviumnetworks.com> > Co-authored-by: Santosh Shukla <santosh.shu...@caviumnetworks.com> <...>