From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730045.outbound.protection.outlook.com [40.107.73.45]) by dpdk.org (Postfix) with ESMTP id 7A59A2C38 for ; Sun, 7 Oct 2018 14:23:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WmTeN9uTIBnUNbIAIQVZQnJcLL1iuhfY9ucaaEy9QzA=; b=QO5LKSciY8FAxXE61HQc5HjFh2FIl60M4/Qgsg+as02cs7+/pJ5KyalqlXKoIlMl82VDNTOEMAOC5mm4rHeh24U162Ur66cD3HXQDkR8/zQ1Ep65JEVWAR1a4h4sh0Tt1vbdd1S+GE9vypY2x328FtlnCAxuRrId/GpoObtZxwA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by DM6PR07MB5003.namprd07.prod.outlook.com (2603:10b6:5:25::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Sun, 7 Oct 2018 12:22:53 +0000 Date: Sun, 7 Oct 2018 17:52:36 +0530 From: Jerin Jacob To: Ferruh Yigit Cc: Reshma Pattan , Hemant Agrawal , Shreyansh Jain , Ashish Gupta , Fiona Trahe , Pablo de Lara , Akhil Goyal , Declan Doherty , Fan Zhang , Rahul Lakkireddy , Gaetan Rivet , Qi Zhang , Xiao Wang , Beilei Xing , Wenzhuo Lu , Konstantin Ananyev , Rasesh Mody , Harish Patil , Shahed Shaikh , Andrew Rybchenko , Jasvinder Singh , Cristian Dumitrescu , Keith Wiles , Nipun Gupta , Anatoly Burakov , Thomas Monjalon , Olivier Matz , Ashish Gupta , dev@dpdk.org Message-ID: <20181007122235.GC2335@jerin> References: <20181004034047.26824-1-ferruh.yigit@intel.com> <20181005162612.31906-1-ferruh.yigit@intel.com> <20181005162612.31906-4-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005162612.31906-4-ferruh.yigit@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR0101CA0032.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::18) To DM6PR07MB5003.namprd07.prod.outlook.com (2603:10b6:5:25::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 53b82cd3-5b11-4790-544e-08d62c4fa0eb X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:DM6PR07MB5003; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 3:e75lt0yqT/l3fbE8E8X8j8/rlapajmErnix+FyFEE5a20rHEc0/eblAbMxMRatY+v7YeiUcVom32TkF5gMUaZxezmnvsuOUyOiPOXXl6v0JLks7FAUtK2pkL9c8rUKR0SHYeZwp+/O3J5VlDyVaSLm02H4h+qTmWBo6z29vQQTsJLcdGEG11Z9H94fCB3st8by2M2CCadAPZpSCg0JNsnytQx4L2unEFcLZzVh3eq+PII2+JJHTdn69LUpqulLj4; 25:Dvw+HvWPQOROIt1qhynKfWKJeJJwniCjdGdis/tKzQ7fCaPtMsHlJ2a8Bq3ygvqGP5/GjCLZs2KqZMBLdT/hyhD5C4wPPKFPt5QmFf6B/sOBqmVK2u3hI5YwrtcUK4snnSwEFtLtpSH/khlTHKlCkQkZcfJfEb23vD+v38uERgOEiC/UsoXGchGsZYZy+6ro9UB5irYXgO0Rpx3dB35zPqfyOJqUltbAtquOitMzIhcEVVmb0GCabhU7C9FFXCJw0YFpi62LGPpets+FvmUDHkc8sOxPfinUU+BS6Mz8YXo+WMBndUmvh05168DrxOFPI1Fu8CA84GgdoSO1FwZE4w==; 31:bW/2VMwLci0Fc0XA1F9q48LjoNkD1xkCtFYntgwuBkTYEti9y7MKhgNkET7GiCNk6hYBSqbnoAHF2FiJO2yfx1eb0MDGLz4RQ3YlAJOoSUUK2u1RPSfNtrmHmBQQUyNLgyvvWjQZztb9HDMg3N5iOXfQ48HeRqRdQH+m5FjQqusT80SSsfoDp9e0siTnhRDs7irQEtZMgNe3HpFJyoGSpXXWCoMseL26XoexENhpSBU= X-MS-TrafficTypeDiagnostic: DM6PR07MB5003: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 20:91VdUeqO6ure2/KZkjIgfRoaxk9iO0G/mwplMU1IISc1ahNo4GFEa6hFbhN0gWvdUxH61SmfK+ImyK54rZ4BosP5CyYZOUA66BqHUvE/rseNMUqkvcN40ShWoiH2PNkNSegIpsVsImAD/gtAhDupOpClXnWLdIp6itTbTdNTRIM94dgT1EdxAcNmWcJMfjRJKyz22ZWsk8yVpWkhGQ9z7xk4mwV2EfGpKk9aQQza6MoZdi65ob8npRnoMoe3JA5g/uo4Q1Lw9WS5YKLgNnwqpsiVHzxpRFZElV9+IPV3dcQ1G0Ql13ahhl8wuPSjjN/eA9A2qWBC7MinDbC7Z6kLU0FNba8+VFLafRNCZkAMci1dnFFFWkuMwNEWW6KHRQZKk6H30F1ENKg0GfH1vi3f8lQ94Q+zzaVxP/Tzm+dTqptRioHJ2Ra6D32U9VJ/wXF2P4mphleJwC73n9oniFTbMs/dLLwGFPaVbbyl+nxc+6bXCDjOwSIAaTUrd6R9Ms9kCW7Oz8FDZ8vMpv7pG2YU8uzLO2txTgspk5aouQ7UqXfXYYcUYQWRRh5HC4O3cIjYhQfdOwW/Ln6Y/5Lv8RxjqcEqP+bZGk2O0N2GjkJ07uw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699)(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DM6PR07MB5003; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB5003; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 4:Jst1yi+s5PlK87MiPe7lHT68WxqSTcawrko3f5mBTfreiSNQXoEcVFDB5cZ3MSmPacJRMGViwwu5FXEWy5Yjwv9JcDbXevmYwDKqe6a2jmp18tE4dmyb1ys6z1ELO6xBlHGg2yn8TuiBnmAwwuNAbhdDDM9QYXGMC3pd0UtiTgROQJb1LYh4lSGI/RUPxRT4rKZUPfSbxC+cdd8Hbm1q2puNWp4eJJegMUfqqjPTfBaSMO/hUxzAAg/IeP3we/p8fhG8gI7O36+/xPk0NNfxYFHbZH60O7U3zVm74ePkcaoct7hSOHizu5HtsLkjETctcKpRZoE7OYy6/kvGgiRW1j3p0Xpd5uuKQrz12x8b6KE= X-Forefront-PRVS: 0818724663 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(39860400002)(346002)(376002)(13464003)(189003)(199004)(42882007)(8936002)(229853002)(446003)(105586002)(106356001)(486006)(53936002)(2906002)(4326008)(68736007)(72206003)(476003)(956004)(478600001)(11346002)(97736004)(25786009)(5660300001)(55236004)(66066001)(26005)(47776003)(50466002)(316002)(6246003)(16526019)(16586007)(186003)(7736002)(305945005)(6916009)(33656002)(1076002)(58126008)(9686003)(7416002)(81166006)(81156014)(33896004)(54906003)(8676002)(6496006)(23726003)(44832011)(386003)(52116002)(6116002)(55016002)(33716001)(3846002)(76176011)(6666003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB5003; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB5003; 23:KC4bZUrkvoACserrfHMpoNCb8rUyMBWK1GL0Z/tQk?= =?us-ascii?Q?SrRe8ZOqlmLsbJ66NFmjX90KH4o5ac97+kq253U5wjeQ6h4iF00N9TBaHVgT?= =?us-ascii?Q?khowanF0ZIStxpWQ2WTu5sWwDCaWSoIH2T2itMxJqe//GKL50aucFNR1vZsm?= =?us-ascii?Q?LuPXB4fIH+tRzPgnbpUSwlqI93tJZzIAnxcK1DwfUiCkekgI07Ak7dC6ldca?= =?us-ascii?Q?SIErrDTztS9AMnUiiJfkZBeToHx2Gm4iBh/jKJKGIfvQyCI6xHMDtwyfly4T?= =?us-ascii?Q?YcdzzTeUE2HsPDtQzAA28oKHDhVXVwEUdbgCtVVHVqeupKYuFY09JgG8bzn2?= =?us-ascii?Q?CH5ac1uzHFCAZxcgrGsNn17N2fysm0IKh0KNW7f4PIcTF1qS5rAg5zs76LAh?= =?us-ascii?Q?cueAe4S66uSrg4PGWLT7pUNjTqEhKwUgp0QLOJcEpOjiwdj7K0WTydIWA6kh?= =?us-ascii?Q?VdRrRcPV3Yz3qIfkbb0Nmv/LjioGAaW/p28mtdNMl0yHJzM1Bhmn/qzz/R27?= =?us-ascii?Q?5Tjoz2RNTwa7KtXIQTt0OMneiLLfs4inAr+vD10FLbdBo61cCumwCLAi6+Jm?= =?us-ascii?Q?YLxJ1eAfw+jhPI52Eju6/O/L6MS1HW7pPiqEqklaXtoNV2c4sau2hpg43mUz?= =?us-ascii?Q?CibR6JUWrNM/eoubqnUlWhed7clnsAlwXrCnQJr+Q4PW3qMr85zTSIylrsZf?= =?us-ascii?Q?3aMXVbrOkh+DvVrreOixQOGQk/rFEjRFx+Yq8yZ5ZEG2wZOwmmsMuoxAXpT0?= =?us-ascii?Q?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8syCt+sd3y8mEOt885Vi91jugSaQFINUEhUcVBb/BinyCUEYeBsQ95o7O2+3tVA1vqqdRI2MQ= X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB5003; 6:TYDcGOelz0dYDRcKj+Pc+5nJ60KDQlLbWwOn9Ujl6T3wV9R4FPsR+fVtUyMKtc8q5tqhTPAd0qu47rooHJn3pKgGsLnLRQgadh/DbbmVZoXcnK5p9jQdvnMmPI7PtnsWcHoGEbYtz9FfrEypqiA97KfUPKGTBs5YvKAcneaohTfWWJIz2zorx60YBctCkzeS4VXreviYJl7TH9F1ZuXCVlnzWwj8QvMVqpHUrw7riwIcSWEXiHO/2qS1NMMxLqc8nF08hIBoLsAbVQRYBwZXQHs33t4Mj/4SWr5jDb731mBqyrYvPwlLspiYRckAbWVfHYT/l6BS9O7apWWPAFUhQTVlgcrDIRtVEsDFKuTRpV7DmBvbn//5fYGk2Zzk7+f2h/cKttjjG3IX0m8CmZBuepif4SSEixnRqbj4ds7K7m1MpMVxvlA5ydoxvFg2NrXiimTXDply/DSRoNiszSmwtw==; 5:gydgVgW/WSrURJx6owK2e6m0ZEvs9xFEAQbALTjIDU5VKaYKfmk8jxpicp1GO2udyw0ctSceNpqmHWMiBjCX4IxYw0hbOOfMGj2CqO/AV/4nCtSUT9k26vgN5iJH9e4nUEygUNJVp7ItzaOAlqkbA7cqZzcebWpGb8buL5YEL7A=; 7:SOTxu8hgTmI+oUpVu68H5cdUo3sMiI6pPK8khysDyVx8AhRufXttXnW3BijrpQ9mOYNi0j5KeJUr+5PvJFyD7Z2fEs+H5rXNUiFL6+bFN/47MoqeJ1By55BNUmkbIktWNmlnezOLwql4+0UGEYWkN6+iI0z73CfEZ3JnJfnP25jCatwyoyjrQfvs06R8my+JHjNi1KAK+4DJWtEwBjd/qNHQOf9zrAuaFR8MLCeTvGWfbyIIxcYQmmXyCoc7Tvzd SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2018 12:22:53.3447 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53b82cd3-5b11-4790-544e-08d62c4fa0eb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB5003 Subject: Re: [dpdk-dev] [PATCH v2 4/4] lib: reduce global variable usage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2018 12:23:04 -0000 -----Original Message----- > Date: Fri, 5 Oct 2018 17:26:11 +0100 > From: Ferruh Yigit > To: Reshma Pattan , Hemant Agrawal > , Shreyansh Jain , Ashish > Gupta , Fiona Trahe , > Pablo de Lara , Akhil Goyal > , Declan Doherty , Fan > Zhang , Rahul Lakkireddy > , Gaetan Rivet , Qi > Zhang , Xiao Wang , Beilei > Xing , Wenzhuo Lu , > Konstantin Ananyev , Rasesh Mody > , Harish Patil , Shahed > Shaikh , Andrew Rybchenko > , Jasvinder Singh , > Cristian Dumitrescu , Keith Wiles > , Nipun Gupta , Anatoly > Burakov , Thomas Monjalon > , Jerin Jacob , > Olivier Matz , Ashish Gupta > > CC: dev@dpdk.org, Ferruh Yigit > Subject: [PATCH v2 4/4] lib: reduce global variable usage > X-Mailer: git-send-email 2.17.1 > > > Some global variables can be eliminated, since they are not part of > public interface, it is free to remove them. > > Signed-off-by: Ferruh Yigit > --- Acked-by: Jerin Jacob