]> git.droids-corp.org - dpdk.git/commit
fm10k: optimize mbuf freeing in non-vector Tx
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Thu, 28 Jan 2016 09:45:59 +0000 (17:45 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:51:43 +0000 (18:51 +0100)
commitd06e6bb248d4ddaf01e4d444aac957a102eb525e
tree186400e09d5b93de299148f4115804c064bb7c47
parent3b845bf6bcd9d515a9836904a7d087e1fb263c91
fm10k: optimize mbuf freeing in non-vector Tx

When the TX function tries to free a bunch of mbufs, it will free
them one by one. This change will scan the free list and merge the
requests in case they belongs to same pool, then free once, which
will reduce cycles on freeing mbufs.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Shaopeng He <shaopeng.he@intel.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/fm10k/fm10k_rxtx.c