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 B16B7A0584 for ; Wed, 19 Oct 2022 14:20:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CC60427F4; Wed, 19 Oct 2022 14:20:12 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 2839D410D1 for ; Wed, 19 Oct 2022 14:20:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666182011; x=1697718011; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=W9pqEuDOHrT0ap/pjy2NSmSW2BxHeFuB6DUgUdEoHk8=; b=HgEvCjz410QRB4zByhhXtGFBJu2SbZc+sx5G7jK1w/Ogk4HRrIo+8cCv JJ+HKkUsIDUCnbabMe875qrwWV02rGSHvlOJlwMeR4Wc3z+fOZVtMeSZC 9TWocYN7G4aitD1o9fnL1IJxsk4uQWl9Q/dlgj98USYssJTaNNJB4EkH6 V6kOHj5MbQd0t4MidnSw+NvgUw1xMrqJR+gECrxNosAgaltAVTPSlw4MT hTNrZFLoKNdEtO5yFIaYxOw8YllAPt3B9VcLOqY84k9dZpbsffZ2hGQKV HPpR6upqbDRvhac9H0whpwIhhw4tR490noZF0VOOQTlWVauQXWbYDD/Zz A==; X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="304009883" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="304009883" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2022 05:20:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="874409078" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="874409078" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 19 Oct 2022 05:20:02 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 05:20:01 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 19 Oct 2022 05:20:01 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.173) 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.2375.31; Wed, 19 Oct 2022 05:20:01 -0700 Received: from PH7PR11MB6056.namprd11.prod.outlook.com (2603:10b6:510:1d4::20) by CH0PR11MB5538.namprd11.prod.outlook.com (2603:10b6:610:d5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Wed, 19 Oct 2022 12:19:57 +0000 Received: from PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::692c:9d21:373e:4057]) by PH7PR11MB6056.namprd11.prod.outlook.com ([fe80::692c:9d21:373e:4057%6]) with mapi id 15.20.5723.034; Wed, 19 Oct 2022 12:19:57 +0000 From: "Xu, Ke1" To: "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: AQHY3sugQDj1wocRe0aCvMjBjIwf+q4VrAUQ Date: Wed, 19 Oct 2022 12:19:57 +0000 Message-ID: References: <20220919060654.1092715-1-yidingx.zhou@intel.com> <20221013062113.96088-1-yidingx.zhou@intel.com> In-Reply-To: <20221013062113.96088-1-yidingx.zhou@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.500.17 dlp-reaction: no-action 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: PH7PR11MB6056:EE_|CH0PR11MB5538:EE_ x-ms-office365-filtering-correlation-id: 00bbba6d-7783-42e2-c49e-08dab1cc3cc4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4JvKFlO5rFAzFsjlCOtrnS3tPcDYsV0f9SQrGR2O/qqSsx2nXVCZw6AkOBgEjkTJed8FEV3mBQoL1hlwv3iKgw+T1Qy17gdUJVLWOS7VXQqw4PJ/TmpMJH71lL/VAFVU9i0Bsxy06VS1btER4X+kyxdLXX5OJGre4BcOOfMh7zQ671GTMzt0JOaz5hlJYFHI+FAxUL65FpNZ9mPKF1BVu9/z5SBq/lSps/f3VkWej6hW5z/aEuGB621gjZfoYnzxTmsgPr3FcbrbZUUYEuMXe1VdCQjWzyVQRyRr1My86Z3eumx5iqIFRXA7XAlFEQxsP37FCRnExU4+axSv2ZyORbpr2I1a9U1VrFcEa5ncOKSUC5Q6aUJXYSjcv0PprFpQsDnibYJ7ZB9GMpPHmhQPaHzvd1Y/7ZBnStD6RJQ+iD8Zo+ZUA2W46Gx7DYyrajO8YfRzi296QYc9pXB8dm+7azhRkNjiFE7aufI71CQ41MZKAgZL2RGFQlQpP//L6z3sjCXJvhzljPKX4MSaJUl52NknRX6wfKk4l9XMMBSygBrCrRIOgXTNwsDcIbrr2BJkeo2Q7suNKTg6PsN802zPK6XzIB4VOsWlt/WCkTMTGQPpNgpEXbxR4OD9FYn4H0thGkd9FxFumI0WSUl9onnl0JLqyBRGlE5t6ZIb2jIkP0yvKUsNqD685Z6tOgJpD/FIBje8SKXPckKG+N51LhUYmDVhBwpYYP8TexeY3qUs06AbIBZgCt2klWpaGlL0312q2sg17LLPIyxd/lqya3DgfA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6056.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(396003)(366004)(136003)(346002)(376002)(451199015)(186003)(6506007)(53546011)(26005)(9686003)(83380400001)(7696005)(2906002)(5660300002)(55016003)(64756008)(8936002)(478600001)(316002)(71200400001)(110136005)(52536014)(450100002)(41300700001)(66946007)(4326008)(54906003)(8676002)(66556008)(66476007)(76116006)(66446008)(4744005)(86362001)(33656002)(122000001)(82960400001)(38100700002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hkITZjZVvPEKiGJKGZszWH93nQ/YYUaFncZTxoPv97hWJrapFyO4mc7/KbN7?= =?us-ascii?Q?aElBCp1CSa3HIM+CtfgsIomrnPgKCsWMp46WjjV7LBi4QLSuNUNPplcpBte8?= =?us-ascii?Q?XgQqb5smcnMtl5czo1SNq1jOVpwgp636OF9uiPP2ITNSFlhuQ4gv+jiRRlEY?= =?us-ascii?Q?DcPJVyAtuB8uhjM45p2x9MJBHUajGu1sa1L/vNY7F5FNoJrFtmK7ZsK3wHG8?= =?us-ascii?Q?4WzYrTVQH3IFMXJ0z709JiJggTUy8X+V+6r5tp8+hvhqJaSGNG4MydJ9ohKL?= =?us-ascii?Q?vhs44yZtculllDnA0SU892LWzv1bxIZt1mq7y8bQMi1/E6mxgjpfYtHA4SNt?= =?us-ascii?Q?RMrSCWOXCeZH55BwqC61zb/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XXzbr0no0+Cy74zjhSFlq1IMW1UjtM71YlwQ75r7ec8UL+9Dt3prfJHb?= =?us-ascii?Q?iLvlTNZoa1mMM+iKS9YM6gxVPyxjSraBzxOLiesXn/zL4ADQorCGPrx400uV?= =?us-ascii?Q?xHRVYqIMLStAPDrSNxF9N4XvaySZKk1SeBP3zOtvZEigOpf+USWwmwZEnK2g?= =?us-ascii?Q?JHxYVzQivylAlT4DkIS8ayGS3fWNAT38K02LGQauJDLgKTCW6k4kwcVACt4c?= =?us-ascii?Q?vXnP0ZKRB9ttE5Bse1VYwp+GWkjBg+AekdrOOR5XqGRqshENDMFB0gbG2RPv?= =?us-ascii?Q?datTjaj+xkY2QPE/dw0=3D?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LH6nCS/oJDOP6dzksWe2YVnzjwqWhXVeG3GTw7aKiWnJNKgsDjo8CSP2ALFBqkHQvi++nmIMss47JTVO8ZNOfSb3m2NbJWtJZkWBDvACZcdFD2QH2yJU8G93Dxq/YacgwiSsQBwinvswuEKeMX/W9LPokVRwWrlhSneJIMBcMv3uzFVm0UP0ldOTcJCd+tzspt1lci3dKs70/Z3oYSHig10dY1VoZws0MiJGlOqSvDcU8mbKzsNO0CQZm6GeTCFthow5Iaxd8Us/NCft3SrZPYJjJ52dcoZR5VO1G4C65yCCbuU/dd6yItanDRPIdwaEuEkNU036FivknWWXPvHQOA== 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=JFISWs6+hYp3p5s6DFibNDAfTBV/drtzVtXHjtRPrmQ=; b=eHkaRAjq9cD56JnvSoPEPGpVIFjf5MC5/Mmv38J098BurLiVl1DXMXXYpkVPRhkOLx69aZOwaBmiEIZmdr2rpc/bFFkNN+rj2WFLKQ1GTZXPiGPzQe306v1n65vquVzD1WwwMT/c8yP5fcbW+uqdyAYtr4ah8V2ttMVDtiF8Jlmsvhe8k5Bwv5Wn1qGE7djgodEe9bAy+FUnsQpq5a9hvMzigjHdzhNTMdIKi/VMXwYtGIiG8EUHTyBzvZ3DSEDUZZKa3xHcPGzR5NoZPxg/8D7gBKVhIkFSN4ADU5O52NzIKCh+39YdNpXcppN1P2D/5ajJs1qBT2zxekg6xmljuQ== 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: PH7PR11MB6056.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 00bbba6d-7783-42e2-c49e-08dab1cc3cc4 x-ms-exchange-crosstenant-originalarrivaltime: 19 Oct 2022 12:19:57.6694 (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: UYOnN3iSEb115NajljcYpJ6DLKQ2oxRWXpGgr+QWzm7YgXwCFO3LwT2VOqBrD2OwUB0i98VxsuPip13j2h5r/A== x-ms-exchange-transport-crosstenantheadersstamped: CH0PR11MB5538 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: 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 rule= s to be > stored, which will cause 'flush' and 'destroy' 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 > --- > drivers/net/ice/base/ice_switch.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 2.34.1