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 72CB4A0561 for ; Thu, 27 Feb 2020 18:39:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 538F72C02; Thu, 27 Feb 2020 18:39:27 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id B7FB62C02 for ; Thu, 27 Feb 2020 18:39:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582825165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6ufmfNQcxpPOM2iZ7mUqB5LKJJbHOxqQJgGavvRqQYU=; b=Pct6WEkChs/2taisrb9mswJCCl/pNP3CwA7qQXJWo35cc1QmTukT+ooj1Gx8Qz1/wttJ7c h1s6cWupI/KWXD+NqQc97zO65bj8bT0WOSec+Uk0Ezr1jFkzpkBVXN3Uy37YlLfalq/M7f SvxJ1Duw7HI9bMc45LXEVi1yZqU6Uxs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295-cbeTNSPKMz6R_RWVKF4wpA-1; Thu, 27 Feb 2020 12:39:22 -0500 X-MC-Unique: cbeTNSPKMz6R_RWVKF4wpA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 13CB618C35A2; Thu, 27 Feb 2020 17:39:21 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.123]) by smtp.corp.redhat.com (Postfix) with ESMTP id B42968AC42; Thu, 27 Feb 2020 17:39:12 +0000 (UTC) From: Kevin Traynor To: Xiaoyun Li Cc: Xiaolong Ye , David Marchand , dpdk stable Date: Thu, 27 Feb 2020 17:38:04 +0000 Message-Id: <20200227173807.28004-13-ktraynor@redhat.com> In-Reply-To: <20200227173807.28004-1-ktraynor@redhat.com> References: <20200227173807.28004-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'examples/tep_term: remove redundant info get' has been queued to LTS release 18.11.7 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 LTS release 18.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/02/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 rebasi= ng (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/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/29355ff65d0e40efc5= a0edf3cb19223091575296 Thanks. Kevin. --- >From 29355ff65d0e40efc5a0edf3cb19223091575296 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_terminat= ion/vxlan_setup.c index ad7fbe9c61..5187a7d41f 100644 --- a/examples/tep_termination/vxlan_setup.c +++ b/examples/tep_termination/vxlan_setup.c @@ -191,6 +191,4 @@ vxlan_port_init(uint16_t port, struct rte_mempool *mbuf= _pool) =20 =09if (tso_segsz !=3D 0) { -=09=09struct rte_eth_dev_info dev_info; -=09=09rte_eth_dev_info_get(port, &dev_info); =09=09if ((dev_info.tx_offload_capa & DEV_TX_OFFLOAD_TCP_TSO) =3D=3D 0) =09=09=09RTE_LOG(WARNING, PORT, --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-27 17:26:24.460908852 +0000 +++ 0013-examples-tep_term-remove-redundant-info-get.patch=092020-02-27 17:= 26:23.660830890 +0000 @@ -1 +1 @@ -From d0e160a00233b00ba6d242d5fc054438caae6873 Mon Sep 17 00:00:00 2001 +From 29355ff65d0e40efc5a0edf3cb19223091575296 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit d0e160a00233b00ba6d242d5fc054438caae6873 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index eca119a728..4b44ccc143 100644 +index ad7fbe9c61..5187a7d41f 100644 @@ -24 +25 @@ -@@ -195,6 +195,4 @@ vxlan_port_init(uint16_t port, struct rte_mempool *mbu= f_pool) +@@ -191,6 +191,4 @@ vxlan_port_init(uint16_t port, struct rte_mempool *mbu= f_pool)