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 E2151A0584; Wed, 19 Oct 2022 14:20:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B54B9427F3; Wed, 19 Oct 2022 14:20:13 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 0DBC7410D1 for ; Wed, 19 Oct 2022 14:20:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666182012; x=1697718012; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=uOiNGva4vIGdQ7KrwVczAI/hVtu6mtvbcihrHq4U1lQ=; b=gYG2i1s/w4itNzZ1tLgXQBnbySBmJ44dnDsXizXV9iR/6ALld42lrelL ucEox2pBg75OrxJK5vdnQ03/cKvC4MhWnDgQXEVrjDJt9TiC0lDWWoCM+ wQqEmSd3MNX3B/v/GLC1nCPdODcIEpw8A9qSlNodVeuMMpFFAvz+B0FPe fwCbrq12SLi1+hrkeOTwo0J1g38gWP0V+KEr4lJaXDdvtg6DYFCpElKia raZquaEgxzVVa/4sZMHKDat+fNsvsCAsIUVnzHeD/55lIiAXK+m0jaT2n A8QPDAv84UvZkSIBHO/BTn+XCvCnZGPk8xm3mPC4aWMZt3PVQ5Ks+x1od A==; X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="304009888" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="304009888" 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:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10504"; a="874409085" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="874409085" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 19 Oct 2022 05:20:03 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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:02 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) 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:02 -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:02 -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:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eNwlfrYQAxbioFHDTG9Ucrtu0CuYXig0mPCr8OzUCpA6Hyte7+F2DrF9X5mNUcxCu5nhlUMQPM5K47Ycys71TuvuyFy2sm2mUWW8qYt+c2V/lXpYzMEvL8eougzRHOG0PPIztjJ8lYYhrWVWT41d2SOfqWn73Akdy9oXS5PzBWa6Dxw42luqC2rwoqHr85uphxPSKdv9bmKHVqQMGvhMxKejcm+AKzf4pW9uazVBWA27e4bbeOVnVYQCzlmt54V95r+yLDZyJgJw+QegB5Z6rLKvo4IgEkZZUpW6NhYlvKawUUmOWGTzN4H3zpqQ46h7DBq6dPTf5fWyW5Q3nQpd/A== 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=Cd6diXo8UhdnPO+YFcUw9mSXlqBKNoZrAlwME9ZaNbY=; b=c5jbSpHI/AZu3TVi8ogl8ffv9fkYcMNmOf6k240MRbPoqlyPVz/TQjWESVtEbHnt+JJ/eDs3fsT0yo7l7iQPvUkAdXezmP58nI2/HCpnmD7coc3pKfPypR7Wv4L/hgF9ufnSzNc1wdvjLswn8W61F1WiypEZIivi2Aj3aY4BsN/0FX2onxGp8UWGD9IXUwY0zpE/M1LMcHTutFTBgc+7nEQfqWOnpHVsUPEnnpcoLEhNputKWqGA9bMVjdVZQYYZz+t6tUXSZizUVCOfIAjHiPxZrfKUPWlHhk5ErIkxuAO3OWdDGdE7/HSRpRz0W029M3KxTzf8CqDLitySLrUcQw== 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 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+6r5t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6J90pPdCtFIZT1P2U3qZzLrXwdd82QYBVevQWjLpxd?= =?us-ascii?Q?+bAB2oPWcSICiKmKhxxw2JJJKWZh2H3E+QAZUnJh32weAm+FpwwZclJaWd9D?= =?us-ascii?Q?o7spXXzbr0no0+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?= 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: 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 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: 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 >=20 > 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. >=20 > Fixes: fed0c5ca5f19 ("net/ice/base: support programming a new switch > recipe") > Cc: stable@dpdk.org >=20 > 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(-) >=20 > 2.34.1