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 3DD3043809; Wed, 3 Jan 2024 11:07:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7575402BE; Wed, 3 Jan 2024 11:07:45 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id E72FC4013F; Wed, 3 Jan 2024 11:07:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704276465; x=1735812465; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=aX1DlF3sxjn+gRiZJqPakGw+4PqmH7ADVaLnNJyBJqQ=; b=R97EfmbMU5Dfk0FMjfgPz9JN1h6aS7forLt+aep/7K1pfumdlqnyuwCw Qse4+VjDFmY7NVZVVMDvyrSwcph9/aU/7TdXM5mm/CnWWcC4O47/6UseR S6cg6233USH9BrPx2dzJS6E1zVGQ6I9xgrndRIvxk1UV0k6oXkS/q/ihb IwxW9Di5QZDLqboYHZVRH/Z4wQ+iKDMfryGVVs15vQduEedZFR4oIcUF5 4vzp0B2IRVSsot799NP6pv8x2zPpbduijVfbV1naW66bYXWyU+o94KP/y qctybJUsxJE72OSVX5qk75bJD/aPK8Bmq7Q/0S224xJZ+ZQMr0AqMeUxm w==; X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="10383742" X-IronPort-AV: E=Sophos;i="6.04,327,1695711600"; d="scan'208";a="10383742" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2024 02:07:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="870531145" X-IronPort-AV: E=Sophos;i="6.04,327,1695711600"; d="scan'208";a="870531145" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Jan 2024 02:07:42 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 3 Jan 2024 02:07:42 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.35 via Frontend Transport; Wed, 3 Jan 2024 02:07:42 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 3 Jan 2024 02:07:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B+bBEaRL2XRZ8JeiW9eGByp7Lf1aXCTwwnuIk7o1mBIl8XRg5xe4V5naprqAJsmX+U3ZTzGGMWbDOlgwvhG9Mk0r4NYRUFyzIlUEU7iWMjiBbReOGDmxAp1wGXIx/rFMMjvWy8ls2oFpS3GCsS0xW5CCl5vZHX2SlRGfP253G2z+pKhRYmbv2LhRe8+j1t9p050u0SY3GVIuRlOAdLTkqDc3VSyTMA597uiIcwir/89Cnwl80VTQEOm+9VlUiuYL+D1Oubbu2AeLVMNRge31rExsL3glMwGDI41vNzTOntRSGILx41YVM2rsiQ+jd9fv7F9ytq6mVkM4gw6Leggh2A== 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=aX1DlF3sxjn+gRiZJqPakGw+4PqmH7ADVaLnNJyBJqQ=; b=DXU5nd/97DxHFwxgmaaKnIKLNg6cszWUJzsS11/NkQv3GsgsVgmv5uj/I1qCK4dy3bnGthDUhQ/AicgD6MEiF3Gef5TNpozQINBsr/Rb6sEFGPx3ZrgEYWtCxOUa0jA8bl4Zvbgc4lwXa2VP6anthpnVu9kJB+MtFzjAU33E91HnoyBIhh94RxTlCUrTRAtqwOn3o3LuL/aVmtTG9bxsX7XyDypv/+yA40HXd+2CZBAgIiCC1ZAkmvf8COMduBiStrLh1MRpjuQu0r1zl5nvHdlLzHatWqLhKkam9GHSjF6gTmzBrsqcozOFt0pyLqwzrWcFL6OKIuFpCjwi0b+59w== 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 IA1PR11MB7367.namprd11.prod.outlook.com (2603:10b6:208:421::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.13; Wed, 3 Jan 2024 10:07:39 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fc91:526:bead:4f73]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::fc91:526:bead:4f73%4]) with mapi id 15.20.7135.023; Wed, 3 Jan 2024 10:07:39 +0000 From: "Zhang, Qi Z" To: "He, ShiyangX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" , "Wang, Liang-min" Subject: RE: [PATCH v3] net/iavf: fix VF startup coredump Thread-Topic: [PATCH v3] net/iavf: fix VF startup coredump Thread-Index: AQHaPfOu42dX8ZqlqUmcjRsigHdgfbDH3S7Q Date: Wed, 3 Jan 2024 10:07:39 +0000 Message-ID: References: <20240102092759.8712-1-shiyangx.he@intel.com> <20240103104207.125714-1-shiyangx.he@intel.com> In-Reply-To: <20240103104207.125714-1-shiyangx.he@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_|IA1PR11MB7367:EE_ x-ms-office365-filtering-correlation-id: 6135174b-d4b7-4197-c137-08dc0c43d13c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +eKHgUXlZbSUWddVt4/Kw6D498sTZnyTTg8ygned+dJX05iPKEN7DhQcxguL5zMfJDpN2LJvAVC3MaPoc8aznrO9YPdAftuLUQ5ShONTvks6bYhOW5X7M7dciAIpHYqFMh1xGT8a8xiHbRZlLUMw35gHaGFRB7lnuHo/mF9l9wX4GYCgOXrVdi+WjA6+fKUtVTqsiCVKksSsLJh7w9EdH1to0Gy/IAy0JnnW8TI1zwfjupM7tp4HzWORK4oOBJpb4QQo6hctP+WVXruW2dD/FAmC00pDlV6wY9UoMUQw6PLyxn0tbGSPMdqXBofMabCO8Ke8yRdjahrq43ywjuDIjE81vxk2quMXqC1jS1rBLiNVslWMldKEHMiY3MFfc49wKfS8zIkcb7BU7ZnAXRZClHBgHHIZ6vz437+Sx8v5NZXKmX1KI+TkTopQ0u0sPDSjJCw7hd7Dad5Dq0T9d5KPoFazD8OBBnYK8tLN5CQ0ZXo7pfO78U0yCjLSTKUfQ+zb+w2BV7P27e/O0DSqD0IpS6l7BkyML5VmnGTrGp65GXXMhUYQIjuU5hb5bqaaGctr1ilApUhqbi3SCKvmTZMFPUG/2OpuYfUVRzg09d77piY= 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:(13230031)(396003)(136003)(376002)(39860400002)(346002)(366004)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(107886003)(26005)(83380400001)(5660300002)(4744005)(41300700001)(86362001)(33656002)(38070700009)(55016003)(2906002)(478600001)(64756008)(76116006)(66946007)(66556008)(66476007)(66446008)(316002)(52536014)(110136005)(54906003)(450100002)(8676002)(8936002)(6506007)(53546011)(9686003)(4326008)(122000001)(38100700002)(71200400001)(7696005)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?UAUV0JvG3S+A7VhSk+MOaEof+W0TyvX1i+nM2/UQP9fyKn27C0E1eicpXDJn?= =?us-ascii?Q?Z51tZaoQjM1x4SsA9Ndf5lmLcWfh5et/2J5w5WfYEXrH5vFVAQnf7GhjeJuC?= =?us-ascii?Q?dg+uybKudyD2nuWYZpJdHz6PnfUOfHjDu5SEUUIwPByfGopG4ok3mK1jS2bL?= =?us-ascii?Q?mJ9Ms7K8NMtagntszW0R2Iow5N9rvVsA0/m2Y8OoyPxOKzcWnenI3tJHTd2s?= =?us-ascii?Q?CbGPtsT+GGnBzJbdPPSOTO9WafNhuGl9ioZ0N4mvRC5ETp5lxUO88IiFVtMH?= =?us-ascii?Q?PSVewmphyegZfWsN47qC5NCF6T2foox8WP7sDM9k2pSrzRa+f4yBDl/2lnNT?= =?us-ascii?Q?Iti7wKOayyjBlBqeAHCMRipwZb8iAIsc6oIzA93d92lFBgnXfU0pP3dHFjqc?= =?us-ascii?Q?6uWOktmSZgZJScA8AJWMKjJVwcjV8Dbibguk4X4f9Ny0xrE0g0/kj3eMpJH8?= =?us-ascii?Q?JjQBoFBOsDH1oyjrfMZIlNb0HDcu/+oObfPvO0jz9GAGA7XBzf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j0oJFD+UByThsZCx3MnK+zTSCrzGKBNHS7zdSwAQ8eAPEvQTc?= =?us-ascii?Q?V14QGzpytoDkXOQjofe8jSf7afBfTOfJdrzgvxw4M5dEM2bdbnMUlHeWuuS1?= =?us-ascii?Q?domA0V+7v5tvzrkT5NzOvfVdUrNzroaq0c791agZCEev68hSjBFxxmLy0RMa?= =?us-ascii?Q?7lF7yMVoFEz/ozcq1KBz6J19J6LWxUXuy/Yszx4Y?= 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: 6135174b-d4b7-4197-c137-08dc0c43d13c X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2024 10:07:39.2458 (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: GtSxvVT9TlrGlDz3fP1mlomSA7uGJIyMFAcem9WRZ2QhSuklF2Of+UHVo31GhPN3O/Xth1Oc7j78t9O7OK8+1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7367 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: He, ShiyangX > Sent: Wednesday, January 3, 2024 6:42 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; He, ShiyangX > ; stable@dpdk.org; Wu, Jingjing > ; Xing, Beilei ; Wang, Lian= g- > min ; Zhang, Qi Z > Subject: [PATCH v3] net/iavf: fix VF startup coredump >=20 > When the vf starts to request multiple queues, the pf sends a reset comma= nd > to the vf. During the reset process, adminq sends an abnormal message to = pf > for an unknown reason, and the resource request fails resulting in a > coredump. >=20 > This patch fixes the issue by checking the reset state before resetting. >=20 > v2: fix windows compilation errors > v3: add fix tag >=20 > Fixes: 3e6a5d2d310a ("net/iavf: add devargs to enable VF auto-reset") > Cc: stable@dpdk.org >=20 > Signed-off-by: Shiyang He Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi