net/mvpp2: support Tx scatter/gather
authorZyta Szpak <zyta.szpak@semihalf.com>
Tue, 25 Sep 2018 07:05:09 +0000 (09:05 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commit9e79d810911d0b7723b4b77aaa654f27ae419425
tree7de4cc76e2d3438559b0cde306c0f8bd352bc9ce
parent0ba610ca1d178cbeedba6e033ee399dfe773801e
net/mvpp2: support Tx scatter/gather

The patch introduces scatter/gather support on transmit path.
A separate Tx callback is added and set if the application
requests multisegment Tx offload. Multiple descriptors are
sent per one packet.

Signed-off-by: Zyta Szpak <zyta.szpak@semihalf.com>
Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>
Reviewed-by: Yelena Krivosheev <yelena@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h