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 2E584A0A0C for ; Tue, 3 Aug 2021 14:23:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 280CB40E3C; Tue, 3 Aug 2021 14:23:08 +0200 (CEST) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mails.dpdk.org (Postfix) with ESMTP id 48E3B411D6 for ; Tue, 3 Aug 2021 14:23:07 +0200 (CEST) Received: by mail-wm1-f47.google.com with SMTP id e25-20020a05600c4b99b0290253418ba0fbso2016353wmp.1 for ; Tue, 03 Aug 2021 05:23:07 -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=g57vdNYE1U5arnfidVUGJ/cq5j1i6Rm9U3vIYWaF0Vk=; b=jb67kyGT+QAaYoE5iOffsYkV1zy46yf32SgaMop8NK0NOdZNf3eg5JPZWSiFvaR1B7 6rqGALeW3EvZn3/yC3GSiEuItuiNh32QfR3bqVbLK/KvOeA5PCghr0TwgUkI96Jq/u9o whIR8N16SEbDmep8Agq3jgQsayQBkqLXIyu9H+oWHlXBRRR1HgQLkTnWkRJvnaYDxccB dh3EkopUMgFQBibXO1AX7aM6PvoyIZ9hnyKVbMlX8BORph18xr77yxk/6x7cJIzx/sLN 0I1XRW31W1ovCVJoypa9udL4Nj217dHyQav5rr8F8J+D6ZMI+Ua5RZGQ4sO7L9m2fCNL 1Egw== 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=g57vdNYE1U5arnfidVUGJ/cq5j1i6Rm9U3vIYWaF0Vk=; b=dKvhRimptxZ8SfGl/IqkLR00Gle1USUpQbm1thO6DHbX0rGQBnL3UWSaXczDKAf2jW 9y3hyQ/RUk5cQ3eJH9+d48ovHZLf6hwaPgjkY38/8HoGTDfFprH+5wU5EuYaQ6Jz4DSw TLoY1vRxdE96Da9ahZFJ7kePZkElGMLncmsOIvgqG2SIUiMlZIeU4BySHBevK4xgEgQV 2q6ig1O2KEAmjc3+/SUrCRowG8ik6kkQ+26/9xeL3jI5pYCYNoRaxWX9vxlEgLgwdHMo ma39vIHEJuE5XYuTp0CbN4QbRKZ59A07yXHNqMqygv7jnnOjH0eztQtPD6fhPWKbAhO4 e/hQ== X-Gm-Message-State: AOAM532HixnWr9hNSRUfnjcoCiM4f1lEunu8zMXkPdwqlrRTSRtJVh8n TNZYIBK7VTz2MP4Xm/lxmlQ= X-Google-Smtp-Source: ABdhPJx3xQQUV+2hs3xfeYcttbqKDWMU8exzlyOKKf83eJZDZWUFOpHdF18FATKcDe4BsVluAbVelg== X-Received: by 2002:a1c:1b55:: with SMTP id b82mr4078876wmb.121.1627993387056; Tue, 03 Aug 2021 05:23:07 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id e5sm17410890wrr.36.2021.08.03.05.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 05:23:06 -0700 (PDT) From: luca.boccassi@gmail.com To: Naga Harish K S V Cc: dpdk stable Date: Tue, 3 Aug 2021 13:22:07 +0100 Message-Id: <20210803122214.1094992-18-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210803122214.1094992-1-luca.boccassi@gmail.com> References: <20210726135322.149850-59-luca.boccassi@gmail.com> <20210803122214.1094992-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'eventdev: fix event port setup in Tx adapter' has been queued to stable release 20.11.3 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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 08/05/21. 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/d06cadbbbd9de7abed4b06c650bccccaa8896ca5 Thanks. Luca Boccassi --- >From d06cadbbbd9de7abed4b06c650bccccaa8896ca5 Mon Sep 17 00:00:00 2001 From: Naga Harish K S V Date: Sat, 24 Jul 2021 09:10:36 -0500 Subject: [PATCH] eventdev: fix event port setup in Tx adapter [ upstream commit 6922655cad74f1f74917567181b8aa55006300de ] The event port config set by application in rte_event_eth_tx_adapter_create API is modified in default configuration callback function. This patch removes this hardcode to use application provided event port config value. Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation") Signed-off-by: Naga Harish K S V --- lib/librte_eventdev/rte_event_eth_tx_adapter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_eventdev/rte_event_eth_tx_adapter.c b/lib/librte_eventdev/rte_event_eth_tx_adapter.c index cc27bbca32..a122750fd9 100644 --- a/lib/librte_eventdev/rte_event_eth_tx_adapter.c +++ b/lib/librte_eventdev/rte_event_eth_tx_adapter.c @@ -286,7 +286,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t dev_id, return ret; } - pc->event_port_cfg = 0; ret = rte_event_port_setup(dev_id, port_id, pc); if (ret) { RTE_EDEV_LOG_ERR("failed to setup event port %u\n", -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-03 12:35:08.940616013 +0100 +++ 0018-eventdev-fix-event-port-setup-in-Tx-adapter.patch 2021-08-03 12:35:08.238819208 +0100 @@ -1 +1 @@ -From 6922655cad74f1f74917567181b8aa55006300de Mon Sep 17 00:00:00 2001 +From d06cadbbbd9de7abed4b06c650bccccaa8896ca5 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 6922655cad74f1f74917567181b8aa55006300de ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ - lib/eventdev/rte_event_eth_tx_adapter.c | 1 - + lib/librte_eventdev/rte_event_eth_tx_adapter.c | 1 - @@ -20,4 +21,4 @@ -diff --git a/lib/eventdev/rte_event_eth_tx_adapter.c b/lib/eventdev/rte_event_eth_tx_adapter.c -index db260bfb68..18c0359db7 100644 ---- a/lib/eventdev/rte_event_eth_tx_adapter.c -+++ b/lib/eventdev/rte_event_eth_tx_adapter.c +diff --git a/lib/librte_eventdev/rte_event_eth_tx_adapter.c b/lib/librte_eventdev/rte_event_eth_tx_adapter.c +index cc27bbca32..a122750fd9 100644 +--- a/lib/librte_eventdev/rte_event_eth_tx_adapter.c ++++ b/lib/librte_eventdev/rte_event_eth_tx_adapter.c