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 D48D1432D3; Wed, 8 Nov 2023 10:16:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0DAC402DD; Wed, 8 Nov 2023 10:16:09 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 2D48040DDB for ; Wed, 8 Nov 2023 10:16:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699434968; x=1730970968; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=limwPJc9qaFG6bFCdw7N5EBzpzD5uIQRWdbcKeqlzkU=; b=iuKPgptchhp+JGteZujOlljIgHzs9E45ABZ0RO+rBdAKok38pFqLtHfr jKa1gdPA5S1mzf2+RabFO8208mnnZDi9VJfN0em4E1ULRQbXtkbPdczHH YuNjAlQMvWlbH7q/q0+C1kmuzEx57tvYdb7xcEl5EOSLevqTeebefHeH0 ul/rU8wyZiSOBYfH2A0olZP9iJbWbtF/t2MS9Z0t5C9/BS4oNQSF6VNpP LKevaB5SfXeOS2lQpLim+LuN/kFy2iJsBHnEKisJ5jW0grUyae1QxJxIs PLFTs2AAaqLWd6QrVUzpHgukNGnOsBBMv+g/QKUEkkuafRNcTFk+sbRFF w==; X-IronPort-AV: E=McAfee;i="6600,9927,10887"; a="388584456" X-IronPort-AV: E=Sophos;i="6.03,285,1694761200"; d="scan'208";a="388584456" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2023 01:16:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,285,1694761200"; d="scan'208";a="10740050" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Nov 2023 01:16:06 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 8 Nov 2023 01:16:05 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Wed, 8 Nov 2023 01:16:05 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Wed, 8 Nov 2023 01:16:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f1CxHig0247PXI+7J2gD9lZMVdTHw2P2bUqjelzEq6XMnWmxCDtvu+xDSMYNwynzkJXlS5vQBzj3gaAmKnbLQHyCbb9MvaH7FnSbx6WmTUijzVctYf2d9nuABOx2noqzchBmGNNybokLOEyGh/G2IuQgB8mROaOVc1KPzgWAEUl+EWu4Ne5FIKfbclp2QA6g9rSQI4nhPdVE/iyXQ6blMOCo7motE/+HHfoGCUW7hq709IGhDdaseS/bCxSyD+lJLLkof1wVhe3sB/27/E78S7rQFTd5a6UgHn8oWv+kl+kMBv88mr3l6rpSsUjjDEFVGh5iJ9J408ADt587077wLA== 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=limwPJc9qaFG6bFCdw7N5EBzpzD5uIQRWdbcKeqlzkU=; b=eRhV+Q+MfRWP5Bjr/gT5YQ+6iozYPk30SHKQL6jNsjw04e9nOGf0OHU4iEELxAh6nhPJowFSDyXThyLsS0zhZ5c83Z1xkQbnSKCn4UYdymFoULD14YaXflrnWm0swVRXxmoYz7VRTmHb+/SnObJ7d0RPh/bV2ArwZIRlxrVC39JzVSjJ2+4187jkIo4ogc3zWYyL2EYVVsYl/RzUCfXwqcYReMbI9sN7zcKMnEfKTCtLWoYB59JBpqU6/g7aM+vr3oxP/NGBKK+L49BVvb4Ux2EZt8fZwV93op8jfXM4SCyvdNWNQv60dAfZzM9h8OxlRVgQ8sJnl89Syrn7e5sY+A== 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 CY8PR11MB7827.namprd11.prod.outlook.com (2603:10b6:930:77::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Wed, 8 Nov 2023 09:16:04 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::62e2:b53a:6a07:f136]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::62e2:b53a:6a07:f136%6]) with mapi id 15.20.6954.024; Wed, 8 Nov 2023 09:16:04 +0000 From: "Zhang, Qi Z" To: "Qiao, Wenjing" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Qiao, Wenjing" Subject: RE: [PATCH] net/cpfl: refactor flow parser Thread-Topic: [PATCH] net/cpfl: refactor flow parser Thread-Index: AQHaEVXX0cK6QonVrEarX12hdEZ7/LBwJYuQ Date: Wed, 8 Nov 2023 09:16:04 +0000 Message-ID: References: <20231107083456.1259255-1-wenjing.qiao@intel.com> In-Reply-To: <20231107083456.1259255-1-wenjing.qiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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_|CY8PR11MB7827:EE_ x-ms-office365-filtering-correlation-id: e3bf25a3-d943-4fba-19e1-08dbe03b553e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pZsFZrgYRWTALNcwK8ufWo/VX4qGCsSqlFmPM+NIv+61GzGbekvQZuh7pYDjuyr0cN9EOFuU7yR5pIyyWdwPUOUhFkR6jM4/KN173FpEyxPlaImIJK7t9pG2ZVmu/iA5huXb2G4n2avGmN6JO+EGu7H0pWI2/j/jBjDG7o4kqI6tS4u0TIhhgQYafBuJl/4BWKK6DCqSacHUs+Ukmbt2skzsYgyT5vBDRuRYfiqFKdVMccA9f3seY5ogzGvMlEQv9FHwZGhjDzKp/lWdrUVfaAawkVec81FYN0pbYj5ru8uN8zH+/Slncuu8sYfsEjSc/u9stC9IMImOAFqZew70d3j2LvSGU0O+GVbAzVooa0IgvNledrld2SzA4aVdk1GlkZikN5cyG/Try0JrvaBq/sB/+XErrdXpv6fmjTRWpxNeGKFWdT0OCvoQDafHLwfhcDDSQZNh4oijsIMZUrJgpqA4F0JVxpYTzIXBn9KhvSJreCrJ5IXCxT4GCjkvT3dNFL58WG5owtagLN9WVlq/4wm64W1CKMS6a20Ue0nU7uqSrDdzqsA4jXDb7We0TpI5biSqX0WhaoyCOgxvaDg68wcAK6aCa4L+rZ98xSFeShJWr6S3SAsMFE35vmk/unAo 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:(13230031)(366004)(396003)(346002)(376002)(136003)(39860400002)(230922051799003)(64100799003)(1800799009)(451199024)(186009)(55016003)(41300700001)(83380400001)(71200400001)(82960400001)(52536014)(8936002)(86362001)(38070700009)(8676002)(2906002)(4744005)(4326008)(33656002)(107886003)(53546011)(110136005)(7696005)(6506007)(316002)(38100700002)(6636002)(122000001)(478600001)(5660300002)(76116006)(66556008)(66476007)(66446008)(64756008)(9686003)(66946007)(54906003)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0jBmuBh3PraR38LkNVQDEQmgbMs4+bHRYhsweBmXqrMZ8yGc2XZRsw7Etq+d?= =?us-ascii?Q?rAr1RDm8YgT6S9hjvTyHFFc8K5vuC2EI377mohYXA5UhaY3x73PrjWXrvxDW?= =?us-ascii?Q?gS2+bFMo7hFeZKOPUFL3Y2oCk8UZKro9VnSVxGc/xAGM94n2ZMEi+6zsIuf9?= =?us-ascii?Q?++dpu3RiQ6UQhDc3d9oDzBeiahkfQ1K8CRkFj04gCOYnaQzKWCmqSI1bx8ZJ?= =?us-ascii?Q?b2S66IbXuiCTvP7hTusMb9e3zeTT+/17zQXGvRaVMm5n5tc2vRdcbPq5OLPU?= =?us-ascii?Q?r/HafSDqGPGsGZi0OlsoepEp3Xq4KdvIx/n+edsq9y8v8CExdDeOCR6t6FKD?= =?us-ascii?Q?CO0UNelJGmCwhU5lwrgna/o50khj2xAZB48eSEvUh0RrTGFGc+T3qDmDQqQX?= =?us-ascii?Q?ZdtfYdCwI3yvXvggeBG4viY5UoSZ0RzxGho6L6zm3r9+VPIImiLo+x3xvuP5?= =?us-ascii?Q?xBjgdyWOIIczlLqcT0u8CoCzMkHu7TO3B1LyIISYVV1AYHALyPTrY7nC3kd5?= =?us-ascii?Q?XdmbIcesCrLIFqHSxlNukb7AhG52J9tjuHg9i6NZwCXCUaZbvF3XzbdEjf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DLTuSQ9WAZOx/gd+oZT7e5HyGN?= =?us-ascii?Q?WVrptsux/lf2qxJ7KW1wTksoJ9uZ4VeLuKrrDagA3Hxt8DDOR5DQBGqmbeYI?= =?us-ascii?Q?0lbHNOXv/yGp5t4CXET2cMYvyCvTQP2ETL3RL8/u?= 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: e3bf25a3-d943-4fba-19e1-08dbe03b553e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2023 09:16:04.0689 (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: IS2z1yV+niEQPKp/XSfcLqGo7cZb7SjEx45/X98M61fLemLkanNcdO6arskPaNqJIrGGW/SuWJseRJHCl/xMKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7827 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: wenjing.qiao@intel.com > Sent: Tuesday, November 7, 2023 4:35 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Qiao, Wenjing > Subject: [PATCH] net/cpfl: refactor flow parser >=20 > From: Wenjing Qiao >=20 > Use strncpy instead of memcpy for string copy and rename macro. >=20 > Coverity issue: 405350 > Fixes: 6cc97c9971d7 ("net/cpfl: build action mapping rules from JSON") >=20 > Signed-off-by: Wenjing Qiao Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi