Skip to content

Commit

Permalink
app/test: fix error message allocation typo
Browse files Browse the repository at this point in the history
This patch fixes a typo in the `test_cryptodev.c` file where "out-op" was
incorrectly used instead of "out-of-place" on three separate occasions.

Fixes: f3dbf94 ("app/test: check SGL on QAT")
Fixes: 4322009 ("test/crypto: add PDCP cases for scatter gather")
Cc: stable@dpdk.org

Signed-off-by: Joel Kavanagh <joel.kavanagh@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
  • Loading branch information
JoelKavanagh authored and Akhil Goyal committed Jul 18, 2024
1 parent 90cc4ff commit 02cd0a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/test/test_cryptodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -9428,7 +9428,7 @@ static int test_pdcp_proto(int i, int oop, enum rte_crypto_cipher_operation opc,
/* Out of place support */
if (oop) {
/*
* For out-op-place we need to alloc another mbuf
* For out-of-place we need to alloc another mbuf
*/
ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool);
rte_pktmbuf_append(ut_params->obuf, output_vec_len);
Expand Down Expand Up @@ -9637,7 +9637,7 @@ test_pdcp_proto_SGL(int i, int oop,
/* Out of place support */
if (oop) {
/*
* For out-op-place we need to alloc another mbuf
* For out-of-place we need to alloc another mbuf
*/
ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool);
rte_pktmbuf_append(ut_params->obuf, frag_size_oop);
Expand Down Expand Up @@ -16831,7 +16831,7 @@ test_authenticated_encryption_SGL(const struct aead_test_data *tdata,
}

/*
* For out-op-place we need to alloc another mbuf
* For out-of-place we need to alloc another mbuf
*/
if (oop) {
ut_params->obuf = rte_pktmbuf_alloc(ts_params->mbuf_pool);
Expand Down

0 comments on commit 02cd0a8

Please sign in to comment.