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 2933CA0032 for ; Fri, 18 Feb 2022 13:40:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2356F41143; Fri, 18 Feb 2022 13:40:00 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 0FB1541142 for ; Fri, 18 Feb 2022 13:39:59 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id bg21-20020a05600c3c9500b0035283e7a012so6348724wmb.0 for ; Fri, 18 Feb 2022 04:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n+qjZucMTLS0LxVE6P98zXATI2cK33stmNynwpJ7wak=; b=b1eze/yl10ncP/Ny2AYyTyjRrrf3xWzI8d6sLXrhy9qtk7f2/h6W9jjUgvcbXiWIPX O5MqPLWrM4liWisyF1pHHwREtI6Dqz+fq4qVRXPIuT5f3Bq9Xna+1ZqwHsTtm5FzRoWj UuiC8eBlDyzxGkOZlfuTsodz8blsOjaQiuv7QOLJiAEJewamCSlRvQHtzEunnkcGFE8G WygVZ3N9Y4Bp8tWvUU5BoKkWRdaSzSXeTCRq79dTZxB5eBoNWOKZe+cJHvBGFoIvksCt rVoL8QUPWmAD00x5FtgyG8JNPkWenn6vsmCrNRAWzc6FEmOGue1EpYiBpi096iG1Yb7d Zd0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n+qjZucMTLS0LxVE6P98zXATI2cK33stmNynwpJ7wak=; b=wr0wMxpivyMsly4/4yN4aPjA63iJCewJMxSvk393I/dEvLm9TYfrlE8QGN6qv8TnIq tiTeHuMSw6bvBgwJxbBNXggdkcDwzbnQDON5+12h8TCxOGixqF2ooGbUFaM6dcIWaeQY 6dRTmwFT27HyTcKJwQKMgRgSMnqmqvIXof6wcv9wvk5jtWl/EVnaF4reZTMX0tV6XkGR CBpPRBSS9UB9Lhh1qViwk7x5SQpX3CpZw+std/WTBMvg4UnQoNi123yOmQjspcgTr+O6 xYODrJgv1NfztyuK2lhFksB6iWujPqz1Ckly0rewp9TygHYx6w/HK2ZW+z3XAFrXXsMN wDpg== X-Gm-Message-State: AOAM533qoOY81teGg8usPdJidnUyCtoPxl7GSPHbULMhavhDDNdqtPKl vtMtLLQ8GKYZY3ds7FajqKk= X-Google-Smtp-Source: ABdhPJy+4Z6qeYwqjNXHKSGNgRd1mNltKDPansPVzUVGvvUdMKusaO1cDbm50rWaJLbRryB7a3m17w== X-Received: by 2002:a05:600c:4782:b0:37b:f836:78c7 with SMTP id k2-20020a05600c478200b0037bf83678c7mr10282749wmo.129.1645187998615; Fri, 18 Feb 2022 04:39:58 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id b2sm19945745wri.35.2022.02.18.04.39.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:39:58 -0800 (PST) From: luca.boccassi@gmail.com To: Nipun Gupta Cc: Sunil Kumar Kori , dpdk stable Subject: patch 'examples/l3fwd: fix Rx burst size for event mode' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:37:38 +0000 Message-Id: <20220218123931.1749595-9-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/19524c9cb136ab9e94f986975fdc93cef50edd17 Thanks. Luca Boccassi --- >From 19524c9cb136ab9e94f986975fdc93cef50edd17 Mon Sep 17 00:00:00 2001 From: Nipun Gupta Date: Tue, 11 Jan 2022 10:35:46 +0530 Subject: [PATCH] examples/l3fwd: fix Rx burst size for event mode [ upstream commit 2e94304c8434968626cd39fd6afe393a905c7dd2 ] While dequeuing the packets from the event device, burst size is provided in the API. This was not getting properly configured in the application. This patch correctly configures the burst size. Fixes: aaf58cb85b62 ("examples/l3fwd: add event port and queue setup") Signed-off-by: Nipun Gupta Acked-by: Sunil Kumar Kori --- examples/l3fwd/l3fwd_event_internal_port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/l3fwd/l3fwd_event_internal_port.c b/examples/l3fwd/l3fwd_event_internal_port.c index 9916a7f556..49512ab1aa 100644 --- a/examples/l3fwd/l3fwd_event_internal_port.c +++ b/examples/l3fwd/l3fwd_event_internal_port.c @@ -118,6 +118,8 @@ l3fwd_event_port_setup_internal_port(void) event_p_conf.event_port_cfg |= RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL; + evt_rsrc->deq_depth = def_p_conf.dequeue_depth; + for (event_p_id = 0; event_p_id < evt_rsrc->evp.nb_ports; event_p_id++) { ret = rte_event_port_setup(event_d_id, event_p_id, -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:38.552528499 +0000 +++ 0009-examples-l3fwd-fix-Rx-burst-size-for-event-mode.patch 2022-02-18 12:37:37.506787811 +0000 @@ -1 +1 @@ -From 2e94304c8434968626cd39fd6afe393a905c7dd2 Mon Sep 17 00:00:00 2001 +From 19524c9cb136ab9e94f986975fdc93cef50edd17 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 2e94304c8434968626cd39fd6afe393a905c7dd2 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 1e8f46bc11..32cf657148 100644 +index 9916a7f556..49512ab1aa 100644