app/eventdev: fix limits in error message

Swap min and max values to match their labels.

Fixes: 2eaa37b866 ("app/eventdev: add vector mode in pipeline test")
Cc: stable@dpdk.org

Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
This commit is contained in:
Volodymyr Fialko 2022-10-31 11:39:06 +01:00 committed by Jerin Jacob
parent 9b70a944b4
commit 5f111f924f

View File

@ -534,8 +534,8 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,
if (opt->vector_size < limits.min_sz || if (opt->vector_size < limits.min_sz ||
opt->vector_size > limits.max_sz) { opt->vector_size > limits.max_sz) {
evt_err("Vector size [%d] not within limits max[%d] min[%d]", evt_err("Vector size [%d] not within limits max[%d] min[%d]",
opt->vector_size, limits.min_sz, opt->vector_size, limits.max_sz,
limits.max_sz); limits.min_sz);
return -EINVAL; return -EINVAL;
} }