net/mlx5: free buffers in bulk on Tx completion
authorYongseok Koh <yskoh@mellanox.com>
Thu, 6 Jul 2017 18:41:07 +0000 (11:41 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 7 Jul 2017 09:50:02 +0000 (11:50 +0200)
commit88ff01ddfb13d580d5ca36b7a6fc1548bac769bf
tree778e2e9570599e9838c109b9098316fd3505d47d
parent8c819a6926c1f4914c8095599e874d6845ddf512
net/mlx5: free buffers in bulk on Tx completion

When processing Tx completion, it is more efficient to free buffers in bulk
using rte_mempool_put_bulk() if buffers are from a same mempool.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c