summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec/cli.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2020-07-14 09:41:43 -0400
committerDamjan Marion <dmarion@me.com>2020-09-04 12:12:57 +0000
commit942b9803f842fc520e9c7518ff2fcffbb5d0f14e (patch)
treecf767f4bca7385be846f72f92824a4421a38539d /src/plugins/dpdk/ipsec/cli.c
parentd570e53c74306d3aa237acbd56357a85b9d693a3 (diff)
dpdk-ipsec: fix show output
Fix the shown crypto inflight counts which were reversed. Also improve a couple error descriptions to tell them apart when viewed. Type: fix Signed-off-by: Christian Hopps <chopps@labn.net> Change-Id: I6d4054c64aa842658cfcde8969c7aa48f6d21207
Diffstat (limited to 'src/plugins/dpdk/ipsec/cli.c')
-rw-r--r--src/plugins/dpdk/ipsec/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/ipsec/cli.c b/src/plugins/dpdk/ipsec/cli.c
index a2edc8b96c0..fb98d2789c6 100644
--- a/src/plugins/dpdk/ipsec/cli.c
+++ b/src/plugins/dpdk/ipsec/cli.c
@@ -28,7 +28,7 @@ format_crypto_resource (u8 * s, va_list * args)
crypto_resource_t *res = vec_elt_at_index (dcm->resource, res_idx);
- s = format (s, "%U thr_id %3d qp %2u enc_inflight %u, dec_inflights %u\n",
+ s = format (s, "%U thr_id %3d qp %2u dec_inflight %u, enc_inflights %u\n",
format_white_space, indent, (i16) res->thread_idx,
res->qp_id, res->inflights[0], res->inflights[1]);