From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0050.outbound.protection.outlook.com [104.47.38.50]) by dpdk.org (Postfix) with ESMTP id 3B36A44CF for ; Tue, 16 Jan 2018 10:30:30 +0100 (CET) Received: from CY4PR03CA0011.namprd03.prod.outlook.com (10.168.162.21) by DM5PR03MB2697.namprd03.prod.outlook.com (10.168.197.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Tue, 16 Jan 2018 09:30:29 +0000 Received: from BL2FFO11FD015.protection.gbl (2a01:111:f400:7c09::128) by CY4PR03CA0011.outlook.office365.com (2603:10b6:903:33::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.407.7 via Frontend Transport; Tue, 16 Jan 2018 09:30:28 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; 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 BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Tue, 16 Jan 2018 09:30:27 +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 w0G9UOOX018358; Tue, 16 Jan 2018 02:30:25 -0700 To: Ferruh Yigit , Hemant Agrawal , Stephen Hemminger CC: Bruce Richardson , Konstantin Ananyev , References: <20180108174514.14688-1-stephen@networkplumber.org> <20180111170658.2809-1-ferruh.yigit@intel.com> <20180111170658.2809-5-ferruh.yigit@intel.com> From: Shreyansh Jain Message-ID: Date: Tue, 16 Jan 2018 15:14:39 +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: <20180111170658.2809-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: 131605686282927847; (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)(376002)(39860400002)(346002)(39380400002)(2980300002)(1110001)(1109001)(3190300001)(339900001)(24454002)(189003)(199004)(229853002)(8936002)(36756003)(85426001)(67846002)(86362001)(498600001)(31686004)(58126008)(77096006)(26005)(81156014)(81166006)(104016004)(8676002)(68736007)(97736004)(65826007)(305945005)(83506002)(356003)(110136005)(76176011)(31696002)(53936002)(2950100002)(316002)(64126003)(105606002)(54906003)(106466001)(8656006)(47776003)(6246003)(65956001)(23676004)(65806001)(2486003)(4326008)(230700001)(5660300001)(6666003)(2906002)(59450400001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2697; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:Iyymz2fTHGOvrmMBcJ5lc6kES/1psFp4MA3pzvxX1evo+NqMM2fn7xhBDZlACLK+DGEh+LpcFVITjbBGapfkyF79XRSD6+39V4rW6FmG7AYNRFtmX/295Ws9aoW6JxUB X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 77b971bd-86ad-45d1-bee7-08d55cc3c7c7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:DM5PR03MB2697; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2697; 3:GRTgJ/lrg+t+Ze1aqbuHYxLCATZD284pktj3S9mAAADrgh1kTz6Hm0TP12R27O5GAn7gJ90jPR+4gt7D6jH7X6mk852LflgrR25IhszGYIh6g9f6ZCjQ1NCrZFYl0KcShPXlFKcC4UOE7Mm6e5eBVQorfp0kUIVv8CBYABicAA/G4owNIALR4TRHMF9QCLt3UvZKthrGN2E9qHAY/LahUGZmjdWiyGOwhwqUQkVY/hPoYGpOVgpFvd9S1iBiy2xcVGU1enssGo7EXcm6H+ICN/QAZZLAJP6Z/FrOlEuep5wT/d4Vfcr63o1TwAeeGrpFVBuqRzJwq1t2DRScyggungC8VhvTd8XdWKbfQZyTP+k=; 25:bfjEDIi5OGfAvjhQw48xYkoEiwL3cVyb4zHaJBpyLnWK7C2EMGJX+qt7r4Hn7qf5c/t5aIKcy/ayVktivcKKW7O8/gnbr3puTQcc06Da0oOqGDj2vggDt277h/HJvWpHAfyhomVPyKRbMm/Oicj5A0InZ20akQuaKeN7A5jvZHMS0L4H7rS3freA8vUNicGWa+2DmgqDZsIvHC7X3tZENigntyk64BeGZGh5+rTQpCkbdbDAkquUqzNpsmqgX/532p2iaSpVxT5LAusRfYuIj4YJr8Gg9PxTqMcp0b1AEOD9Lc21V2HUqttTbnJR7P9XwU3ShdNB/2A3g64hkiZ1Og== X-MS-TrafficTypeDiagnostic: DM5PR03MB2697: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2697; 31:xm8HTztHuASfCpzZA1Fu9CrUpNpq2201tsiFpN+ZZ7Gl7SVqvaEygfRZCRyJ45uSIKsypWbS7AdK2uUr3DtVzqre0raES7/6L9pzLqNKXbyXnfqOptf7T1diDZDDe4X8ukx9H4AHTJbh98AHOdmc9v3XMFbdcekd3uL/CCRSOa5E/+y+59Dfr1SzKy5IL0ijzhvB1PCHGS7jPcujdB36ZmlXC/jufTyBx5zdulz7GBI=; 4:3u2b4XfATceavP23TLcxOG96uHtKcDSpfmEtBr1Wc3TPlswdXBVSN0iIuoGQGN/AgKQAVAc/hQ4zurDyMjS6Bht9ZnX5dqW3mBaTVSA7Ra81rFcclerQ+KB3IKi0L+cAqdOz30El6RTyYNoZUqvx10qhX4szfGwzY/AZrgBa+pZYp6WtAUMotEGRtqURqPKRfS3cp21JbAYzZoE4KyaMAo6oysfOv72kNHXljsy4J09T8uT5+AgrppvyNcOlCuhA89UctI9W7bOeRG+4QDjRggMKCssiqR46WfDwJdo1sj/WXUgrQckF74vedAU6e6Ro 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)(93006095)(93001095)(10201501046)(3231023)(944501161)(6055026)(6096035)(20161123556025)(20161123565025)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123563025)(201708071742011); SRVR:DM5PR03MB2697; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:DM5PR03MB2697; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjAzTUIyNjk3OzIzOnQzaERZZzhxRnBBNG4zTmwwQzBSbmY3NzQ3?= =?utf-8?B?eDA0eEVOQlB0Y2hOUGlOWmZ3UGp1Vk9zanI0WW0vRjlOYVVIdHJRV1laYlNr?= =?utf-8?B?SkdvbzJwKzBwRjRqMGhXbnBDaUFCWEY3ZWhCVXhoYXhyTG5MbkpINldLbXpD?= =?utf-8?B?T1lYUXVsU0wvdVFHUUlKYVNsK3ltaVJMQ1p1TWhtUnV6MGVhWGQzamgzSUZP?= =?utf-8?B?cENpQm5BWGZuY1N4SjNDa2hVTUtNanNLdnowVDc5MkhsOHdUNUw0SSs1MmFR?= =?utf-8?B?aTNxMEtDcFU2QzRvRi9hc1cvVEVWMVFmL2s4TVhWclhj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bP1dA2ATfRpgWRgXtaYgsxEVgu1nzOIDdCR4Zmmb8+rAsoW8995I4nX7vrIRsUaFikl6ykkvQJclevtx4Bo5OIROmQbSTvHNZaXfKa1hVRI=; 5:6Z4VQDZNaEFHtBIWeNSF+INNVejMiuPxoZJlUqv+Nn0LwsYY+shHvvVhPtzzsPe5ZnduyyqH6GXwgRIh6zcFCc41KozYDvOah+qlnCaPXtfOJwpkpi25xnEeUqA8dC8AQdCrjq2TGZJXdDhqYI/JbRQx9bU3X3WcWiIUEsGbrXA=; 24:DsoZASVj2brVvZb19X324VJkfGAo6zdXhQniRQfWTs6+qsNeWT9dY0a9CKSojNdJoiSZzEjqvkp8PdJZEb03GRB4/ywpCjoj+GkaG9tJhP0=; 7:MsIyHTFT1aY6Sq7w4FPRhCaAoxBKgVUSvdTQqNlfcMn6GHz9l58zB0LfuiKzT/7d7Wgx6EQnAQyRS2y/ROOzlsfk995HnL5YBhmRJ1ykbcS6JR+QNLUiwQ4jfu5h9A/1G/So0vMfvkiHx1z09KeR3nSfxia6gwJXt51MIwWBqM8tkB4wua708i0zDl8fe1QBUwcF4IJjJctm7E/YCAND8w+fhBuucWdKfanfvvXPyUN4fvA0hipVM1ay6cSewH8M SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 09:30:27.8559 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77b971bd-86ad-45d1-bee7-08d55cc3c7c7 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: DM5PR03MB2697 Subject: Re: [dpdk-dev] [PATCH v4 05/15] net/dpaa2: use rte_eth_linkstatus_set 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: Tue, 16 Jan 2018 09:30:30 -0000 On Thursday 11 January 2018 10:36 PM, Ferruh Yigit wrote: > From: Stephen Hemminger > > Use new helper function to update the link status. > As a good side effect this fixes a but because this driver was not ^^^^^^ needs rephrasing > returning correct status (should be -1 in link_status changed). > > Signed-off-by: Stephen Hemminger > --- > drivers/net/dpaa2/dpaa2_ethdev.c | 65 +++++----------------------------------- > 1 file changed, 7 insertions(+), 58 deletions(-) Other than the change in commit message highlighted above: Acked-by: Shreyansh Jain Thanks.