pdump: free mbuf in bulk
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 29 Dec 2020 20:08:59 +0000 (12:08 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 Jan 2021 14:24:46 +0000 (15:24 +0100)
commitf82067c4d51b332c1e4163117bee5a4f327f9be4
tree49c41b131d2ed95d9539a5029cdac8dba3f4e682
parentce949484d165539b9a1eb04c4a5c6917d3311545
pdump: free mbuf in bulk

Use rte_pktmbuf_free_bulk instead of loop when freeing
packets.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
app/pdump/main.c
lib/librte_pdump/rte_pdump.c