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 2A0D5A0093 for ; Wed, 9 Nov 2022 01:40:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21C96410D7; Wed, 9 Nov 2022 01:40:27 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id B3B16400D4 for ; Wed, 9 Nov 2022 01:40:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667954425; x=1699490425; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZLt94LOSPxmAK8r3XDG85sL6VR79rlBL2DwbIPA7IJM=; b=PCCrLqtl1P4DCuFD/MJ+Gz3VxeQ/cBoFJtesJhU1n0SXkvr9JthhYEME EoVrGsbWT7itFu/FOkkoaxlgN/8KaMyYq9Nb9Rrh9GFRqWJmHCeMwmW8q 0a7h3VyJLonWUTEvK8jpzp0Xy9BcA0P4j7FroGE1uURuDiX7+oG/usR6C J3h+IdHoxouApUmzRnNiwazM5HS/kT3EN/eSDRBX6tKMFOPSnsyPeIgVq rsBvKKE+/ECWQYeX25iSZcjS1qGByTzFHjukXK77jeP7B+Cdik8tL8CSN 5qG6nj9Dl8KK2I+dT/nYfB6QOA7cMtWrtuugBr2wqOcuGKTKN9rGY2cX0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="310845891" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="310845891" 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:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="587573811" X-IronPort-AV: E=Sophos;i="5.96,149,1665471600"; d="scan'208";a="587573811" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 08 Nov 2022 16:40:24 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.2375.31; Tue, 8 Nov 2022 16:40:23 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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:23 -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:23 -0800 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?7TJyFC2HIt0yC0ey00W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?us-ascii?Q?JsK7Gdc6YWE87uk+hU3Y6LZZusni2KAtmZ3UR/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+?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e4h0rNWadQa8UAU2uaJtKhcvhB40TXOQYbp4rlC/+z+5RDXk1BYe5J825n1XwQfJODTH3fL3/CNe+Ywd53ai5i7mKNtc7JxBt0fj/EtaMKa5ijnxQyW5gVfaslZm+7GUBck6d3fWb2q0uJ+wQ2P71Tkw3qzOrwCfjKi0ftc1B/0K6jPD8DCAjXaF9RXiRc71/2ui3A/S2D1PkNI+SopNC6OKlO/2DHlornhL1efuig8abD80tp9DKH/BDlnW3urbDyZCcVd4pGpfyLPoXxcEw39PP42ZS3ZVAVRvsVLMj6oYxPpn+AIr45ZWyELnaQqyTA4yP1od/1OQWPPzJyaIdg== 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=rtM9iMWGI3HrRQTpkPjIzI5ssKu2dj0XYH8ReqVGUuk=; b=LgvaBgXiBImddRmcKtmwxMvrnipNEQxRvrBY0qe2GzysuDFyZ3nlv+uOwy533P1tZUFQlFD+8k5I3m41TlaaaFfkbb9BEMOsCJ9E+kfAY41XhwzoAI2EpAmOFMxauSlO4UOS/rbzg5FjR9MIIDcQXhw/ZYVZ/srKDaINt4jd2la+ZtVknmD8FpC8CQ2jmZ5Cxw1k3awtI2kD7fKT0RopK/hvcTtR5OS3sp5UEu6lB3F38uV3n4p0CMpzZJ0YJeiTCToUFxDbJ9Gk9plWVm5nFHCMaAUM4nisMNIbuGebId2lOjqQrfFHUOlXqhxhpEq4G+MNj91hyzCmWqETodRVWA== 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 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 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 > > > > -----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 > > Validated and passed on DPDK 22.11 rc1. > Also managed applying and passed validation on DPDK 20.11. > > Tested-by: Ke Xu Applied to dpdk-next-net-intel. Thanks Qi > > > --- > > drivers/net/ice/base/ice_switch.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > 2.34.1