pNIC sharing for both SR-IOV and OvS usage

Hello,

I’m having dual port ConnectX-4 Lx EN NICs (25 Gigabit on each port).

Does anyone know if it’s possible to have both SR-IOV and OvS configured on top of the same PF?

If yes, is such physical NIC sharing possible on top of a bond (of above 2 ports)?

Would be possible to define bandwidth allocation per function type, e.g. max bandwidth consumed by VFs and remaining bandwidth used by OvS?

Thanks in advance.

Best regards,

Frank

Hi Fragkiskos,

You can configure SRIOV and have a bond created using both ports (PF) though keep in mind depending of traffic load, it might impact the performance.

You can consult this post in our community to configure SRIOV & OVS

Running ASAP2 Direct OVS Offload for ConnectX-4 Family (DOC-2641)

For traffic priority, you can try to implement PFC (Priority Flow Control) on the PF & on the Switch(s) to prioritize traffic.

We have also this post that might help:

HowTo Set Virtual Network Attributes on a Virtual Function (SR-IOV) https://community.mellanox.com/s/article/howto-set-virtual-network-attributes-on-a-virtual-function--sr-iov-x (DOC-1123)

Regards,

Sophie.