I want to use OVS-DOCA with Bluefield-2

Hello,

I have “MT42822 BlueField-2 integrated ConnectX-6 Dx” DPU and I’m trying to use/setup OVS_DOCA as mentioned https://docs.nvidia.com/doca/sdk/switching-support/index.html#ovs-doca-hardware-offloads.

There isn’t much detail about how to use and play with the DOCA datapath (if it is an OVS datapath just like OVS-Kernel and OVS-DPDK).

I want a comprehensive and complete step-by-step guide of how to setup and use DOCA with Open vSwitch.

Thanks,
Farhan

Hello @farhantariq1016,

OVS DOCA uses DOCA api as an HW offload layer for the flow insertion to HW while the datapath remains the same as with OVS DPDK.
As mentioned in the manual, to use DOCA offload for the flow insertion you will have to set an additional parameter “doca-init=true” in addition to “dpdk-init=true”.
With DOCA enabled on top of DPDK, the flow insertion is done via the doca flow api instead of rte_flow.

@farhantariq1016
Please let me know if that answers your question or any further information is required.
Regards,
Ariel