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 143D8A0C5C for ; Fri, 26 Nov 2021 04:17:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F4033410FD; Fri, 26 Nov 2021 04:17:19 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7894B40140; Fri, 26 Nov 2021 04:17:16 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10179"; a="216309811" X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="216309811" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 19:17:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="475780397" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga002.jf.intel.com with ESMTP; 25 Nov 2021 19:17:15 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 25 Nov 2021 19:17:14 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 25 Nov 2021 19:17:14 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 25 Nov 2021 19:17:14 -0800 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.47) 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.2242.12; Thu, 25 Nov 2021 19:17:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aY65tuCGV+FbOUnQzIfoymkXCHfDigHMJmXLhJ/75JZ8srRfWUOyEiwCe5uULbcPvf2G8Egdg2PfLc7meOGZlRk92rAwpPG8quREFdWJh3P+sztqN2YtcIM/7vhgH/n7COptMNYyMUuHl54Q7wScCNyaOVbIyDjN49L1FuAYqvk4fUw4lzxfEZxh2V64He5evIAZL/IH3TuFkoCmlzM5qLL6Glfqns0eBXLjuAo5E/KtdUrxmg0vMDYEZ4vKkAItiqWcoq28K6koe28+xiuEpj7srepPCPOdUeAvnCeQDfQSWnCz2BvZhHhu0Qgo22kb62A3U/JcWXKjlpzJNyfzIA== 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=UeN1/PKE9T9FmFMekUE0nnE6RcAMD5RZ5hq3tKVK+E0=; b=ZPs9FhDK7VWtyRQpGrphz1d93T6b8RfLLeZmKXb56mAWmyARnc+1p5HVue/Z2dB4Wzn2DvcCSO8JR+JwG/4ETbUdy34WmIrFaICFZHPYJTgbgQBidOitVPSSvn5npLbaJBtAGnNtxaX7m6XKrhkTCr8X8I+PAC5OPaInnQAsd+8n+errOpnBzyv5Hoo6uCDIWAGqDJcuyFTCcQxaZ+u6wXAJoAqsdJf/TPBpdlcyxFUxKjq9bJVwN2ZVX+jHJ//N0qjPA6k3ELkJiGFGrXlXqw65OgFD6VrcBlr30+8HNklCLy++icBD7T2ZQ7bqqDHrcvkDzuzKpH8SjhjMsjVf7g== 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=UeN1/PKE9T9FmFMekUE0nnE6RcAMD5RZ5hq3tKVK+E0=; b=AkMguXtvXVfN8eT1/GSFCuewMlD18S0Cx05uqV9UVFCT/rNQi/hJlq4t6gwKqnDDxNr7qhi6qzNndyDsFxQFZjPmtDA8J59Gosnhowt+cIim9Rc2P8mHdST9X337qRy+wmKTeONHcveI3qXyPa7clBuSmt75mC+UrjZlzwH4B20= Received: from DM4PR11MB5518.namprd11.prod.outlook.com (2603:10b6:5:39f::18) by DM6PR11MB3260.namprd11.prod.outlook.com (2603:10b6:5:b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22; Fri, 26 Nov 2021 03:17:12 +0000 Received: from DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::e03e:d9f2:f8df:43a8]) by DM4PR11MB5518.namprd11.prod.outlook.com ([fe80::e03e:d9f2:f8df:43a8%7]) with mapi id 15.20.4690.027; Fri, 26 Nov 2021 03:17:12 +0000 From: "Wang, Haiyue" To: "Yu, DapengX" , "Yang, Qiming" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/ice: track the DCF state of PF Thread-Topic: [PATCH v2] net/ice: track the DCF state of PF Thread-Index: AQHX4QspHWprIB2ERk6I3fDcpYgcrawVJYnw Date: Fri, 26 Nov 2021 03:17:12 +0000 Message-ID: References: <20211122092913.262886-1-dapengx.yu@intel.com> <20211124081220.367596-1-dapengx.yu@intel.com> In-Reply-To: <20211124081220.367596-1-dapengx.yu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9fe009b4-2187-47ea-dfc6-08d9b08b3d2a x-ms-traffictypediagnostic: DM6PR11MB3260: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1201; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9lr8PYY2RFcAYbQ3iigP8hEcK/1MGHIDvJXDyaPgx/QP2oBi6Raso1AKdih7GkV/mmeU7TUDucrRYbWBgixZCWAYCo3ZfLZAlszf3Bikng825QhmUAOxOc0HtWu2Ix3spQEnefNjsnOiL5HthXG1kCxUc2mHtn1wLy8Ed2Lbx44vfbMgqBO6RYr6ZZZHOtuBNRDbHP5ge5dMiaL2qt3+2EHa6QhOxHPVTjChQpe6OF0Jgmr4ZWxZjabAoq8jJFbl/Q8PYawQZKRVKwTOHlxaFTZTEyBXOd/FynsxQM9i/lVmrVycc+dulxC2U6ohqENr2iPYmAVLeMxHp9fdoZdzQnmREZoEEtO/RUfNsAvqgulT8XEByWSAlBKs6F3sOTVzABWk1ls4ivvcwkDNCDUX5+3n3IbQX4Pq7ZkcRUGUGJwghNz9xsF3RMAZDtwGp3thimKA8M4MZN6TzhK5YAzk0PTAUrbZ0rRMSc35RnNnpUnDMgulyGszDUT/HALz9aWiuJf+lkNwXZIMhxHFXTGRlbyFa9jOQB8h8roZU9T2fjC1gyuYn5T+C3viDZb76+Smiqhy7x7dRjz+MWm0FIIKVJkjJG6frG0UtrJN+0gTYDoGlX8zgJedufq4FuX5pfVlxoqkOeryEWrZlwvbeF7kuALcMkNcNecFegzemAAt690Cr0kFLiOxiOKcmsde9z6Sopi1giXUH9kye4DP3ElAzA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5518.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(66946007)(71200400001)(316002)(86362001)(66446008)(64756008)(450100002)(66556008)(26005)(53546011)(76116006)(52536014)(66476007)(55016003)(508600001)(33656002)(8676002)(110136005)(9686003)(38070700005)(7696005)(6506007)(38100700002)(2906002)(5660300002)(83380400001)(54906003)(8936002)(122000001)(6636002)(186003)(82960400001)(4326008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SGf2e99UQYB6om3cSWScWuCyLXbOfJtpPttmKW/HFFxS+vJRW9Q1r7yMtv+O?= =?us-ascii?Q?0qqxHrj9Ov7iMAGbc5KZqc0PzLQneEY73876BQ7VxQLl2gy/8Zd8kAJockLr?= =?us-ascii?Q?fxY1a4EAuYOz3cpeMLEx28Gt9U9ggWUI0lUiQU7q+nPaakTER7opQSlTQhfV?= =?us-ascii?Q?AZEhvGmfrR9zqvw3ImgS3eYedT3dc/dMoAbOzpVw2cfLEHz0QpTtE+Ot+c0h?= =?us-ascii?Q?9VY5zXbr3/IRsUMyY7BnFwmkyav/Zf+m6UFNXBUts98g/UCIpGZ/Zl6ZyTMm?= =?us-ascii?Q?s6yBfQgChzFA60ncXpCcJMT78ctpaNoCHlELRKq39sJfuoQsuN2L35kcA/8U?= =?us-ascii?Q?lxJVrlnR+V/N940XpAbvpoazjqwxLee4bxNbDaX2R80B3xX0ttxfQHK80+BS?= =?us-ascii?Q?ozRQEhb3bM1L3o4B8MyeXQ/8JRZq0wZlhWlRbgI4zIHHgJTIEjoxHGR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zIbNqW/0Pob0SvuVQVVcbcKRktZewacxV?= =?us-ascii?Q?8kXoG8kQ4LPOVIf7WI3UQCU/ngI0EXoAVVKBaIyfwX/HcAXDlBLboMdeHDAU?= =?us-ascii?Q?BG8fnxZQGoY3zEnFGX9keP+uC7bFVA4KsvuV9ZaZei6Rzevzl9o/r/cxCXA8?= =?us-ascii?Q?Uj9pLu+dQ97JqM3DaKxtekJbNV/qW/VVVH5OBxT65wH6OTgeD8dED+fT8ZJe?= =?us-ascii?Q?SEeA2FMo2Jm6Ccpi2JlnIg8F4lMvBgbl044TJZix25fvyokNZOuPuSu0XJdX?= =?us-ascii?Q?V8Yw/pzb3wW/vjvpnf1A9/c=3D?= 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: DM4PR11MB5518.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fe009b4-2187-47ea-dfc6-08d9b08b3d2a X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2021 03:17:12.1295 (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: 1Vd2jGeRrogUnG5enD8zVj6JLTLMnFU+elyHQMKwAsAkQKu8BbEOFXA81D455dAl5RUF79tIeDVbrp3rydnUGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3260 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Yu, DapengX > Sent: Wednesday, November 24, 2021 16:12 > To: Yang, Qiming ; Zhang, Qi Z > Cc: dev@dpdk.org; Wang, Haiyue ; Yu, DapengX ; > stable@dpdk.org > Subject: [PATCH v2] net/ice: track the DCF state of PF >=20 > From: Dapeng Yu >=20 > When VF is reset, PF will change DCF state from ON to other state, if > flow creation, destroy, or redirect command is sent to DCF at this > time, it will fail. >=20 > This patch tracks DCF state and returns try-again error to caller when > DCF state is not ON. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > --- > V2: > * Move DCF state flag to another position > --- > drivers/net/ice/ice_dcf_ethdev.c | 12 ++++++++ > drivers/net/ice/ice_dcf_ethdev.h | 1 + > drivers/net/ice/ice_dcf_parent.c | 16 +++++++--- > drivers/net/ice/ice_ethdev.h | 2 ++ > drivers/net/ice/ice_generic_flow.c | 4 ++- > drivers/net/ice/ice_switch_filter.c | 45 +++++++++++++++++++++++++++-- > 6 files changed, 73 insertions(+), 7 deletions(-) >=20 LGTM, Acked-by: Haiyue Wang > -- > 2.27.0