examples/ip_frag: remove Tx fast free offload flag
authorSunil Kumar Kori <skori@marvell.com>
Thu, 25 Jul 2019 08:24:10 +0000 (13:54 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jul 2019 21:47:29 +0000 (23:47 +0200)
commited553e3db4a84af0ddac0d898476333d61adb93a
treeb7c63ed3a7c42726f851a2bf8f88886d4fc22660
parent5e16d9447a1e3404abd38fe4da6ea4f6c8addd05
examples/ip_frag: remove Tx fast free offload flag

Application uses different pool to allocate direct and indirect
mbufs which are further spliced together to consturct a fragmented
packet and same is transmitted over the port which is configured
with DEV_TX_OFFLOAD_MBUF_FAST_FREE enabled i.e. all segments
must belong to the same pool. But constructed packet violates
the conditions.

So fixing DEV_TX_OFFLOAD_MBUF_FAST_FREE flag during device
configuration.

Fixes: fdb9eff67f0c ("examples/ip_fragmentation: convert to new offloads API")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
examples/ip_fragmentation/main.c