app/testpmd: fix flowgen forwarding offload flags
authorShahaf Shuler <shahafs@mellanox.com>
Wed, 10 Jan 2018 09:09:13 +0000 (11:09 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jan 2018 09:52:57 +0000 (10:52 +0100)
commitb62678f7a3e4f423496b4cbd593c2c37f9283685
tree14ef8a374030c0293165e7ceb925609c8fdb2e1d
parent597f9fafe13bca43b160f6822244eeb00552b775
app/testpmd: fix flowgen forwarding offload flags

The mbuf ol_flags were taken directly from testpmd internal enumeration
leading to incorrect values.

addressing only insertion offload flags as the checksum flags by
the application design are only with csum forwarding.

Fixes: e9e23a617eb8 ("app/testpmd: add flowgen forwarding engine")
Cc: stable@dpdk.org
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/flowgen.c