Thanks you for the reply.
I want to use host machine to configure the BF-2 in NIC mode and then try moving from legacy to switchdev mode. I want to avoid ARM CPU for now. Is its possible ?
@ramachaitanya.k : So, you want to avoid using ARM CPU and OvS running on it completely? Or you just want the OvS running on the ARM cores to be HW offloaded?
In the first case, as @ssimcoejr pointed out, your Bluefield is not in the right mode. You can switch it to SEPARATED_HOST mode, when it does not act as a SmartNIC but a normal NIC. Then, you can use it with an OvS on the Host.
I had a blog series on my experiences with Bluefield. In Part II, I explained (from sources gathered from NVidia docs, etc.) how you can change the mode of operation.
In the second case, the latest firmware for Bluefield already runs OvS-kernel with HW offload (via tc flowers) enabled. So, this means that while the ARM cores are used to run OvS process, most of the packet processing will not go through the ARM cores.
I didn’t see SEPERATED_HOST mode in the latest doc. I want to avoid ARM core completely. As per below document I want to move to NIC mode and then try switchdev for offload.
As per my understanding SEPARATED_HOST mode which runs in Old firmware won’t support switchdev mode for Offload. But the NIC mode which is in new firmware supports Offloads with host itself with out using ARM. The question is this NIC mode is not working as per the document.
I see. I cannot comment on whether SEPARATED_HOST is supported in the new firmware or not.
I used to run Bluefield in that mode, but recently, after installing the latest firmware, I was only dealing with EMBEDDED_CPU mode.
At the moment, I don’t have access to a Bluefield to verify (but will do).
Meanwhile, you can keep us updated here if you could advance in your setup :)