The FAST_FREE Tx offload flag is an optimization that may not be
supported by all drivers, but the test unconditionally sets this as part
of the Tx config. Since it's an optimization that should not affect test
correctness, and since this is a unit test, not perf test, just remove
the flag.

Fixes: 86e2487c5f2c ("test/security: add cases for inline IPsec offload")
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
---
 app/test/test_security_inline_proto.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/test/test_security_inline_proto.c 
b/app/test/test_security_inline_proto.c
index b0cce5ebd9..bc3ef54f71 100644
--- a/app/test/test_security_inline_proto.c
+++ b/app/test/test_security_inline_proto.c
@@ -94,8 +94,7 @@ static struct rte_eth_conf port_conf = {
        },
        .txmode = {
                .mq_mode = RTE_ETH_MQ_TX_NONE,
-               .offloads = RTE_ETH_TX_OFFLOAD_SECURITY |
-                           RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE,
+               .offloads = RTE_ETH_TX_OFFLOAD_SECURITY,
        },
        .lpbk_mode = 1,  /* enable loopback */
 };
-- 
2.53.0

Reply via email to