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 05F2F4240B; Wed, 18 Jan 2023 11:31:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E743C42D0B; Wed, 18 Jan 2023 11:31:20 +0100 (CET) Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) by mails.dpdk.org (Postfix) with ESMTP id 35A9740DFD; Wed, 18 Jan 2023 11:31:20 +0100 (CET) Received: by mail-vs1-f54.google.com with SMTP id d66so22784943vsd.9; Wed, 18 Jan 2023 02:31:20 -0800 (PST) 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=4HCEHb+ZrHI6sFs8wGyEN/8/MMt3TOBH3aKPaiBK6oc=; b=kxz7HZDhuO2Qn8D2BRZ9JmI844kQ2GjICwv75oVDgDebFPNRFFZ9tpxfY2yalpMTLN Vgq6p16UtIHUXfCNl4nI3sDWl8JI/n3khiJrvrFNS9GSl9EnOr2nVxwZis2L8iVfM957 P6RAyjkRx2zDfHZH69IaOu9i3idQmljhpGVWMdLZQmTmGaOnarqBikOgOyaUHFsF28DX apGiko2ud4haCkwobSS0ad5Xg9T0ERuYl8I4eXTi3x6m649Nj5nMTFBYAhUD92BP8U5/ DgPHW6sHNdxWj3IncEve8LdHevJo2E8X3GS1dbhM4zXroT+f5Jj2i+v0fNAjwKEWrRef zhTg== 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=4HCEHb+ZrHI6sFs8wGyEN/8/MMt3TOBH3aKPaiBK6oc=; b=W7JX1bAIkDxWxgXidpIm/TvIXhBhDRdGsk4EvVY1ZZX3s5N+WuzcCz7r7ojU2ILDwB DboiFKQtlO1UMnpokGtX0AIPEze8bho4hRQnBi5MZoCkmBBqhx3lXy3eXVWN5epWLzJQ ruPWVn5T8eVfiS4yadbPrDlAPzQoSLxKU3h52Yiij2NWiOyIRFQoU21TqulHj8JIoVZR Re11/a8Yw8SMkkqpSwLCI5ZP6/28piEnMNGnDrjfhD2wBwjxcDPe4zGCnMpZDfLAlJ8c e2xeVVEqxH4gBmiW7/z1OJNnO1LQjeONKTW3xwZKw3NN/EaJZazx1WmQAm4Joo+hAsnG Etvw== X-Gm-Message-State: AFqh2krEGwkrVGseh+4cBdP4DFJGUYa92BVw9kZpqJlwEao4SOucYxMv Qc08jg2RcFiefX6BrKSKO1GwBjb5M25Ctmg7Tms= X-Google-Smtp-Source: AMrXdXu75oVjvw7PDezOGDVqpv36/KFObxuQLIP+hCBJxw/XV0hdv+AlI8ajPzeuoAc6PIiIy9Ve5rlHVBYsZ9Q7yDE= X-Received: by 2002:a67:ea8f:0:b0:3d0:ee83:9599 with SMTP id f15-20020a67ea8f000000b003d0ee839599mr928130vso.45.1674037879497; Wed, 18 Jan 2023 02:31:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Wed, 18 Jan 2023 16:00:53 +0530 Message-ID: Subject: Re: [PATCH] examples/l2fwd-event: fix function args of worker cleanup To: Pavan Nikhilesh Bhagavatula Cc: Shijith Thotton , Jerin Jacob Kollanukkaran , "dev@dpdk.org" , dpdk stable Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Dec 13, 2022 at 8:43 PM Pavan Nikhilesh Bhagavatula wrote: > > > > > -----Original Message----- > > From: Shijith Thotton > > Sent: Monday, December 12, 2022 9:19 PM > > To: Jerin Jacob Kollanukkaran > > Cc: Shijith Thotton ; dev@dpdk.org; Pavan > > Nikhilesh Bhagavatula > > Subject: [PATCH] examples/l2fwd-event: fix function args of worker cleanup > > > > Fixed function call arguments of l2fwd worker cleanup. Number of events > > enqueued and dequeued are set the opposite. > > > > Fixes: 622ebb6b4a7d ("examples/l2fwd-event: clean up worker state before > > exit") > Cc: stable@dpdk.org > > > > Signed-off-by: Shijith Thotton > Acked-by: Pavan Nikhilesh Applied to dpdk-next-net-eventdev/for-main. Thanks > > --- > > examples/l2fwd-event/l2fwd_event.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/examples/l2fwd-event/l2fwd_event.c b/examples/l2fwd- > > event/l2fwd_event.c > > index 63450537fe..4b5a032e35 100644 > > --- a/examples/l2fwd-event/l2fwd_event.c > > +++ b/examples/l2fwd-event/l2fwd_event.c > > @@ -284,7 +284,7 @@ l2fwd_event_loop_burst(struct l2fwd_resources > > *rsrc, > > } > > } > > > > - l2fwd_event_worker_cleanup(event_d_id, port_id, ev, nb_rx, > > nb_tx, 0); > > + l2fwd_event_worker_cleanup(event_d_id, port_id, ev, nb_tx, > > nb_rx, 0); > > } > > > > static __rte_always_inline void > > @@ -468,7 +468,7 @@ l2fwd_event_loop_vector(struct l2fwd_resources > > *rsrc, const uint32_t flags) > > } > > } > > > > - l2fwd_event_worker_cleanup(event_d_id, port_id, ev, nb_rx, > > nb_tx, 1); > > + l2fwd_event_worker_cleanup(event_d_id, port_id, ev, nb_tx, > > nb_rx, 1); > > } > > > > static void __rte_noinline > > -- > > 2.25.1 >