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 7958FA0093; Wed, 9 Nov 2022 01:40:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 481CF42D1F; Wed, 9 Nov 2022 01:40:28 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 806CC400D4 for ; Wed, 9 Nov 2022 01:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667954426; x=1699490426; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1gxFMDLDZNui2IZWPx3Z9Fk8AUV5Fo7yFHSKGxty4h4=; b=HrbKSXRI6ngO5uE39mPBFelo6zBTSPwUJnUJGT14VCljyWM77BARjFle e2j0exl+QSRnm6ulsdjiQhkhG8X3Dch1XYREJRyLFwMHM89IaDAhPYCW+ RBchMKzhlukqVCVnxjxjpqkyYMG6ashN39uQNJ/COuPhtaXekSusgCrSv W6UJjFYyxLZ+slm8RGMGl/eGuiFmfLWbqnJv4rs6P7OWfkQJ5UcWsc1lu STmfLIPU2j5oBfAXSp/doU4opBLlKBggFONMhHb7Xh5SfNtAj3xQeu505 oT/BlM3TB9uizhfVeoD+Mmu1pkNe5wemUY++xpoWn1EC8O1S4Lo/bbUUu A==; X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="310845901" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="310845901" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2022 16:40:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="587573813" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="587573813" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga003.jf.intel.com with ESMTP; 08 Nov 2022 16:40:25 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 8 Nov 2022 16:40:24 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 8 Nov 2022 16:40:24 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) 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.2375.31; Tue, 8 Nov 2022 16:40:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OxhHIHnrwHceF51ipJD/ish9lKzrbDiY7/ENEKaY2klEE0zWYN/TmRVM1ANjbjqLPcybdXbFcR5aDUmUhCcOeXTkXYhCWWpxgjoM2to8wagA4NNM3evnnrM3v6Zm77JslPIPRaY3cTwF3QsMoq+FOK8uIp7Lf3n/uHDo1Ye78J7MdQHcckSM7ZPvugNa4k0Gvnp1W7vv3twS5iUWwWWwASzXWybgvSmljPYS+jdCREM1YchCAelqz8r/dgcGCrKrPgqyZ7wiXGRk5Uot9WtW8GEayHzo1u/MsGbfxJxgQG/CQAoTXxX+TxzrzY14+TrpiN6WNSDwBeF3Su0U4QMn2g== 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=Yr+PQyJJ8D7gFflhRpQnZHqdfoDngoOjI7A1OamF/AY=; b=RkiIvqIxbFeZ6LpnlsG9tiq6y/P/K70kzIMYjKK3A0ahZyGXMKs6e2VjmuBajIIagzXDer4Wgzv/SDiKZ7FOdja4tgbvBSLaw59mQBJNS7lFOds3b7yuMRXCtwS54KXjr+LGU6AtbhfHKDqVAqHVlFX8fUYxDufIgxl6rc2B38jlDaARlb30aUslmFg/IDi9GHADfp8FhQUyxcCiX+W+5WRIetpmMvptFGkbSGInHdAVGp9VtNSBTjtkInJBsJAIpidXcuP9eDQW+wn5myjyw3r7c8PXMRDy8n5jZ7Fi+k/G2V5t/R9g5UPiuWlkwIQiHonrjtZVCbQuwpvSpfHjmQ== 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 IA1PR11MB6146.namprd11.prod.outlook.com (2603:10b6:208:3ee::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Wed, 9 Nov 2022 00:40:22 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e2ac:cde3:4d74:3fa7%3]) with mapi id 15.20.5791.025; Wed, 9 Nov 2022 00:40:22 +0000 From: "Zhang, Qi Z" To: "Xu, Ke1" , "Zhou, YidingX" , "dev@dpdk.org" CC: "Zhou, YidingX" , "stable@dpdk.org" Subject: RE: [PATCH] net/ice/base: fix duplicate flow rules Thread-Topic: [PATCH] net/ice/base: fix duplicate flow rules Thread-Index: AQHY3sulLck8yBFM50ywT3TtHPJT6q4VrJyAgCA9a8A= Date: Wed, 9 Nov 2022 00:40:22 +0000 Message-ID: References: <20220919060654.1092715-1-yidingx.zhou@intel.com> <20221013062113.96088-1-yidingx.zhou@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows 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_|IA1PR11MB6146:EE_ x-ms-office365-filtering-correlation-id: ab9dd55d-6713-467c-100e-08dac1eafc2e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +Mn+ZzWFHc0oHGfLu7FIY3qj7gJm7PCABA3UGR48cqkt69/2Cd53uof0ouhA60/0XLx2R27KBoDdHvQNYsfK/0HGxCuj36XfAQHy0GRfo/9MbvUU+CXbIitgn4zbTxc9SNexclO4H00ZBL4gFcqdrxhC2JXh9QIbcmaEB9gFhvrLvtRYZ3nYJxxeWRaCZwMXb2a1UgzaLxpBRuzSPddRzMvOBdR+SfQvVazeJeaimTiMipHsLlMHGA4Kwrkzh8RWJHeBIcBOpA+34SMP7djjP87ljryxTGnrZjLCxOk2DPND7s3xFx4bzukkP6/SCPkhJfYKE11ZQXu2zInrgEa5AqNVu49kk+tAAsBPXF7Tg0Ef3Xv3xdf+0u/wq5IeBdDhwUafxSk0wLJgzA6vGCowAS/EIbKrREglM8tbHB9cdscfEQvHYOWzQpn+mirNKkHBbQV22e7RwymFBhH/0IfcbhbGVxSZ82bPdsAhwHz4rjWwuKPxdyPGKDnz5OoSNTpDdmEof2KbdwMQ4+rjESS5feGvgADZNsPO2FNkc7kXRESOa2oZF/3wQEWINjEAo2FONl/tJ+Jgt68kRWWr/8JsWtwauNnxHGTJfXQo4mJoCkApfX3HRG4cpP4s3jALJ9xnHD6gDSNEWvTtFMtpo6Eaf13kCnweARgHVZZiYTmUT28Sgxecl+CA4SgvjF1Jwg4FbntQE6L+t9gZR0DLH9FzIQ4u6k/ptt7UmdkT24zCSYGa4A2BUuJ26MtRQfRF3XutFN+atlikJIpHe0iBeccRog== 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:(13230022)(376002)(396003)(136003)(346002)(366004)(39860400002)(451199015)(33656002)(38070700005)(82960400001)(86362001)(38100700002)(2906002)(55016003)(110136005)(83380400001)(7696005)(6506007)(9686003)(53546011)(186003)(26005)(122000001)(54906003)(66946007)(316002)(450100002)(478600001)(76116006)(71200400001)(66446008)(8936002)(66476007)(8676002)(64756008)(4326008)(41300700001)(52536014)(66556008)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?2DjQBLY+U4zYGKT68NLEuGcOxj1CP4XdrKlh2ooMZkrjP3edQZBzPL8+YMJf?= =?us-ascii?Q?iIxtpNQb9Qs4g4YeU8PbZ+zJgHmc7yhS2eKsVRzXj2l5xe9PfAkT89of87jr?= =?us-ascii?Q?W8ZqD0vB+wd3j9xxECNqLefhPPekplDdQkwNlUuEI5b0l/u2ZLzk30F1rrGq?= =?us-ascii?Q?/H29uGIFe7omvml7mL//OLKvI/2fS6eBwK3rUU1QCdx2B/Co2mwYRGyrhBX4?= =?us-ascii?Q?onWHUvA6LUlIPDeb1QY04SV8098tW6reyiCh+Lil0vzmSjMnffFD5WVqUdKf?= =?us-ascii?Q?H4AcjAaIJ8Rocu4dkEwC38s3H8foqCdPi3StZS09NPCN2WNr8QLBN+3bUg9G?= =?us-ascii?Q?7TJyFC2HIt0yC0ey00WQ3dNUSy7PtgUt80x7MJmBVnJHHyFsDP+TQISCXkOP?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mZ3UR/5t8dEFP5j8HEDv7IVsDcEC?= =?us-ascii?Q?/89g1Zquw5RN9xWYzesSrsOamVgw4oO1xIAx++RIdYtdl0AK3gM4FmsrIEx6?= =?us-ascii?Q?907SoSns8+7dt0mFwyW2BR56gNvEC/VgkIIWuogWmTmAlJqmbPzTdw1ooD2A?= =?us-ascii?Q?/13LEKextA1D+kM0L68zOI0ry4S2T4z/Hii89kv4wqL5uXQaBaF7E57uGjEj?= =?us-ascii?Q?pp40QbUEZ5G4EqxNCAOAvq4rJIPox9LQrNimIYEVmrKwXdogZ25BOmZuFijK?= =?us-ascii?Q?DyCubrtzI6jwtFLO45P2Yla9d4e4DA0uSfXdJAf+?= 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: ab9dd55d-6713-467c-100e-08dac1eafc2e X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2022 00:40:22.2169 (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: ihswDUKHrjpTMwSxLqR7TVQ8uFGQQvOByXG06zM0R4ePFSBXiP0Xy1t8LQ63stJ/kmKl7WVovOURKw2aj66+uw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6146 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: Xu, Ke1 > Sent: Wednesday, October 19, 2022 8:20 PM > To: Zhou, YidingX ; dev@dpdk.org > Cc: Zhou, YidingX ; stable@dpdk.org > Subject: RE: [PATCH] net/ice/base: fix duplicate flow rules >=20 >=20 > > -----Original Message----- > > From: Yiding Zhou > > Sent: Thursday, October 13, 2022 2:21 PM > > To: dev@dpdk.org > > Cc: Zhou, YidingX ; stable@dpdk.org > > Subject: [PATCH] net/ice/base: fix duplicate flow rules > > > > When a vsi that already exists in the created vsi_list subscribes to > > the same filter again, the return value ICE_SUCCESS results in > > duplicate flow rules to be stored, which will cause 'flush' and 'destro= y' > errors. > > > > Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch > > recipe") > > Cc: stable@dpdk.org > > > > Signed-off-by: Yiding Zhou >=20 > Validated and passed on DPDK 22.11 rc1. > Also managed applying and passed validation on DPDK 20.11. >=20 > Tested-by: Ke Xu Applied to dpdk-next-net-intel. Thanks Qi >=20 > > --- > > drivers/net/ice/base/ice_switch.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > 2.34.1