On Mon, Apr 4, 2022 at 10:06 AM Rahul Shah via discuss
<ovs-discuss@openvswitch.org> wrote:
>
> I am testing the OVS-DPDK with KNI port type but have been getting the ‘Not 
> supported’ error. I checked my OVS iface_types and KNI is not listed in the 
> port type.
>
> I am using the latest OVS and DPDK 21.11. The DPDK is built with KNI support 
> and the KNI example in the app runs successfully but when I add a port in the 
> OVS it doesn’t.
>
> ovs-vsctl add-port br0 vEth0 -- set Interface vEth0 type=dpdkkni 
> ofport_request=2
>
> Is the KNI support present in the latest OVS? Or do I need to patch anything 
> in OVS?

I can't tell if it works (I never really used kni, and kni is a legacy
thing even in dpdk).
But from a configuration pov, you should add a 'dpdk' type port and
pass the right devargs.
Something like:

# ovs-vsctl add-port br0 vEth0 -- set Interface vEth0 type=dpdk
ofport_request=2 -- set Interface vEth0 options:dpdk-devargs=net_kni0


-- 
David Marchand

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to