app/testpmd: convert to new Tx offloads API
authorShahaf Shuler <shahafs@mellanox.com>
Wed, 10 Jan 2018 09:09:12 +0000 (11:09 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jan 2018 09:52:34 +0000 (10:52 +0100)
commit597f9fafe13bca43b160f6822244eeb00552b775
treed18c25c2a33b5637bcf02578e94723803b5f4236
parent6018eb8cc8b072a99fa9a2bdff9466947b7367d8
app/testpmd: convert to new Tx offloads API

Ethdev Tx offloads API has changed since:

commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")

Convert the application to use the new API.

This patch mandates the port to be stopped when configure the Tx
offloads. This is because the PMD must be aware to the offloads changes
on the device and queue configuration.

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.c