On 21 Dec 2023, at 11:28, David Marchand wrote:

> net_pcap is not always available in DPDK (like, in a dev
> environment when you forgot to install the libpcap-devel).
> On the other hand, OVS already has its own way to inject packets into a
> bridge. Let's make use of it.
>
> The generating script outputs a bulk of 8 packets per line (to save some
> cpu spent calling ovs-appctl).
>
> Suggested-by: Ilya Maximets <i.maxim...@ovn.org>
> Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
> Acked-by: Eelco Chaudron <echau...@redhat.com>
> Signed-off-by: David Marchand <david.march...@redhat.com>
> ---
> Changes since v4:
> - rebased,
> - updated genpkts.py so it outputs 8 packets per line and have
>   netdev-dummy/receive called for 8 packets at a time (this little
>   optimisation seems enough to avoid hitting OVS_CTL_TIMEOUT),
> - stopped calling genpkts.py asynchronuously,

Thanks for making these additional changes.

Acked-by: Eelco Chaudron <echau...@redhat.com>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to