Tested (best I could) with PFs bound to vfio-pci driver. Sample
APP will work Cascade Galcier PF bound to vfio-pci driver with
patch that hardcodes the device subsystem. Patch included in
repo but not applied in Dockerfile (commented out).
Updated 'vdpa-dpdk-image/entrypoint.sh' to launch DPDK vDPA
Sample APP on core 0 instead of cores 10-13.
SR-IOV DP:
Tested (best I could) with PFs bound to vfio-pci driver. Looks
like it detects and passes PCI Address to CNI properly.
Added 'deployment/configMap-cg-pf-vfio.yaml' to select Cascade
Glacier PF bound to vfio-pci driver. Something similiar will be
needed for Alibaba.
Added a second patch file that fixes some detection of vitio
devices. It was looking for sub-directory 'virtio0' but needed
to look for 'virtio1', 'virtio2', ...
Updated 'deployment/sriovdp-vdpa-daemonset.yaml' to revert image
name back to 'nfvpe/sriov-device-plugin'. This is built from
upstream and this is the name given.
SR-IOV CNI deprecated for vDPA CNI:
This is still around, but not built in the 'make all'.
vDPA CNI (new):
Added a new CNI that strips out a lot of the SR-IOV CNI we don't
need. There are minimal checks here. Over time, more will need to
added.
Long term, this may move over to Userspace CNI. But didn't want
to drag in the VPP dependencies inherit in that CNI.
Updated 'deployment/netAttach-vdpa-dpdk-a.yaml' and
'deployment/netAttach-vdpa-dpdk-b.yaml' to point to vDPA CNI and
pass in desired config.
Added a Dockerfile so vDPA can be built in an image (like is
done by SR-IOV CNI).
Makefile
'make all' had a cut and paste 'make' in it, so wasn't working.
Moved sriov-cni and sylla out of make all to and to the bottom of
'make help'.
Changes:
Signed-off-by: Billy McFall 22157057+Billy99@users.noreply.github.com