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:
parent
9b70a944b4
commit
5f111f924f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user