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 D9E4BA04B4 for ; Fri, 8 Nov 2019 15:51:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C140D1C21B; Fri, 8 Nov 2019 15:51:53 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9F2D61C200; Fri, 8 Nov 2019 15:51:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2019 06:51:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,281,1569308400"; d="scan'208";a="286509917" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 08 Nov 2019 06:51:48 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 8 Nov 2019 06:51:48 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.213]) with mapi id 14.03.0439.000; Fri, 8 Nov 2019 22:51:46 +0800 From: "Xu, Rosen" To: Kevin Traynor , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH 6/9] net/ipn3ke: remove commented out code Thread-Index: AQHVeFjN6SaTauiAWEq9zv7QAWaDaKeBl0cA Date: Fri, 8 Nov 2019 14:51:46 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D73AB393A6@SHSMSX104.ccr.corp.intel.com> References: <20191001125315.6191-1-ktraynor@redhat.com> <20191001130405.7076-1-ktraynor@redhat.com> <20191001130405.7076-5-ktraynor@redhat.com> In-Reply-To: <20191001130405.7076-5-ktraynor@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzU3ZTJhNjEtNmViMi00YjgyLWEyZWMtMDdiMzg1ZmY4ZWEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWWI0cTVtNmc4bjhuSkhOQjVcL0UxNk5qSU1ZelNoYWZyazBJa0R5SjN3cXZTYWlJSXZoQkVJN0YxT2NaTVBuMTMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 6/9] net/ipn3ke: remove commented out code 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, > -----Original Message----- > From: Kevin Traynor [mailto:ktraynor@redhat.com] > Sent: Tuesday, October 01, 2019 21:04 > To: dev@dpdk.org > Cc: Kevin Traynor ; Xu, Rosen > ; stable@dpdk.org > Subject: [PATCH 6/9] net/ipn3ke: remove commented out code >=20 > These struct members and variable were commented out. Remove them. >=20 > Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") > Fixes: c820468ac99c ("net/ipn3ke: support TM") > Cc: rosen.xu@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Kevin Traynor > --- > drivers/net/ipn3ke/ipn3ke_ethdev.h | 7 ------- > drivers/net/ipn3ke/ipn3ke_tm.c | 1 - > 2 files changed, 8 deletions(-) >=20 > diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.h > b/drivers/net/ipn3ke/ipn3ke_ethdev.h > index c7b336bbd..0d71dcd64 100644 > --- a/drivers/net/ipn3ke/ipn3ke_ethdev.h > +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.h > @@ -97,18 +97,11 @@ struct ipn3ke_tm_node { struct ipn3ke_tm_hierarchy > { > struct ipn3ke_tm_node *port_node; > - /*struct ipn3ke_tm_node_list vt_node_list;*/ > - /*struct ipn3ke_tm_node_list cos_node_list;*/ > - > uint32_t n_shaper_profiles; > - /*uint32_t n_shared_shapers;*/ > uint32_t n_tdrop_profiles; > uint32_t n_vt_nodes; > uint32_t n_cos_nodes; > - > struct ipn3ke_tm_node *port_commit_node; > struct ipn3ke_tm_node_list vt_commit_node_list; > struct ipn3ke_tm_node_list cos_commit_node_list; > - > - /*uint32_t n_tm_nodes[IPN3KE_TM_NODE_LEVEL_MAX];*/ > }; >=20 > diff --git a/drivers/net/ipn3ke/ipn3ke_tm.c > b/drivers/net/ipn3ke/ipn3ke_tm.c index a93145d59..5a16c5f96 100644 > --- a/drivers/net/ipn3ke/ipn3ke_tm.c > +++ b/drivers/net/ipn3ke/ipn3ke_tm.c > @@ -1088,5 +1088,4 @@ ipn3ke_tm_node_add_check_mount(uint32_t > tm_id, > struct rte_tm_error *error) > { > - /*struct ipn3ke_tm_internals *tm =3D > IPN3KE_DEV_PRIVATE_TO_TM(dev);*/ > uint32_t node_index; > uint32_t parent_index; > -- > 2.21.0 Reviewed-by: Rosen Xu