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 68CBEA055A for ; Thu, 27 Feb 2020 10:35:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6042A1C01; Thu, 27 Feb 2020 10:35:12 +0100 (CET) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by dpdk.org (Postfix) with ESMTP id E8DC11BFE6 for ; Thu, 27 Feb 2020 10:35:10 +0100 (CET) Received: by mail-wr1-f46.google.com with SMTP id z15so2450286wrl.1 for ; Thu, 27 Feb 2020 01:35:10 -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=Fxt6Fcof6GsWQhvyzk+VJtA7DaYJm+HO59Yl8dHlv+Q=; b=VcTvTNpWiw0kQo7vIUiENIxlPPvU5R3FRHR0rsg7urvA7sK02e1R7TVbfVdGm8RMUL Kb3WsnRl14wvBVZIrZFuSuXE22aF066fRd8zM1cDJWG4N0Np5CbPmHzaGAjPfYz/MMlW iWVViIy+rK0cFw8RaAyeRck+GkoNpd1XUVPvAQmO2Xwef1wSyJsU0LGUEXIeTTU4MQlM 68I6dPFuClWnLW136kQ+y11cPm/8klXnmq+vcW9BeE0R9SUQIvjM9/hv5OGA7hj7zqAV NkgocRI6ZqCN7pskJyUx6JHCnMaECB2ljyRdEZc5s2TpLY1RjXdt6bgCRZ3jmg0Ugy0W xT3w== 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=Fxt6Fcof6GsWQhvyzk+VJtA7DaYJm+HO59Yl8dHlv+Q=; b=kkuMcz19ts1kRkgFjsDtboAEFTx5jV9bmMgI9POF2Kxhru605hbICVtz0Bj7pDW/Bk HKxLdmNBgPu35LoVrBrYDg6GLtzdLLH6v2C+MfRqTWbdPwA+aAnDB1rPiy34XficgXCI vKk2R0aWy18/vU4IOk5wSDxOYqL0vwB2jKJp0TeHCroOaLkyk9F0mb5QVhLLsPFEwP2j 2eyPTzVbSJ+5t0XYQPlPmBn/LAK38lvc8RJ2H7fnPnMX4bC5xRb6P4SiG5fVQg+BPaSq vqALv0ikGQGpmfXEI0ETLhU1Qiy7rPJ+2ARt6XP4qnnRaEpJEsYHScNjRd5ivWGLelz1 IU0Q== X-Gm-Message-State: APjAAAX2Z2TPg8V7aIKeInTcto7gBo2XmKVrWPQJFdNyD5LgNdlwgCwU s0/It23kfARIpi7FXOMCdOQ= X-Google-Smtp-Source: APXvYqzowVEpuHEy3oXps56Wwp71Lxlt5Pn4n1PlPdUKUNhnxL0C/9VIveLvs7GdNwGsSo31+fCnRw== X-Received: by 2002:adf:fecf:: with SMTP id q15mr3984704wrs.360.1582796110670; Thu, 27 Feb 2020 01:35:10 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id h2sm7246930wrt.45.2020.02.27.01.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 01:35:10 -0800 (PST) From: luca.boccassi@gmail.com To: Xiaoyun Li Cc: Xiaolong Ye , David Marchand , dpdk stable Date: Thu, 27 Feb 2020 09:33:43 +0000 Message-Id: <20200227093402.17690-23-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200227093402.17690-1-luca.boccassi@gmail.com> References: <20200217174546.25334-54-luca.boccassi@gmail.com> <20200227093402.17690-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/tep_term: remove redundant info get' 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/29/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 f94726915ef28f85d13b307a43d879f71b0c2f23 Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Mon, 17 Feb 2020 09:41:15 +0800 Subject: [PATCH] examples/tep_term: remove redundant info get [ upstream commit d0e160a00233b00ba6d242d5fc054438caae6873 ] Removed redundant function call of 'rte_eth_dev_info_get()' since it has already been called earlier. Coverity issue: 349922 Fixes: 2bb43bd4350a ("examples/tep_term: add TSO offload configuration") Signed-off-by: Xiaoyun Li Reviewed-by: Xiaolong Ye Acked-by: David Marchand --- examples/tep_termination/vxlan_setup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/tep_termination/vxlan_setup.c b/examples/tep_termination/vxlan_setup.c index eca119a728..4b44ccc143 100644 --- a/examples/tep_termination/vxlan_setup.c +++ b/examples/tep_termination/vxlan_setup.c @@ -194,8 +194,6 @@ vxlan_port_init(uint16_t port, struct rte_mempool *mbuf_pool) ports_eth_addr[port].addr_bytes[5]); if (tso_segsz != 0) { - struct rte_eth_dev_info dev_info; - rte_eth_dev_info_get(port, &dev_info); if ((dev_info.tx_offload_capa & DEV_TX_OFFLOAD_TCP_TSO) == 0) RTE_LOG(WARNING, PORT, "hardware TSO offload is not supported\n"); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-27 09:31:56.569965975 +0000 +++ 0023-examples-tep_term-remove-redundant-info-get.patch 2020-02-27 09:31:55.743945932 +0000 @@ -1,14 +1,15 @@ -From d0e160a00233b00ba6d242d5fc054438caae6873 Mon Sep 17 00:00:00 2001 +From f94726915ef28f85d13b307a43d879f71b0c2f23 Mon Sep 17 00:00:00 2001 From: Xiaoyun Li Date: Mon, 17 Feb 2020 09:41:15 +0800 Subject: [PATCH] examples/tep_term: remove redundant info get +[ upstream commit d0e160a00233b00ba6d242d5fc054438caae6873 ] + Removed redundant function call of 'rte_eth_dev_info_get()' since it has already been called earlier. Coverity issue: 349922 Fixes: 2bb43bd4350a ("examples/tep_term: add TSO offload configuration") -Cc: stable@dpdk.org Signed-off-by: Xiaoyun Li Reviewed-by: Xiaolong Ye