From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C993D41EAF; Thu, 16 Mar 2023 11:29:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A75D542B7E; Thu, 16 Mar 2023 11:29:25 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 8D78840FDF; Thu, 16 Mar 2023 11:29:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678962563; x=1710498563; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hSQucCJjgEaM1g5HJ+5ZUy1so4uyGDlPZGq8717EYl4=; b=ADq9kHn7Cv8WC7utvdPD/dfavl38kkUhuemarvUdwgcn9xePBDq0LLJT mGOp9tQW/+FOuc8HrmE+AOn1zU95W56RJdDpSZffw1r0EW3pbICCpwGoq CYMnRSwoZQUBNcdpOaVTP4vB8LaL7yw01mMxIbBriQmPLX/8c+pztbmot +HDz+nbKJpPyNucGV+b9Yj8FsoKNnIuXTrKIXuFxcMJEJ9y9WbTA8ZVq6 gGp3Hofl8blSU51OEaeFytFrVEFGAhM6WJpRnSz9QekPR0FF7/+WMfQdt iBM777Lvzw+RBKqCBNPwqqRf4G+frnSclIGzJHIunfaDwTWhsP2sEk/Zt w==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="326302141" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="326302141" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 03:29:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="790224827" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="790224827" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 16 Mar 2023 03:29:22 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 16 Mar 2023 03:29:21 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 16 Mar 2023 03:29:21 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 16 Mar 2023 03:29:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUW6jo0oJdFgsZAllkNsythTlXxbXY6vP61NUmo9bQXr1yJx1jANTH8ca50gVxCPNJIpKZYCW3xNt17DqkDNJeGvHsWR1NOjPUBDiTCS85lf03/3SbtxMLjuQfJOV+XtwBXCcP1p5FRHvs1/0/Rvi6lKIY+2rOgAqWL6354WeTrFUYLq8DQudL91f9LQC+KVgzpW8yvwlaAOjwOInVG5PUOMghWt3euPhewsfoLRUeg1WrP/u+WkurJDtgXw3q/ZVHB42pfR9vkr87Ge7pCWcmeh9bfbSqv9hlyQfeBoy4BFmPy+Khd6PWaJfbkdIK6xVGTtQ593bQIMl4gTNZJrrQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hSQucCJjgEaM1g5HJ+5ZUy1so4uyGDlPZGq8717EYl4=; b=BWh4DN777FvzEakec7m7cNs7yN4vVH7cTuwD9lWjTcX6SfLSSNtzF1VlhwqT5JqXdWAbv64+nYgHsbMchmKeK7fdQ3p1j7cXEDeo5JTHDAV3UrysUwPdlHoivRGrH5hAC7imDn7Er9eNm0/MQ/VOrT7UslwqfX1k9DnEnCuq8i6eQwSvYFxPRwYIDok3FelaVcUDNjSvs2W3OZsY3ea5A4kWM2HMvQOfNyxjnDfqcmEPMwVmFvOhwNPb5SYneKEA+T2p/OI/m36Rz1n6i/HR7iRPqq41Su7U40c40OZKWXaW2vsUC6r15PYGarkBBa/fv7g6SfDme08brJ6d01RfmQ== 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 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by BL3PR11MB5698.namprd11.prod.outlook.com (2603:10b6:208:33d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.29; Thu, 16 Mar 2023 10:29:16 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764%7]) with mapi id 15.20.6178.031; Thu, 16 Mar 2023 10:29:16 +0000 From: "Zhang, Qi Z" To: "Zeng, ZhichaoX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhou, YidingX" , "Wu, Jingjing" , "Xing, Beilei" Subject: RE: [PATCH] net/iavf: fix dev stop return value Thread-Topic: [PATCH] net/iavf: fix dev stop return value Thread-Index: AQHZV9ZVZyNzG7ozB0yNP43kRhVN0K79NHrg Date: Thu, 16 Mar 2023 10:29:16 +0000 Message-ID: References: <20230316071449.532296-1-zhichaox.zeng@intel.com> In-Reply-To: <20230316071449.532296-1-zhichaox.zeng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|BL3PR11MB5698:EE_ x-ms-office365-filtering-correlation-id: 66c7d804-8162-4dad-bfaa-08db26094b74 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a4sMISeLocyHiKMSdXs0oMwmQqTIcl8Aq9vReqxaf1/EEmAxwBfDFxyb+jrrNlA+iqty0G4d3GlG9gEge+zOqzaXAgBjv/nFU+VgwW9IPy8GXupaaGY1mW6+x/yQmp0tftA2C7tmDxgwx668/IN2e3AGIwysqeIsgTKW9UDmcUTBUUl1wtacZValx5u1qReeEzTq1kKFCksEMlM9tD67lpP2Om6fcKUvVIti8/xJHhBXwgxWHJ6Q999WYmH93dFPz64tbIpCp59Yjx93q9W3+VSJeG8ceYcIWb6SnqiXLJSpR9e054oKtgRLVtI73O4JDQvbM4++Z7IvpeQxou3ZxEng3K2CnAFu9qI5eX3+6fP788ocFgi8lykqxstLWJCt8l/qKD6tIfQUltM4UhtjquV2S7w0DP1jKz47A1iNI4SflNd2akT8Lq60phfR4suFT8Not5OKc7it5YEsDwANEjir2inMl5AJ9++07yVw1rLGOBycbwdFe1s+GgA3zb2ddOd9cE33imCYQF5nlrv6j0DFoWLXxZCKEHaESdQV08LMTxV0Hhbp1mj8brexnoC6kocnMbddtjkhipdM7hR69mxU+RD2fhGx5kYl72pBKq720+7HQS7/Vz8Z2P2FxeTPy17Upt30cMRmXEid3ea/mTfqmCGOfyh6H7dUz+F9T7MNF5gnwHDhkCmFGecwEDEr55XHqvSbaHIX9TK8QnKAqA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(376002)(39860400002)(346002)(366004)(136003)(451199018)(110136005)(316002)(41300700001)(66556008)(66476007)(450100002)(64756008)(66946007)(66446008)(33656002)(53546011)(9686003)(26005)(186003)(76116006)(6506007)(54906003)(52536014)(8936002)(4326008)(55016003)(8676002)(4744005)(478600001)(5660300002)(71200400001)(7696005)(107886003)(86362001)(2906002)(83380400001)(38070700005)(38100700002)(82960400001)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HXxQzRi54ECEf+jFMRJ6EWWT0zX2slz6bp2nNE9429DJVFr9ok9QGp1bPOuA?= =?us-ascii?Q?pkZmUOCvMeI7+TFSkoi46eUWiWlhLorRM3khNLJnv1T9O2xDJRdbj1Erg2MB?= =?us-ascii?Q?qkbkN4neqXp6EB8Tf2XHkyTQjwAo5ng6BEKqbJM9OTePGAzX9UCRjEuDYCRe?= =?us-ascii?Q?GIzn881qKPkpgO6nK8/8epOEG5BhWGyDM8eIpDEOaLg0VIt0W/hgvakGbJU2?= =?us-ascii?Q?xv/lggBYMaulOkZDumz4ut9GnZQD827BZLEOVajWErzv7qT/gGU3aK5P50ZL?= =?us-ascii?Q?Sh6t+dmsfE0XK0qreTRM4QKCMuviL36vd0IQBUlHSkPjcZ9ZvTnADQvjJxs/?= =?us-ascii?Q?kcgX4KzvsFNAjoYU+kx7xEUL7ldpHNxMX3L6krdxKLj5CxVmNvdxqMTwvPwi?= =?us-ascii?Q?p382qzqWCfJ124qDbtXZFBEv9SCOfnYX3W4y7YkGAiPkKTvLhYOItLEJOQ7l?= =?us-ascii?Q?X2ryr7SaXDdwX5e6/EiHDPFFqQWAfYLRYp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ii?Q?/eVp8PBrc+2Wmumy3bgvEJsAybsDh/ZXbIcKgdtuIAeBJk35V4Xt2cWKUO6N?= =?us-ascii?Q?mqT6qDbg9nls9biUftQCaQ2ik72bFnq/Cj7mECkQzkT0tOAUFhwFF7e4ELV/?= =?us-ascii?Q?FavtJprYFZKMPIOW6r6taquXfZbfjM2UhpawjP/imsHF6p5nZatZW1Hp7SD5?= =?us-ascii?Q?PwZq/tXPJXbKkxzeHUW20EMySu/PYzbYDCM38l/0?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 66c7d804-8162-4dad-bfaa-08db26094b74 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2023 10:29:16.5092 (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: bVAhBKDJFGOjpOnPz47kJbVXD8K1ZbrP9XgQtvg9bIsxvq+K+kUzmy7MpO12AHfARJwkoN6OK/Fj9PK9gva19Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB5698 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Zeng, ZhichaoX > Sent: Thursday, March 16, 2023 3:15 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Zhang, Qi Z > ; Zeng, ZhichaoX ; Wu, > Jingjing ; Xing, Beilei > Subject: [PATCH] net/iavf: fix dev stop return value >=20 > The rte_eth_dev_stop will return wrong value as error will return from ia= vf > PMD during device reset. >=20 > This patch is a around to fix it by return 0 in dev_stop during device re= set. >=20 > Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") > Cc: stable@dpdk.org >=20 > Signed-off-by: Zhichao Zeng Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi