From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CD1DEA0553 for ; Mon, 17 Feb 2020 18:47:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BDB6C1DA12; Mon, 17 Feb 2020 18:47:33 +0100 (CET) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id 237161DAA0 for ; Mon, 17 Feb 2020 18:47:31 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id a5so207310wmb.0 for ; Mon, 17 Feb 2020 09:47:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LNYhpbt+QSIx4kyr79wv7wFOfaJ/dUSV4keysRRi+ss=; b=lDtdzgXIkDW9erygxVZJml9ELWJ+ttc7bCU0BiIXCP5Nwu+n61Z9B2+0R3TsWaYhNV Wd0RfndcwwgPkVukGdclIP4kAwMV6AfbGaC2t1V8NLsKFMtAVTwtL9Na7a8cVLmZZtDE NqMQ8zlAp48yuj/6szH5aBIZXKoOFTL6S3y5dZXBbNfDBzSl2zbt47Plx47o3UPiLIKI tMgL+wDtcmheKhibWfWSs3mNw686LEQ0m8rVLqiCqZ0ZUS779fdfvI0bOrU1iE6WUd44 kZ/q+hn1FIm7yY7eIjZqlp9VRuGwoMZSVmAkhhTib5hGACQ3T00WXAyhMeQb/NhCCVuF l5Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LNYhpbt+QSIx4kyr79wv7wFOfaJ/dUSV4keysRRi+ss=; b=INafirUIntxK8RHV8L8o+p845GpyFNBpQWcSxdS05aoQZ5dAx+hdjlxfo+vbMsi2IC qWnuinu3YdvEtFsdC1WzurpM3cxmuF7hrnueiWOX8r6fBvg7VvFcu1MJTpKMgOI2yvqb pmAkcG7d/on5KzRzV/ACY1QzQTME+MRNS5ETUho7v835gg6UIFKWmtsH/H3O+1PKmYe0 sZzG2zrZL7jbGJF7CHY6zT374zbuNIjVfU/ekmEUkDTqeBV6RsQHj2Atx2KNnoXpbB6r MJVzoYQOa9tDzvuBmVfZRXJ+Q8WdGXk5AjGWujwOE4I3vw/MK66FKutQ9WWWk7pMzFdP HGYw== X-Gm-Message-State: APjAAAXORSqkczEY/B4AZ+8pGMPtdB0mgJDWL/XAssbyn2bHL/dOx9Uz HzXX+ADaF2C9gTpM9uWy9W+ztKVBcKNRHQ== X-Google-Smtp-Source: APXvYqx0Z4zBIFonf0neU3HwaRsyL/12hDPrkSXDQw2WtPTD7tbnaX2cTzPvHAyLveQV/CZxEtznRQ== X-Received: by 2002:a7b:ce84:: with SMTP id q4mr143190wmj.57.1581961650858; Mon, 17 Feb 2020 09:47:30 -0800 (PST) Received: from localhost (userh634.uk.uudial.com. [194.69.103.7]) by smtp.gmail.com with ESMTPSA id 133sm192236wme.32.2020.02.17.09.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 09:47:30 -0800 (PST) From: luca.boccassi@gmail.com To: Pavan Nikhilesh Cc: dpdk stable Date: Mon, 17 Feb 2020 17:45:43 +0000 Message-Id: <20200217174546.25334-51-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200217174546.25334-1-luca.boccassi@gmail.com> References: <20200211112216.3929-190-luca.boccassi@gmail.com> <20200217174546.25334-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/l2fwd-event: fix core allocation in poll mode' has been queued to stable release 19.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.1 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/19/20. 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. Thanks. Luca Boccassi --- >From fc30c8dfc077607d73f9e019c1b4e3a5506a34be Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Mon, 3 Feb 2020 10:16:18 +0530 Subject: [PATCH] examples/l2fwd-event: fix core allocation in poll mode [ upstream commit c3a09b17db781469e7fe321e6babb1bda1dd91e6 ] Skip master lcore when assigning cores to rx_queues as it is only used to print stats. Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines") Signed-off-by: Pavan Nikhilesh --- examples/l2fwd-event/l2fwd_poll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/l2fwd-event/l2fwd_poll.c b/examples/l2fwd-event/l2fwd_poll.c index a3a3835582..2033c65e54 100644 --- a/examples/l2fwd-event/l2fwd_poll.c +++ b/examples/l2fwd-event/l2fwd_poll.c @@ -116,6 +116,7 @@ l2fwd_poll_lcore_config(struct l2fwd_resources *rsrc) /* get the lcore_id for this port */ while (rte_lcore_is_enabled(rx_lcore_id) == 0 || + rx_lcore_id == rte_get_master_lcore() || poll_rsrc->lcore_queue_conf[rx_lcore_id].n_rx_port == rsrc->rx_queue_per_lcore) { rx_lcore_id++; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-17 17:00:16.728206280 +0000 +++ 0051-examples-l2fwd-event-fix-core-allocation-in-poll-mod.patch 2020-02-17 17:00:15.379951475 +0000 @@ -1,13 +1,14 @@ -From c3a09b17db781469e7fe321e6babb1bda1dd91e6 Mon Sep 17 00:00:00 2001 +From fc30c8dfc077607d73f9e019c1b4e3a5506a34be Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Mon, 3 Feb 2020 10:16:18 +0530 Subject: [PATCH] examples/l2fwd-event: fix core allocation in poll mode +[ upstream commit c3a09b17db781469e7fe321e6babb1bda1dd91e6 ] + Skip master lcore when assigning cores to rx_queues as it is only used to print stats. Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines") -Cc: stable@dpdk.org Signed-off-by: Pavan Nikhilesh ---