diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2023-01-09 19:28:46 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-01-27 16:07:39 +0100 |
commit | ebaee446240133f5ec5064553535dfe392f60999 (patch) | |
tree | 515177f44d93fe7151f401295a4ca7022d850ef2 /tests | |
parent | b7f540129b587616d9977020bb529dcd8490f5c4 (diff) | |
download | openvswitch-ebaee446240133f5ec5064553535dfe392f60999.tar.gz |
netdev-dpdk: Free mbufs in bulk.
rte_pktmbuf_free_bulk() function was introduced in 19.11 and became
stable in 21.11. Use it to free arrays of mbufs instead of freeing
packets one by one.
In simple V2V testing with 64B packets, 2 PMD threads and bidirectional
traffic this change improves performance by 3.5 - 4.5 %.
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions