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 AA73DA0093 for ; Tue, 19 May 2020 15:00:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8B1561D5DE; Tue, 19 May 2020 15:00:25 +0200 (CEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by dpdk.org (Postfix) with ESMTP id B37461D62C for ; Tue, 19 May 2020 15:00:22 +0200 (CEST) Received: by mail-wr1-f50.google.com with SMTP id v12so15748553wrp.12 for ; Tue, 19 May 2020 06:00:22 -0700 (PDT) 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=falDQcCVqRwim5+Ydd4lEbcQY8O0JU1rY4Dm8pIMPzQ=; b=cxL2R5X32cnK+A88AVJ5bIcZseIOXEu/ApzSszyAiEKyIB+qJ7KAHCwJBAUPoNwUGC jdyfNv/9yyibGttonPaN7GP3oV4CUqoDwfwwh/t/gbdxe2Hf0r8T5lSd339ecZfP6MG4 nIVLLJipWOdFq7WdIucO6HaTJke/pWLPlKFbPp/tqllbL5hBXPOgiWpy+jk6g0YIIdlg aJ/jMvdlf+ZUMIg9uRqyREn8yDcDdOczO8yiw9qWpvNGIM+vOCBfHr3yZNZOGPhBLCWe hu0sQ86iWw4a/mxpmtd+Ygfzy/iYD8ufo8hz0XRQBZnwmoeedSFX27ZFxcvMN1O73LNh 14NA== 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=falDQcCVqRwim5+Ydd4lEbcQY8O0JU1rY4Dm8pIMPzQ=; b=KAKp3jM4ywR2sZ3tIKG3ChX/alUujlBrpbYR2PB3a4+ylxDMcc9tdOvzNB5bEe0yY9 4bBzuwyra3P6EMh9FfflwqEhAX9DE/mMy7k51hQHyP7liWEz49ixjIoh8R3PE6re+HrO 50dbveMhr921iC4ZIQ5a0jfcxtejYfGet2dPUaq+ljPnsj2odCVBCdqc7dy0LBYMUz1V TRxJgMZteJAuhz1eRM0Jtfr3VRvZ3LimqmUYzhvghJ+p2xB/k50RLis/43AbrLRo0qA2 zXuOdTJS7IVudLy8a9JryBI3ysy8QjutBS8JxuXaVBG7DTFQadFEyRY6Q9gw/8bn9WPv cDXA== X-Gm-Message-State: AOAM53266DDH+AnslppVasXrulYEKyKiBfWHuRi9QxO08EmIfqqZo5bH 1yeMB102ttXDXYWAP6D0Gj0= X-Google-Smtp-Source: ABdhPJy3pXxebRfMm9gzfbUVyCI8YLBg427Ihg3rhh0qVsfxTml2XnFZa434vJ81hHNcS6M6oiSa3A== X-Received: by 2002:a5d:5445:: with SMTP id w5mr25093345wrv.422.1589893222417; Tue, 19 May 2020 06:00:22 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id k13sm3622112wmj.40.2020.05.19.06.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:00:21 -0700 (PDT) From: luca.boccassi@gmail.com To: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Cc: Ola Liljedahl , dpdk stable Date: Tue, 19 May 2020 13:54:16 +0100 Message-Id: <20200519125804.104349-66-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519125804.104349-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'event/dsw: remove redundant control ring poll' has been queued to stable release 19.11.3 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.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/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 09a714399a2a771e7dea1c5d67092f4438ec889b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Mon, 9 Mar 2020 07:51:04 +0100 Subject: [PATCH] event/dsw: remove redundant control ring poll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 65388325f123c9e9a6ef2211804b7d259dc2dfab ] On dequeue, polling the control ring once is enough. Fixes: f6257b22e767 ("event/dsw: add load balancing") Suggested-by: Ola Liljedahl Signed-off-by: Mattias Rönnblom --- drivers/event/dsw/dsw_event.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/event/dsw/dsw_event.c b/drivers/event/dsw/dsw_event.c index eae53b2404..8ea68cd966 100644 --- a/drivers/event/dsw/dsw_event.c +++ b/drivers/event/dsw/dsw_event.c @@ -1194,11 +1194,6 @@ static uint16_t dsw_port_dequeue_burst(struct dsw_port *port, struct rte_event *events, uint16_t num) { - struct dsw_port *source_port = port; - struct dsw_evdev *dsw = source_port->dsw; - - dsw_port_ctl_process(dsw, source_port); - if (unlikely(port->in_buffer_len > 0)) { uint16_t dequeued = RTE_MIN(num, port->in_buffer_len); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 13:56:21.507227136 +0100 +++ 0066-event-dsw-remove-redundant-control-ring-poll.patch 2020-05-19 13:56:18.295503187 +0100 @@ -1,4 +1,4 @@ -From 65388325f123c9e9a6ef2211804b7d259dc2dfab Mon Sep 17 00:00:00 2001 +From 09a714399a2a771e7dea1c5d67092f4438ec889b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Mon, 9 Mar 2020 07:51:04 +0100 Subject: [PATCH] event/dsw: remove redundant control ring poll @@ -6,10 +6,11 @@ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +[ upstream commit 65388325f123c9e9a6ef2211804b7d259dc2dfab ] + On dequeue, polling the control ring once is enough. Fixes: f6257b22e767 ("event/dsw: add load balancing") -Cc: stable@dpdk.org Suggested-by: Ola Liljedahl Signed-off-by: Mattias Rönnblom @@ -18,10 +19,10 @@ 1 file changed, 5 deletions(-) diff --git a/drivers/event/dsw/dsw_event.c b/drivers/event/dsw/dsw_event.c -index 04f0e9cab6..c31a4c492f 100644 +index eae53b2404..8ea68cd966 100644 --- a/drivers/event/dsw/dsw_event.c +++ b/drivers/event/dsw/dsw_event.c -@@ -1328,11 +1328,6 @@ static uint16_t +@@ -1194,11 +1194,6 @@ static uint16_t dsw_port_dequeue_burst(struct dsw_port *port, struct rte_event *events, uint16_t num) {