On 8/30/23 18:02, David Marchand wrote: > On Wed, Aug 30, 2023 at 1:45 PM Ilya Maximets <[email protected]> wrote: >>> +# Fake a veth by creating a tap on kernel side and plug it in OVS using the >>> +# net/tap DPDK driver. >> >> Why do we need to fake a veth? It looks strange to me and also error prone >> as taps do not behave like veths in some cases. Can we just have a veth and >> open it with af_packet ports like all other testsuites do? > > When you suggest af_packet port, I suppose you mean netdev-afxdp ports.
No, I meant DPDK's drivers/net/af_packet/rte_eth_af_packet.c. > > My initial reason for plugging net/tap was to have a way to test > DPBUF_DPDK dp-packets through OVS. > Testing with netdev-dpdk only ports should also be closer to > deployments of ovs-dpdk, rather than a mix of kernel netdev and dpdk > ports with the userspace datapath. > > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
