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 3F350A050C for ; Thu, 14 Apr 2022 03:27:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3094841155; Thu, 14 Apr 2022 03:27:11 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 8FE0640687; Thu, 14 Apr 2022 03:27:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649899629; x=1681435629; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ePfqXQxpp7aUfklYmSc0Mrk/Ro8XWSclpa0j1L6VLoc=; b=ZiPcBwfM0PhKCsKvfUuMvIoKBpkLbwBT6HX0Qud/EKeHWQGBHZq9R7Nr 8yG73sWkDVgy3ZmgG4xj4FCY2nBM1H2E0iFYmrot2I2CUcNBqOvEscpl6 xuzHSvbG53AApmue6JScDk1L6Wz7mw/w1oBjmVu7GVK9ZMJWiCNrdGzoA VjsAa7Uwchii1L+H12tndNyJvQbL7OU8gklYo/5MvBIcZvgxyG211AIkD OAcceG/QBxjaVTKxm6javlTfrFzrNVkFb3v+mamFxV6hIRqa4Aep8DDtd 7TU91da/AXx+lnTkav4hvYYGnC2n5imahe7JooU+JYBacdMQdbSg9DnKZ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="243405649" X-IronPort-AV: E=Sophos;i="5.90,258,1643702400"; d="scan'208";a="243405649" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 18:27:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,258,1643702400"; d="scan'208";a="725147499" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 13 Apr 2022 18:27:07 -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.2308.27; Wed, 13 Apr 2022 18:27:06 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) 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.2308.27; Wed, 13 Apr 2022 18:27:06 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2308.27 via Frontend Transport; Wed, 13 Apr 2022 18:27:06 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 13 Apr 2022 18:27:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f8rjPjjxFHsjUV28/Vy38J7lSb/+GKQgTHtjljqRSwXy+OZVarVKStyzPRejVRKeSfkAx2Fk9J6x0GTcyO9g3TMeqQmEtcb1Uw9QHZcO6DZati5X7UfO1qqE2j7+92H2/hQw0XyXd5e3soefh5DSs/mmB3EmzDIss542Ag+2llNFSawhK+E948Zlmg706FVHI8HWnl+EffbgnCaGEw8+P07XJCkLDEMEIk+AY4/vHcJcyFOylhvCwiTq3rwkH6GR/0vlfYXIb59gIx9DjGo5rgNq/pydn0OApUwu5Yr1/fJa0bR6mqX3AJ0BHirMMuuUJOjApQXMQPIS9YQ0oOK3Qw== 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=Fk/ifMdHn27qj+fUexyT8xh1RjJNA3RgK27sOfY/9MU=; b=GC49sfjNBgiwuBJ0hwSDhpdWYF6LTvvSW+nx2FbYIUBONplu1HtPth6AqRZ/XVpXAIbS55n2PG8FcEhsD0kt0UMbhR8gTlVoB3EBT3yF3o6oZ502ol70UzwVGD21IjPYp21YoOo4s/+bd1vXiOXWRHtF0Jj7R/NsrL4NBGCta06BcSsIe51WCAwCABG/BWaCA3jt+lwZmgT352ch+2l+qvuUrW6qZ517Ot7xfkCuh84G3KDgYfxDd7gV+lEXcX2Xyalc5BPnETSRkg/ON0e+3BXQTSVQrF5eMihuzrXPIZIFYNguJeSpXjKwpSng66AwcdNoihFZkCUJN13mOrh84w== 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 DM6PR11MB3723.namprd11.prod.outlook.com (2603:10b6:5:13f::25) by DM6PR11MB3243.namprd11.prod.outlook.com (2603:10b6:5:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Thu, 14 Apr 2022 01:27:05 +0000 Received: from DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::f8f9:90fc:834d:ac18]) by DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::f8f9:90fc:834d:ac18%7]) with mapi id 15.20.5144.029; Thu, 14 Apr 2022 01:27:05 +0000 From: "Guo, Junfeng" To: "Xu, Ting" , "dev@dpdk.org" , "Zhang, Qi Z" CC: "stable@dpdk.org" , "Yang, Qiming" Subject: RE: [PATCH v2] net/ice: fix raw flow input pattern value change in FDIR Thread-Topic: [PATCH v2] net/ice: fix raw flow input pattern value change in FDIR Thread-Index: AQHYQkXgBAUXpEM0MESi1Y7f0nedA6zuuAIQ Date: Thu, 14 Apr 2022 01:27:04 +0000 Message-ID: References: <20220318031650.2580-1-ting.xu@intel.com> <20220328014926.20809-1-ting.xu@intel.com> In-Reply-To: <20220328014926.20809-1-ting.xu@intel.com> Accept-Language: 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.401.20 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: ac2a74b9-d528-4493-824a-08da1db5e263 x-ms-traffictypediagnostic: DM6PR11MB3243:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VGgXiK0l5drrcP+dj+Sw/RVs99FUypTjZTKI6dx5InmGz03Po9E0f9DKiTJWC8YFHdri4QkCV6OBJdpayGsaTnQMnPU48lz3Dv0e6J7FF9wYgtIZdkPPb3phNBfQ8PgCqyCk8fOKjXsi540oUpFTiSeLkOst4gb2WGp9jpcByxSppYyKYEmZ+yY5XA6mxkZ2100BPPdduOEuvi9ZWWu6ZU0rYnfBd90XZ+KP9ErjVg9MzIkaTlsmEjyUW9wIC7BqMWuymHhQCmywTJ0Pbvznf6CmA2uLvEwWj1Ud58v4r5Q2I/CIeJUGDdyIG2Z5zvJ5e6AiRsFQ9TS4CPRAbOKRE7cWiHtNq9vc1jW1LHb5ksqVN6wxJ2bQ6TcdeqPy5Mp/3Ptn2lLztA0u7zXyKPWoKMq+pWhU14GdLF5UrW5EeqNFU8459A0HS+eLVLECZfNAat4WUL28EQqvDmpIJx/cco1YTyLjgUdLG6wRwp7MTCN6utElf9g1GFCYgvd6sh9doBwWuaEo9LFXczFyXcIDhhSso854PFwlyRU/GTRjRpsUpWpQd/ObkJFWZV4UWDF398b8ndUocuJn0iBjpf+FUpfDZ3k2HNjeCqhpA3h9Mnu/st9DjhOGdEgeu3f2k0K6MM0W9gzZ7mNyYDTTHcXTlafmd9/i9BdNXXdrAniGDNfbuqAP745PsOFy9HXggLxCQo5g2UksOJ8ECgRg6IAwTg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3723.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(8676002)(38070700005)(33656002)(8936002)(86362001)(6636002)(4326008)(186003)(4744005)(5660300002)(26005)(55016003)(2906002)(76116006)(450100002)(83380400001)(38100700002)(64756008)(66946007)(107886003)(508600001)(52536014)(110136005)(66446008)(66476007)(66556008)(54906003)(7696005)(6506007)(9686003)(82960400001)(53546011)(71200400001)(122000001)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5UGXkRGI+WDhUcKFv99qqPSpeMzFU6i5OXUZY2mt9gmjyi7QmPi7d/g6EpG3?= =?us-ascii?Q?Y0DWG120qj/XoXayhD/yaxqWyCIT1tsjm8vAbExNlEFSkrAqg4TSftiSyCOs?= =?us-ascii?Q?r/NOF7hOwINtXMFTPviafeZSHhNXIMwKjF0u54CQL3LOhYF1JyWzazYhG8o8?= =?us-ascii?Q?UNwzGLrrByL2KVeASug0+33nO62gUWjSRMWc83hnSlST0m83A5/iU+R9mLm5?= =?us-ascii?Q?0jnlsc5eW2QFT/aCpXWD12vkokaXVIg49PCnPjtVzEXn0mG4ElcDXriMYB9h?= =?us-ascii?Q?Asx39s84Kh0t8zrUILPqfqWncw3jI1bGh5o34W4vrLAX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Mm8/g5fv6zpPTlP/LLueq448BTOWnk2NShEDzHcm7rJ+9xJ6B?= =?us-ascii?Q?0xzQ8SqZKGBNzygiIB9s/72SG0HFwrbefGvQDs+kK6fhHF1OWAmtByJUDn5a?= =?us-ascii?Q?CWgVvTWawYoMD0ewAMbJfwT43VhzCzvMmX6Pf9kHjyNF805Felll1NG10o19?= =?us-ascii?Q?WUSZRUmYpTvm48jp4IRdsYkgygGBni5LXB+cPCoPc/QAqBTDSD27pWhQZt+b?= =?us-ascii?Q?wGLYkKZhYSvzAY5CZdBS/tDfq3+dEGxLaUH9tMifcTbPSmJvoKN35AO/X/ak?= =?us-ascii?Q?U8pXTdl6Dakc2xyAzR5ljUD28HS8ZvHMwxa6dCDTlJe7cevlc6WSH7hb25G1?= =?us-ascii?Q?NyYYq9rQf1pOgPqlJjCOniHjomEH/j+r5JQXNSarc7wJbysxbYo213f+qHtL?= =?us-ascii?Q?8kubXw9qpebmr/rbwBLrVL+GOvgqL/feODdzpazNVPjRsRz2ahb9QsGuqK4T?= =?us-ascii?Q?V7fmbRSNunnzY57ndqvx13rAoMMNpe3LSvddF9EayGDKd1ptXCSQmLfP/ynV?= =?us-ascii?Q?ZuUKhuhvUg=3D=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: DM6PR11MB3723.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac2a74b9-d528-4493-824a-08da1db5e263 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2022 01:27:04.9554 (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: OYCOx1NJCi4czBRYMCERRsvn8coowrj5DxR90Tvsc7Xd0GGEDZKapjRBtzpLDGrmpeknTgq5uBWXqJsPFtQjDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3243 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: Xu, Ting > Sent: Monday, March 28, 2022 09:49 > To: dev@dpdk.org > Cc: Guo, Junfeng ; Xu, Ting > ; stable@dpdk.org; Yang, Qiming > ; Zhang, Qi Z > Subject: [PATCH v2] net/ice: fix raw flow input pattern value change in > FDIR >=20 > When parsing raw flow pattern in FDIR, the input parameter spec and > mask are used directly and the original value will be changed. It > will cause error if these values are used in other functions. In this > patch, temporary variables are created to store the spec and mask. >=20 > Fixes: 25be39cc1760 ("net/ice: enable protocol agnostic flow offloading > in FDIR") >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Ting Xu > --- > drivers/net/ice/ice_fdir_filter.c | 25 +++++++++++++++++++------ > 1 file changed, 19 insertions(+), 6 deletions(-) >=20 > -- > 2.17.1 Acked-by: Junfeng Guo Regards, Junfeng Guo