From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 084FBA06C8 for ; Wed, 19 Oct 2022 16:07:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E303C42B6C; Wed, 19 Oct 2022 16:07:46 +0200 (CEST) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by mails.dpdk.org (Postfix) with ESMTP id 72DB7410D1; Wed, 19 Oct 2022 16:07:45 +0200 (CEST) Received: by mail-qt1-f172.google.com with SMTP id hh9so11686825qtb.13; Wed, 19 Oct 2022 07:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wNG5dFEQxk5UswEzC8tl0uKcGTcz/BAMzEdr7foaHZs=; b=i4zF1G487rBEenxbzn9BuJFkobBWgYW3CXcymbw9Q4dCGbZb/0UYdpbke6vI1ZTnFd 0CjoEzMDEDWXlkLgTlAaDNkT4A74F9v1NmZpQDVdCrsPPVCYPYVvhMqcx1SGKSVTzH3E yA8PzB57cd1vPpHwawsuZsftU+o0U1y4AQ64FRLg4almFbmisZ6oymZAfmXMFfCAVVYB Ue4SLCLa3mWHMvH/IUOdtdDD01oYYMYvyaC9w0Mhj++kWMm4XaifVIA8VktSw2b4UlZD DwrtHuJnH9m3TSx9is3A8s+vd6kK7VOwBHHV/gS5i0HyPBoCoPyMVTgDcfqnb/CIfCji 1T9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wNG5dFEQxk5UswEzC8tl0uKcGTcz/BAMzEdr7foaHZs=; b=zT2hmBJoiz2cCPkZjxBjYs7FaTxXXTuXUKw5ezD1ntkqwfNnvlo0n9luO+oNxUerdk 2oyNf0USJzpZpE5XKLbs+zSqpy/nQpB2wTeT5Q794mLesLldNqXDbmDugBEvSfJ0cxbS WOshqZKuUtoCXT4L8wCvo1bGdNfl3vjVa+LKLksaWzF32FNlyK0QVtN3nL97yLpAU12n jNlpHPRNPWzqHalVxXhWhCyStXs4ilZ7OI7Byt0l1GM4p7xwZx/P5VeEp3tFBFDAOx/f VKZ9vOg2JFJmzcks+uqYWbqAqsXOpVcIHktGz6qoYPJes7ge8/WTwl4xa2f4hwppDUBu p1Tg== X-Gm-Message-State: ACrzQf0J0eStnwjM1/NWY9vvTpHXcD0KB0EI/53aP0uRTPMKcUFSy9dn CL7uFY802E41DpbUqNNH2PHQcfwFK7D8e5Imgw9ayso/gok= X-Google-Smtp-Source: AMsMyM4HBsaPyAckqiIyGMzkVC11yd2KLRJCKBbcD0uGArJyBi9ohmmvtWgnT9x7PWtngovwfuCzR9Qd95IDBd0q95E= X-Received: by 2002:a05:622a:588:b0:39c:d5d9:2cb4 with SMTP id c8-20020a05622a058800b0039cd5d92cb4mr6399369qtb.191.1666188453800; Wed, 19 Oct 2022 07:07:33 -0700 (PDT) MIME-Version: 1.0 References: <20221014203710.6172-1-olivier.matz@6wind.com> <20221014203710.6172-2-olivier.matz@6wind.com> In-Reply-To: <20221014203710.6172-2-olivier.matz@6wind.com> From: Jerin Jacob Date: Wed, 19 Oct 2022 19:37:08 +0530 Message-ID: Subject: Re: [PATCH 2/2] event/sw: fix invalid log in selftest To: Olivier Matz Cc: dev@dpdk.org, Harry van Haaren , Bruce Richardson , David Hunt , Anatoly Burakov , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Andrew Rybchenko , stable@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Sat, Oct 15, 2022 at 2:08 AM Olivier Matz wrote: > > The log should display the value, not the id. > > Fixes: e21df4b062b5 ("test/eventdev: add SW xstats tests") > Cc: stable@dpdk.org > > Signed-off-by: Olivier Matz > --- > 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 >