IP packet reassembly requires the MULTI_SEGS offload to be enabled in order
to handle fragmented packets across multiple memory segments. However, the
MBUF_FAST_FREE offload conflicts with MULTI_SEGS and cannot be enabled
simultaneously.

Remove the MBUF_FAST_FREE offload to avoid conflicts with MULTI_SEGS.

Fixes: 9df56e69ee3f ("examples/ip_reassembly: convert to new ethdev offloads 
API")
Cc: sta...@dpdk.org

Signed-off-by: Zhichao Zeng <zhichaox.z...@intel.com>
---
 examples/ip_reassembly/main.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c
index 17ae76d4ba..294fd38889 100644
--- a/examples/ip_reassembly/main.c
+++ b/examples/ip_reassembly/main.c
@@ -1093,9 +1093,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 & 
RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE)
-                       local_port_conf.txmode.offloads |=
-                               RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE;
 
                local_port_conf.rx_adv_conf.rss_conf.rss_hf &=
                        dev_info.flow_type_rss_offloads;
-- 
2.34.1

Reply via email to