Hello OvS-DPDK team,

We are expanding our usage of OvS-DPDK and want to use VF port representors
for one use-case. Going through the following document it is unclear how
this functionality can be achieved

http://docs.openvswitch.org/en/latest/topics/dpdk/phy/

I believe following things need to be configured before configuring OvS, I
am using Intel NICs for evaluation

(1) Create VFs on Intel NICs(82599). This can only happen when Intel NIC is
bound to its respective kernel driver (ixgbe) via

echo 2 > /sys/devices/<pci-BDF>/sriov_numvfs


It creates 2 VF interfaces bound to ixgbevf driver


(2) Using driverctl, bind VF and PF interfaces to vfio-pci. Moment PF
device is bound to vfio-pci, VF interfaces vanish


Question based on the OvS document shown above


(1) Binding PF interface?


ovs-vsctl add-port br0 dpdk-pf -- set Interface dpdk-pf type=dpdk
options:dpdk-devargs=0000:08:00.0


What driver interface <0000:08:00.0> is bound to? igb_uio, vfio-pci or
kernel driver?



(2) VF interface to representor connection, does representor=[3] represent
VF device 3?


ovs-vsctl add-port br0 dpdk-rep3 -- set Interface dpdk-rep3 type=dpdk
options:dpdk-devargs=0000:08:00.0,representor=[3]

ovs-vsctl add-port br0 dpdk-rep5 -- set Interface dpdk-rep5 type=dpdk
options:dpdk-devargs=0000:08:00.0,representor=[5]


Looking into linked DPDK document within OvS is confusing as well.


Kindly let me know what I need to do for the setup?


Thanks,

Ravi
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to