net/thunderx: fix multi segment Tx function return
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 28 Nov 2017 13:22:38 +0000 (18:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit42473d6782896bf6281d347f61cbcfaf8df17d0f
tree5422e28cda5a826f330d561b47fb77bdb325e0da
parentf92e94478803c2307e68bf1023e6b49106bc843d
net/thunderx: fix multi segment Tx function return

multi segment version of tx burst function was not
returning the actual number of packets sent out
in PMD xmit function.

Fixes: 1c421f18e0 ("net/thunderx: add single and multi-segment Tx")
Cc: stable@dpdk.org
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Sunil Kulkarni <sunil.kulkarni@caviumnetworks.com>
drivers/net/thunderx/nicvf_rxtx.c