From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0076.outbound.protection.outlook.com [104.47.37.76]) by dpdk.org (Postfix) with ESMTP id 9DC88A499 for ; Mon, 22 Jan 2018 14:24:50 +0100 (CET) Received: from BN3PR03CA0114.namprd03.prod.outlook.com (10.174.66.32) 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.428.17; Mon, 22 Jan 2018 13:24:49 +0000 Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::143) by BN3PR03CA0114.outlook.office365.com (2603:10b6:400:4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.428.17 via Frontend Transport; Mon, 22 Jan 2018 13:24:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.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 BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.428.12 via Frontend Transport; Mon, 22 Jan 2018 13:24:47 +0000 Received: from [10.232.14.39] ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0MCDwdT015886; Mon, 22 Jan 2018 05:13:59 -0700 To: Ferruh Yigit CC: Bruce Richardson , Konstantin Ananyev , Hemant Agrawal , , Stephen Hemminger References: <20180116183755.24542-1-stephen@networkplumber.org> <20180121185956.32970-1-ferruh.yigit@intel.com> <20180121185956.32970-5-ferruh.yigit@intel.com> From: Shreyansh Jain Message-ID: <7f243fbb-b1f6-8f58-7bd2-0870b34e9421@nxp.com> Date: Mon, 22 Jan 2018 17:58:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180121185956.32970-5-ferruh.yigit@intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131611010885838440; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(39860400002)(39380400002)(346002)(376002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(31686004)(76176011)(229853002)(4326008)(83506002)(31696002)(36756003)(67846002)(53936002)(59450400001)(50466002)(65806001)(54906003)(336011)(58126008)(316002)(65956001)(47776003)(2486003)(97736004)(23676004)(498600001)(64126003)(26005)(77096007)(106466001)(85426001)(2906002)(356003)(305945005)(6666003)(65826007)(105606002)(5660300001)(230700001)(81156014)(81166006)(68736007)(2950100002)(8676002)(107886003)(6862004)(8936002)(86362001)(6246003)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2690; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD041; 1:F8n19F8sGZdLO6pb70Lgk62tLaC0gAr+ZcYFp+565EbXPTghYAUf9NogipCZCXQJKKwUdVuokd3JNj5+nwortPK5o/+0S9oxMwZy5znBY3FSgZiwMIGtOO3rVphcR1am X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ffda219-0a63-48cd-98a8-08d5619b82c0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BN6PR03MB2690; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 3:38jQzLL5aeyca7+mV06UCw/umGoxq9IOsQ5GmxXxaayJ9g4ZtXXyt2Ogq5XX6iz8B5xN6WjSe8QUbcmZx4SnNd4+4zeAJYvvjlta0H9k/NW+F0IZFYRSjGxTV4ySxKg//snJsWTciWCVtdnm8kMxD4etKBFydJtciPgLINCRcEfQECP5QwXZe0Nbf/Vk+HasMqNGudKezfAe3GLGDxXFc/UGWYorEDnTDx8vBN4RzSXDeVd7Mx9hMjZFbQImayudIZFlSUQDCTecvqUY4wsDtDHVLt/OW0m3g6qkTtVKnZWgfoLicZ5aLIicjb4AwY/XjX4E/tl7gtzu+64VOOBsIgsu0LO9mzg4hKfTKrZ1tRI=; 25:9d6sIuGxiidfQtvC3BcbbkRzyA9WAhD76YScC1V5KmUyl2rOxws/LbAeP5fYoXNMApLM93g3QXfmC0WTbvxdPGCKfICdHL87Ahe2i2Fm4gMW3OxP6w1SprhsR3nKnhLNcqLpGaTlHuqxROECTnSsBHB14DxQ7VSSmQfJlf00/7pK3+3h0pEfwO5qSPx1jinYrs1D4hpx74Bme04gc/0QWh10/odYtkoiBJ2GFrNSsXdjLy88u+EgtcfSPCFJ0WLS8N86QCV2xNUBMZ0GhLoxnFxqlmJc0TEtNhu3z/HOpNz/hoXuyVaaH6Fqr26kVR1BAl7eaipNPDUUGx/w2Fv/2A== X-MS-TrafficTypeDiagnostic: BN6PR03MB2690: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 31:htGI1NBk8gfTFdA9k0macDaVasiY8wA3b4m/bcNWtMvn2YGCCDSSd7uH5zlyLsv+6Mps1i0/blYQ2G43z0xtLZcO9Nm9zs4z6p/iQxg8iWz7gb9MAL7z8tLPTL25kiLPNg/lNtANyHaMm+EmrNGxadizR696d+2WDYIClqKZwj6dVQYBZoDKE9Bj/XZuRXxp5uCxfFgmqsYHSscWlBovfIhKD8xW+qhhedcdY5T4O1Y=; 4:uiXJi8LWKv1Gtlroaj4dsrVQy26TZWW3nq6GudeVWg7cNYBYTVF+OV3jz2p3woHyR8tcs+mQtIXLMoA+EqfLhOp0M51gy0HWj+XcxPhtG7km4zpyNJWp7HVqGVRMpRZQoIurxIHzo81F5XqRzpUr039zp04fkBtuTrXJeMOwHfos7xfkZnV3qJWbmFvtLZ4BasS0maMNwJ5tuN6V+9+V9lT6u8b2lKFTvxEgGgd5+eN59Um7BaxFfOErsJAoaAED8kXSo9Isc4CbrLlKZs/2631NkU6xCINEck0L3cjmlxgO1YvQmp280AnTiUOyeMV22i2WBhVaz45p05x+fW4QI/gP1NIOCHY/bhVusBf4wWU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123556025)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123559100)(20161123565025)(20161123561025)(201708071742011); SRVR:BN6PR03MB2690; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:BN6PR03MB2690; X-Forefront-PRVS: 0560A2214D X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjAzTUIyNjkwOzIzOjRrMkxJMU0rd09mZUFHNGdncVVjejdzNERN?= =?utf-8?B?N1NCazZONDVVeTUwYzNveDMzazZjdXNhaHhUL2xDUUhlMGR5Y3docmxrR3g4?= =?utf-8?B?WWhNTERqbXY0d1A1VU9zVGVIOXJlZjlJV1RyZzVrdG9NK3YvUTY4UDkvZnkw?= =?utf-8?B?UEZ5aTZsQURSSHpWOVVKZGpQekZWWjIvQUNTMWtMQjVyWitqLzdWOEhlNFl0?= =?utf-8?B?SEpuQUIxZU0vMlBPZ3JkRG94QWxq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v8LT/UW+9Ko1h0pAFmX8OQ08Ajevs7eVJsGnBge6OmqJlqk7UDQ85Kmv8lxyw7dKpS6NXHg0q0vKDcQCXNzE=; 5:MKU0sL++lcYIJNF8ddYLaKUBNnxg3jg8wEUCNNruvUe0416GWZRe6kGLKuP4KOf/VdTVG54KJIDyTa+aF05KQ1Yb3GB1o0d5N7yEEEkO+xAD3sAyG4DzyQEmkbACTBjlgso5eza8UdWRnTbqnHS83fwevMX61TCtim0Uutktv2M=; 24:AaDn8tPb1Wi/q55AR2HAeUdERfgBh6dgzMBhSALtNEZG4gvX9f43mbPmqLkKcd6BhCWL5irCYfGN2DCDTmiGllIPxB4GlKPYL3LiEjBCN0U=; 7:4Dj3I62Tmy2GX18gscPlM2yh37J51YxttJeMFQv65ZRz4ht2G0I3fZWo7grLFqkUkSOJwPb1x2KoGbZGLPUMmLkPDHHOrqN4DMs3fnaCEY6uOUKyqGOVBo/OUnGlifnWQdIdMjoNtBNRK7hhzNmQJMbqtwsfrZQ39ppYXgooih+Ahliba5Pws3K8tie59QWUOhJNZyPnfGA+YEmjtUMYCKN5TjZodRgnNFur1c4qc+KPzdhJoSTSXN14rLPLk+TI SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2018 13:24:47.0082 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ffda219-0a63-48cd-98a8-08d5619b82c0 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 v6 05/14] net/dpaa2: use ethdev linkstatus helper functions 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, 22 Jan 2018 13:24:51 -0000 On Monday 22 January 2018 12:29 AM, Ferruh Yigit wrote: > From: Stephen Hemminger > > Use new helper function to update the link status. > > Signed-off-by: Stephen Hemminger > Signed-off-by: Ferruh Yigit > --- > v6: > * Use correct APIs > * Keep logic exact same, only use new APIs to get/set link > --- > drivers/net/dpaa2/dpaa2_ethdev.c | 77 +++++++--------------------------------- > 1 file changed, 12 insertions(+), 65 deletions(-) > Acked-by: Shreyansh Jain