Skip to content
Browse files

examples/ip_frag: remove Tx fast free offload flag

[ upstream commit ed553e3db4a84af0ddac0d898476333d61adb93a ]

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

Fixes: fdb9eff ("examples/ip_fragmentation: convert to new offloads API")

Signed-off-by: Sunil Kumar Kori <>
Reviewed-by: Jerin Jacob <>
Acked-by: Konstantin Ananyev <>
  • Loading branch information...
Sunil Kumar Kori authored and kevintraynor committed Jul 25, 2019
1 parent 2b0c720 commit 9fcd5f3deee26954f0c4b1dd6c3bbfad6f33d783
Showing with 0 additions and 3 deletions.
  1. +0 −3 examples/ip_fragmentation/main.c
@@ -921,9 +921,6 @@ main(int argc, char **argv)
n_tx_queue = nb_lcores;
if (n_tx_queue > MAX_TX_QUEUE_PER_PORT)
n_tx_queue = MAX_TX_QUEUE_PER_PORT;
if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MBUF_FAST_FREE)
local_port_conf.txmode.offloads |=
ret = rte_eth_dev_configure(portid, 1, (uint16_t)n_tx_queue,
if (ret < 0) {

0 comments on commit 9fcd5f3

Please sign in to comment.
You can’t perform that action at this time.