test/crypto: fix timeout in Rx inject
PATCH 1/1 test/crypto: fix timeout in Rx inject
Fix the timeout condition for rx in Rx inject.
Fixes 69e1a909aa08 (test/crypto: add Rx inject)
Signed-off-by Vidya Sagar Velumuri <[email protected]>
app/test/test_cryptodev.c +1 -1
@@ -10081,7 +10081,7 @@ test_ipsec_proto_mbuf_enq(struct crypto_testsuite_params *ts_params,do {/* Get packet from port 0, queue 0 */ ret =rte_eth_rx_burst (0 ,0 , &m,1 ); - }while ((ret ==0 ) && (rte_get_tsc_cycles () > timeout)); + }while ((ret ==0 ) && (rte_get_tsc_cycles () < timeout));if (ret ==0 ) {printf ("Could not receive packets from ethdev\n" );
Signature · 1 line
2.25.1
Quoted 7 lines
Fix the timeout condition for rx in Rx inject.
Fixes 69e1a909aa08 (test/crypto: add Rx inject)Signed-off-by Vidya Sagar Velumuri <[email protected]>
Acked-by Anoob Joseph <[email protected]>
Thomas Monjalon
Applied21/11/2023 07:57, Anoob Joseph:
Quoted 8 lines
Quoted 6 lines
Fix the timeout condition for rx in Rx inject.
Fixes 69e1a909aa08 (test/crypto: add Rx inject)Signed-off-by Vidya Sagar Velumuri <[email protected]>Acked-by Anoob Joseph <[email protected]>
Applied, thanks.