[PATCH 2/2] event/sw: fix invalid log in selftest
Jerin Jacob
jerinjacobk at gmail.com
Wed Oct 19 16:07:08 CEST 2022
On Sat, Oct 15, 2022 at 2:08 AM Olivier Matz <olivier.matz at 6wind.com> wrote:
>
> The log should display the value, not the id.
>
> Fixes: e21df4b062b5 ("test/eventdev: add SW xstats tests")
> Cc: stable at dpdk.org
>
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
> drivers/event/sw/sw_evdev_selftest.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/event/sw/sw_evdev_selftest.c b/drivers/event/sw/sw_evdev_selftest.c
> index 4f18d66f36..834681dbec 100644
> --- a/drivers/event/sw/sw_evdev_selftest.c
> +++ b/drivers/event/sw/sw_evdev_selftest.c
> @@ -1644,8 +1644,8 @@ xstats_id_reset_tests(struct test *t)
> }
> if (val != port_expected[i]) {
> printf("%d: %s value incorrect, expected %"PRIu64
> - " got %d\n", __LINE__, port_names[i],
> - port_expected[i], id);
> + " got %"PRIu64"\n", __LINE__, port_names[i],
There was merge conflict due to "eventdev: increase xstats ID width to 64 bits".
I have fixed and Series applied to dpdk-next-net-eventdev/for-main. Thanks
> + port_expected[i], val);
> failed = 1;
> }
> /* reset to zero */
> --
> 2.30.2
>
More information about the stable
mailing list