From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0071.outbound.protection.outlook.com [104.47.32.71]) by dpdk.org (Postfix) with ESMTP id E0BA4200 for ; Mon, 18 Dec 2017 10:27:02 +0100 (CET) Received: from CY1PR03CA0037.namprd03.prod.outlook.com (10.174.128.47) by BN6PR03MB2690.namprd03.prod.outlook.com (10.173.144.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Mon, 18 Dec 2017 09:27:01 +0000 Received: from BN1AFFO11FD046.protection.gbl (2a01:111:f400:7c10::167) by CY1PR03CA0037.outlook.office365.com (2603:10b6:600::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.323.15 via Frontend Transport; Mon, 18 Dec 2017 09:27:00 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; networkplumber.org; dkim=none (message not signed) header.d=none; networkplumber.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD046.mail.protection.outlook.com (10.58.53.61) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.302.6 via Frontend Transport; Mon, 18 Dec 2017 09:26:49 +0000 Received: from [10.232.133.65] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBI9QvwC009384; Mon, 18 Dec 2017 02:26:58 -0700 To: Stephen Hemminger References: <1499170968-23016-1-git-send-email-hemant.agrawal@nxp.com> <1513333483-4372-1-git-send-email-hemant.agrawal@nxp.com> <1513333483-4372-2-git-send-email-hemant.agrawal@nxp.com> <20171215075230.133a6970@xeon-e3> CC: , , From: Hemant Agrawal Message-ID: <829b6ec3-068a-3d11-1812-ba92c6352a21@nxp.com> Date: Mon, 18 Dec 2017 14:56:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20171215075230.133a6970@xeon-e3> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131580628095484853; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(346002)(39380400002)(396003)(39860400002)(376002)(2980300002)(1110001)(1109001)(339900001)(24454002)(189003)(199004)(47776003)(67846002)(105606002)(93886005)(83506002)(106466001)(65806001)(65956001)(230700001)(2906002)(4326008)(50466002)(23746002)(104016004)(54906003)(65826007)(58126008)(36756003)(305945005)(8936002)(316002)(5660300001)(229853002)(81156014)(97736004)(81166006)(8676002)(53546011)(356003)(68736007)(2950100002)(6916009)(85426001)(77096006)(498600001)(6246003)(31686004)(53936002)(31696002)(86362001)(76176011)(64126003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2690; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD046; 1:w9aKycAvP066E8+X+Kq+TGnIGjmNf+Fi0m17BmwmvCYYK/uTVpWB2TV9AsafONEvwMsjRRena4bZf7hFUCeOJvnn44moH+bSkAWrbjkl4sxDRNItoKHz4Utmy/ciGIg7 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0fa92af2-3891-4191-43b5-08d545f9776b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4628075)(201703131517081)(2017052603307); SRVR:BN6PR03MB2690; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 3:1t8AMN8v3f1yq7Ak7kycsy7wvkP1NU4oCIwp7bWbcW9kOAl8E0Z16ln94xNEDCkqrHZR3/zFhYCZxZ9EvD7v7bk4YGn//r5CPB1wYIXz8my7w7MEgvc2QKt7GsY2he4d9TpzOvNAt1UpNXdoXby5OtlIaA3R1dTzTE/VDB+MkhZ9UsCbKeltbsl28qI1Xe/WCSdmotyZsubQGrm7BjjjBCGOYoKvQBSh76QXsdFtcuueg9dhYpkBTe2KcmFnYP1oESYkxrxdwNQErK/Z226Segp2J8/4nDaKFAi8rJyq92PHCz9N4EBAbEZw+obOuD0FUzzdE7qq0WNzHKZw/zHQNB0Mf6Kvbz9EfGFvc45k6HM=; 25:BrHhKUsB5mGy4cF1fuwR2DRfP+a39VwSe7XvB+dAiUWEU1SnHsC+2Znw/+g3wnpMCFerHZ79sqaVZh+eQOBaU8ltYqk1jKhor3G2z5wJcoCN9Ap0/NnqxnWL2tdrodr9qwOmpk4KyLKtOGzOAMEO24HbPRMVw/c950sJCPLImzsxnBBNJh5H0zneOcBVdZCpwk9PHiG90ncHThDObU6WlqvO2touXfoCLOY4FQ7cFis/YCp8xFwjERa2U/rsZNTzg9Hpzh3ldYW1w0tuLoda7kOFr3P79RPMUsuUAtzZee21XExbSMf4G9+MXMCx5+pPz4Oy/ENjQEI+3qg4WPIHRA== X-MS-TrafficTypeDiagnostic: BN6PR03MB2690: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 31:YzUW9JTt0YgFCj771WPkU10fZABCRI6bRlaiMbd3FNkiqcuQ0LctLc8OLOfm7M8dpwTzjwAhG7C2judEZPjCSIkAzkWWS3kD25encYya8/ZQ+cP4hb2dbd/SWTfHu7INqASEWONh5QiTjHr0JPxpRQjC84bZ4TLlFGHSLK1Ok0HUNIJWmCpxnkE7GCtHRksX1Z0uo35X+W1wmRpeWmr568tYq3H/3zjBHVPLH3hc+sU=; 4:/fZI+CMMt3wTooFZIfxp5f7XIopaIGwxiG5p7+FE25xLoQ2t11lt9mvkqPg8LP+qyE8dMBibju25+cK3j0j0SZgcxMgaOCYyGuaFmZyqS7vbO0yZXUK5yNxz7QZI6hs6vSaoBFyuKloRVOjUkB3A3f0q6eNdTcGmAYDkYVQY9U9XZDgx9evgMdNtvMoZ9eleBJ4yPYwTz51tSa+twTjDGsisPrQVvr+mZ8UTr76bgYZ9xEHWG+bwscln0vx3Wr1afHAfA2g6o1UjFaTklUuhXQV+lxTf7iHz3LHmgzEn+t8BguPLLIV6R5qAVQTgK9ar X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3002001)(3231023)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123563025)(20161123565025)(20161123561025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123559100)(201708071742011); SRVR:BN6PR03MB2690; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BN6PR03MB2690; X-Forefront-PRVS: 0525BB0ADF X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR03MB2690; 23:uQpSC/53XDdaheFzy4juBUkmahNppJuFnmdKR?= =?Windows-1252?Q?MT6HE/j6mUufmmhn5y9D3HkhXq4tjvgGy64dC8oT5NIQGYhuo98dq/3g?= =?Windows-1252?Q?KCsEwnsSCfhgPfRwxgE8WkYtuMPQFtfYpe0+JB7crSU0l/UEG9lXovkr?= =?Windows-1252?Q?wXf9nYdnb+dJxim7m950s1JfcnhdqeXebULkIszfhy2qikMLj7fXwm5Z?= =?Windows-1252?Q?DPCrxxzpO59yemj910RkRmEk0zhTFNTfwEyJvo9zdWfDkZhFoXKNTF7D?= =?Windows-1252?Q?BsXF720RZBpyjR/1qb1r1+rP3wjFPD63cfaT9LrvOR4XAkkGEah8iL6E?= =?Windows-1252?Q?C+zNjmNx5t41Z6sGZ57vqebZ8hmF4lQu4+wpPCgjeOpC1tlC31xGCfn9?= =?Windows-1252?Q?qZQdwl6V8YEZ5lZBBQRe6r5muA2aiHBdBoTdJhC2bgIo5T50ZY7XD9gg?= =?Windows-1252?Q?92RcBWACzlzxMRSh+d6LWi9jzybMxP/QzxI0pCDXb6bgJIAH6bFAXXiZ?= =?Windows-1252?Q?aGwMGaSPTVFl6K+ddjiJYugrOaBZO3lIAQYoA7E/K/ofg91zxLPnigcl?= =?Windows-1252?Q?FDwJZ4Ba8hp9Mr5N2gYxvJdhPP0JuO1l4i5gnFP+O6BSWxfGBASSk9yc?= =?Windows-1252?Q?neQtyHknrvnDAJIVDdrKauVRCNyR7rblhcLFYQ5RBcQbgfTLL25L+nvZ?= =?Windows-1252?Q?VBat97wtmzK9XT1q3pYzBOwa70oojd8gIvl0eX31ommiFzRXXPRDUK1/?= =?Windows-1252?Q?mmvgIgfdd59xEBmLHgIpbEiTvF4ue8Bb8yeSOaNW1PBEGgWCAZFMbQcz?= =?Windows-1252?Q?SrFJg4ezWUwAtREiBHHe0PecNQXBJ6MyhiUjGySAM2Y6mczUAKHDg9Zi?= =?Windows-1252?Q?sjSFVmnPCwYkxPSwpJ/1m37sG6O1CA/I6aGsNNo2CY8bZWbq1wYSpzjG?= =?Windows-1252?Q?v31UrYPeyv6AXmeZuPtNoc2rVIgyI9WQraq8QaXqTlN+I63tmZ52FkF1?= =?Windows-1252?Q?eQbDtMqUQI8DY4sI2NYpVv65hPBZd2gm7RhAdIESogIH3euyvtaClZbL?= =?Windows-1252?Q?gFp2pkurXsUpmAJHUoik953Wppx1LOCPA1NLZIbj+/SqktwwhT8Q2IXQ?= =?Windows-1252?Q?57iWl64rBHaEd16kLtzD0VTcrhAkmrcgra9pt8KMcgHjqcF6KdITlRbs?= =?Windows-1252?Q?/Ku22hnnwi6/KRfmxApZNteMaPwokuqH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ZcO72lO4cDRSIUmQKA5UtiS0v2T7neCFx0w22AneHp+QM0+xxYy1vkr1X8ru8lCPBfqKrkkmMOdjCyp7FuNUuTHo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2017 09:26:49.3768 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0fa92af2-3891-4191-43b5-08d545f9776b X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2690 Subject: Re: [dpdk-dev] [PATCH 1/2] mbuf: update default Mempool ops with HW active pool 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: Mon, 18 Dec 2017 09:27:03 -0000 On 12/15/2017 9:22 PM, Stephen Hemminger wrote: > On Fri, 15 Dec 2017 15:54:42 +0530 > Hemant Agrawal wrote: > >> + if ((strcmp(default_ops, RTE_MBUF_DEFAULT_MEMPOOL_OPS) == 0) && >> + (active_mbuf_pool_ops_name != NULL)) > > Why not have less parenthesis () in conditionals? > I will change it in next version.