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 <[email protected]>
> Reviewed-by: Maxime Coquelin <[email protected]>
> Acked-by: Eelco Chaudron <[email protected]>
> Signed-off-by: David Marchand <[email protected]>
> ---
> 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 <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to