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 E989DA04B0; Sun, 18 Oct 2020 10:56:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 42936C8DA; Sun, 18 Oct 2020 10:55:59 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9A3D8BB00 for ; Sun, 18 Oct 2020 10:55:57 +0200 (CEST) IronPort-SDR: P3mO+iZlVPvlvusJG0aOQg9jUsEBgIH9R0VgFIWYesYZtIqo66pfTaYv7dqL8VmXimQCb8cUj1 MNLlq4diAKXg== X-IronPort-AV: E=McAfee;i="6000,8403,9777"; a="167003397" X-IronPort-AV: E=Sophos;i="5.77,388,1596524400"; d="scan'208";a="167003397" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2020 01:55:53 -0700 IronPort-SDR: 6yKW2Y/zhBVqPVfexTg3EjL+p3W950f4Xlz09if6aYBf0Mb2k0fZnzz8n63vRa0oH9OGkbUSAS mc4qfX/qRgrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,388,1596524400"; d="scan'208";a="331607509" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga002.jf.intel.com with ESMTP; 18 Oct 2020 01:55:52 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 18 Oct 2020 01:55:52 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 18 Oct 2020 01:55:52 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.54) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sun, 18 Oct 2020 01:55:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B4ybZBZqNaQd/huLTurteUsj5dhiOzKB3yGtQxFo1S4TMY/oktNFMmCalVEmzQmslrj8zARJy0rd8pxBa5tlhd9UuhvQaDUPo1Z8FEYvseWx+cBz0qsaZElq9Lt9DquFhgkqHxCtUczn69STVRAXR1KaqH9+wqJ48JkgThgIEgzPPdmYVpURp/QG9xwI2y9k3o2Ik2Ourrf8hOhI48p7zxFTuNX9YiKAzeoeAyiqHH5RGooD87lSBOwOh7bbjwMT+6hYqsyUr5PQRUN/LYYFPrlqV0f8a4B0hq3NHU/KTGqDyVOwipEFo2tIp0DRWrZAu++ckFGyHTnVNa1E3IYI9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KEjLW8LTlMAt/wE+mR5j+vKB6+8nYyY76v6+cFksAMA=; b=RbNbzD+aboQBL8PFLPKIDDzbZY3YVMi+hmaj/SW7H6JIlmxKY53l1jgdG0VlyyUfluC/LNXf8rp48tArCIx1SiWUKDIAxxc4NKQhz+dJcmQuoKLXtBZagVbv2+SKJ75eGm2vXay/oUBHEH+tEjB3Pd+EuHsByrOvJJOClFZQMJ7GwiV6b8z5yv5kzHAFhju54Ky9WHDOC/GKrBfoDKyoxTSxKLVOhA9TdkuFxBIBIC+6uaU8lIc+us1yZWDIPevBvDddfHN9N+3/SuQnjWfTytocWEZdfYKKaaNBVXYI/QMDUJxr6J6XaF6q5bwpfb86yFIwa5212TaJhM2YeL7VRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KEjLW8LTlMAt/wE+mR5j+vKB6+8nYyY76v6+cFksAMA=; b=xI1O1Riw4thWvl5CBn3wDCL6ez4ldcY2vUc5Cg4AX6lBRa0YBDZw7FY3MbBVVrfTkowLPtu0UMwcjy2XpeVuqVx1EZWBqPF4sbh/87FxIFwVDefUGLoUlz+9XFtsTangtKuFZtcTW4UQcvZgtBkGEyDNklkAsNeTyqXavYr6cBg= Received: from BYAPR11MB2901.namprd11.prod.outlook.com (2603:10b6:a03:91::23) by BY5PR11MB3973.namprd11.prod.outlook.com (2603:10b6:a03:185::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Sun, 18 Oct 2020 08:55:44 +0000 Received: from BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::8d75:dadd:9af1:81ab]) by BYAPR11MB2901.namprd11.prod.outlook.com ([fe80::8d75:dadd:9af1:81ab%7]) with mapi id 15.20.3477.028; Sun, 18 Oct 2020 08:55:44 +0000 From: "Xu, Rosen" To: Andrew Rybchenko , "John W. Linville" , "Loftus, Ciara" , "Zhang, Qi Z" , Shepard Siegel , Ed Czeck , "John Miller" , Igor Russkikh , Pavel Belous , Steven Webster , Matt Peters , Somalapuram Amaranath , Rasesh Mody , Shahed Shaikh , "Ajit Khaparde" , Somnath Kotur , Chas Williams , "Min Hu (Connor)" , Rahul Lakkireddy , Hemant Agrawal , Sachin Saxena , "Guo, Jia" , "Wang, Haiyue" , Marcin Wojtas , Michal Krawczyk , Guy Tzalik , "Evgeny Schemeilin" , Igor Chauskin , "Gagandeep Singh" , John Daley , Hyong Youb Kim , Gaetan Rivet , "Wang, Xiao W" , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , "Wei Hu (Xavier)" , Yisen Zhuang , "Xing, Beilei" , "Wu, Jingjing" , "Yang, Qiming" , Alfredo Cardigliano , "Yigit, Ferruh" , Shijith Thotton , Srisivasubramanian Srinivasan , Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Zyta Szpak , Liron Himi , Stephen Hemminger , "K. Y. Srinivasan" , Haiyang Zhang , Long Li , Martin Spinler , Heinrich Kuhn , Tetsuya Mukawa , Harman Kalra , Jerin Jacob , Nithin Dabilpuram , "Kiran Kumar K" , Akhil Goyal , "Richardson, Bruce" , Andrew Rybchenko , "Singh, Jasvinder" , "Dumitrescu, Cristian" , "Wiles, Keith" , Maciej Czekaj , Maxime Coquelin , "Xia, Chenbo" , "Wang, Zhihong" , Yong Wang , "Thomas Monjalon" CC: "dev@dpdk.org" , Ivan Ilchenko Thread-Topic: [PATCH v2 11/11] ethdev: change stop device callback to return int Thread-Index: AQHWoveO7iDQ3vn/K0G24MnrY0ESgamdEpiQ Date: Sun, 18 Oct 2020 08:55:44 +0000 Message-ID: References: <1602682146-4722-1-git-send-email-arybchenko@solarflare.com> <1602768646-13142-1-git-send-email-arybchenko@solarflare.com> <1602768646-13142-12-git-send-email-arybchenko@solarflare.com> In-Reply-To: <1602768646-13142-12-git-send-email-arybchenko@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDc0YTE4MzEtZjdmMC00OGVlLWI1NTktODM3MmQ3OGFmZjI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUkR0QTQxYU52dmhXNml3ZTFBbXRHQ1Frc2lSMExZRVJZK0g4UlVkbDUrM3luTGxBRHR0cEkweDFxdTNhUXM5ayJ9 x-ctpclassification: CTP_NT authentication-results: solarflare.com; dkim=none (message not signed) header.d=none;solarflare.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c9427a4b-cadb-453d-ee9f-08d873439986 x-ms-traffictypediagnostic: BY5PR11MB3973: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:605; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ncPHqmxJ3+lo/84xHuhuObT+8avcAdI28QwsWDAT5AleyJEdKWndRBABGpbwfQnrFi+tifnFLMfOGNc9VN9qmyVNeiZRlqcNJPu547wrMDMVw4VPXeGj6r7OGMvwkB5RRQgoI6F5xgEKazqL+xCEgMyf1SHcfvWZNQVrhsTBo2lqMNf2QB9EB/bb36j6RJN4YPw3QvwCykgjixZBbNwyODfXEzYLryzxExMGnqy67n95uX/3DbzSPrLg/CfmxAXUrmXXYnYmRiuuejXoSM886CbmQptZcovBie+x155AM5l5t+/Rz7n+zNCGR/EoRR2qnce0kkMbNPw1yaFKcAvgw+Xsiblqdk9DWgn6BDqVq7wETxZ7sMAoTZ3BpFUNDpKR x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2901.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(346002)(39860400002)(396003)(366004)(7406005)(55016002)(6506007)(86362001)(54906003)(71200400001)(8676002)(7366002)(7416002)(316002)(110136005)(26005)(7696005)(53546011)(1191002)(186003)(66556008)(8936002)(66446008)(4326008)(5660300002)(33656002)(76116006)(64756008)(478600001)(66946007)(52536014)(66476007)(9686003)(4744005)(2906002)(921003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9LhCXIDQo1smdcLXi/4uq/oekFwXAvhOpUOhIoOZxDT9vkmHMoMWeWoo9vLCDBtOVvTm0zsP/qK2iVjAP6VUISXh/04Q6xry/lm4+tarizBl7RrkZpmICQ3ojyIAz0Qvlo7dKhgGLl1M7EhzmtXJuaVTqBexbNxE9TfPLZcbPeP3SQa4Ms7smjvpk4ZKttCX1Zod1FUSaFF8a7ZW+QjGrp7+i9pdwbVrUaoTXyNWBAtRPAeUM11zEp2vRE62LzDJzvYHahupXeKz5KlhBllGbAadG+5Kol9XHy1KfkG99V7/0m4nFT9B0eS5LZmt9AXMU92ZwOgzYcO0UpqwYanktQCguCvY7rL/SsWNtHDQ3AS7YypX3Cbibw5cKH64JW/Yuz5Syg0nX0E7gxV07P2xKpXNUAlu7XJ9Ntivk3YucBhE9h5zpvodK962Zk5S6XjxI7MNcq5rmgIXwerbQpHrFy7RoX4/tbTZxW0xsbmgi31B9ybxwziKcvao9okja1LMTaTqjHmXGV0qh4L/i4zH7fZXqBjjb9Z2JiFvlD5dQoW1J6Zqec+00xWikX7/mjgDQ/jR7NV1wrbggI6Kj52ZZHSYf1U5djh0K5ll/DIwlQJoZZ8P/to3bvpf8sGqpC06CEeuHssfz6kGgXG/BizkqQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2901.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9427a4b-cadb-453d-ee9f-08d873439986 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2020 08:55:44.5626 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UJTfBgUV+wmOdgR4hK7xGU1FvbIKg2XcacKgwGGTUcBNKxFSGOkGse/HEQ0yptjrwlxGZmfIt3VaTWsSSL/79A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3973 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 11/11] ethdev: change stop device callback to return int 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/15/2020 2:30 PM, Andrew Rybchenko wrote: > From: Ivan Ilchenko >=20 > Change eth_dev_stop_t return value from void to int. > Make eth_dev_stop_t implementations across all drivers to return > negative errno values if case of error conditions. >=20 > Signed-off-by: Ivan Ilchenko > Signed-off-by: Andrew Rybchenko Reviewed-by: Rosen Xu