From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 01BAB4F91; Wed, 5 Sep 2018 14:35:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2018 05:35:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,333,1531810800"; d="scan'208";a="260049214" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 05 Sep 2018 05:35:47 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 5 Sep 2018 05:35:46 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 5 Sep 2018 05:35:46 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.240]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.143]) with mapi id 14.03.0319.002; Wed, 5 Sep 2018 20:35:44 +0800 From: "Zhang, Qi Z" To: Luca Boccassi , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Ananyev, Konstantin" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/ixgbe: do not return internal code in rte_eth_dev_reset Thread-Index: AQHUQ5FlXKGhMBMCBUymBviFqRheSKThoXUA Date: Wed, 5 Sep 2018 12:35:44 +0000 Message-ID: <039ED4275CED7440929022BC67E706115328052F@SHSMSX103.ccr.corp.intel.com> References: <20180821110649.26711-1-bluca@debian.org> <20180903141811.5893-1-bluca@debian.org> In-Reply-To: <20180903141811.5893-1-bluca@debian.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTU4YzA1ZDAtYjgwNS00YWI2LWFhNGMtOGMwZmMwMWY3NTFiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSG40VU5CSzRtMFhUT3hYckNEQWxVQnNwTFZCWGc5MVp4TmU2TUdwRXFTV2l1cTUyZjNGQU5IN2l3WnpvaThxbiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: do not return internal code in rte_eth_dev_reset 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: Wed, 05 Sep 2018 12:35:48 -0000 > -----Original Message----- > From: Luca Boccassi [mailto:bluca@debian.org] > Sent: Monday, September 3, 2018 10:18 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Ananyev, Konstantin > ; Zhang, Qi Z ; Luca > Boccassi ; stable@dpdk.org > Subject: [PATCH v2] net/ixgbe: do not return internal code in > rte_eth_dev_reset Change title to "net/ixgbe: do not return internal code" to avoid check-git= -log error. >=20 > In case of a temporary failure the ixgbe driver can return the internal e= rror > IXGBE_ERR_RESET_FAILED to the application. Instead, return -EAGAIN as per > the public API specification. >=20 > Fixes: cddaf87a1ecb ("lib: fix unused values") > Cc: stable@dpdk.org >=20 > Signed-off-by: Luca Boccassi Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks! Qi