net/qede: configure VFs on hardware
authorManish Chopra <manishc@marvell.com>
Fri, 25 Sep 2020 11:55:05 +0000 (04:55 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commit9ffe2a15a9c41c02987158990999db36ee9fafd9
tree75946acec2240ba8c147d3f548b5a5257216ba7a
parent92c6786e85e87f9f5dc94e0296def438227de29f
net/qede: configure VFs on hardware

Based on number of VFs enabled at PCI, PF-PMD driver instance
enables/configures those VFs from hardware perspective, such
that in later patches they could get required HW access to
communicate with PFs for slowpath configuration and run the
fastpath themselves.

This patch also add two new qede IOV files [qede_sriov(.c|.h)]
under qede directory to add non-base driver IOV APIs/contents there.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/meson.build
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_ethdev.h
drivers/net/qede/qede_if.h
drivers/net/qede/qede_main.c
drivers/net/qede/qede_sriov.c [new file with mode: 0644]
drivers/net/qede/qede_sriov.h [new file with mode: 0644]