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 5C7A1A04A9 for ; Tue, 25 Jan 2022 07:23:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43CEA42834; Tue, 25 Jan 2022 07:23:12 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id B70674013F; Tue, 25 Jan 2022 07:23: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=1643091789; x=1674627789; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TTeZxzZQavB1b4wfGMnluTx1arKG0YwchpkQEwSd5jo=; b=MRBaffYw5As8NI4jj6gmrun7I86JXKDLesYSq1aGTWefm7oLgB1MDFNm x5gLH0YGuLlf8IpxJOLKNbGKRIKQopSynciSti3GGuszSajstmNOUZa2j 87gMJkM4oso+lizQb8w6CGxCn2BMOcvUQk6HKTvxRj+a8Qm5vw0T5Cvao WhSNmnQpPUl9otHrwYxyK1rqwe39B8klFBja6lrUl1JpasOYm0Lbzd0Ta E01Oog2sVKbgkN0zFelk/xnfkQkBhkAy8eWwUU+nVWOuBLKCa15JZUpsg I7/ScNyzJS9K2yZnWlyYqcz6rtfMwtfBF/xREqzoN5nMBOz7RMfiAW/ow Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="226209653" X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="226209653" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 22:21:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="476992905" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga003.jf.intel.com with ESMTP; 24 Jan 2022 22:21:49 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 24 Jan 2022 22:21:48 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2308.20 via Frontend Transport; Mon, 24 Jan 2022 22:21:48 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 24 Jan 2022 22:21:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NupSbVNLRihDa4eQI0NXU9NLnODbaFp4j9+yYaSf2YROqELJ53xcMgU+IpAjT/0V9StEVGZWc9oe5ZyG1SNay7bbpMMAMLD+A72h2r0fToEwz+bl9f78N6vSCVnNYBQcsR4T4jCWvhJ6iVHCqLhAehTgZiOFCOfPI3baKuRDzGohoEc3P2ruPcXiy2QaHHC4Sb0zv9yAQfGzwFbt4wv1NAzj7xSPJodgcFirA3b1c6+VV/UIqzlN2wXk9xoJIthd86cKFEWzu+2ZRZE36NEnb5ZoTA8M7dBs/1kU+o0160iWSrc7iU67UsU81uPZkMOClt81X8OzWvaBKwup7puvZw== 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=4eKUJLisGVU3stWzKvTRhIPnS3Rv1HILOcvny3WP1OU=; b=F67c3+som7q5faQqHGOg5ZfZgrkIy/g42M6DMCCAFnvHT7hL4gKrmBEmuk3DJ3ZgXCoYm6znb0wtyY8Gm7AUblm7tbFcUH0LYtre2bdj4TilXkNmq6eyq4av22jR3aEa8WzAW0uZxeekDBhVT8ZYC9J/KWT+RWCckLUCNlJlDb01O9vb6CFFJEJjwe0bwewN9LHr5JE5F2SHDxsc2XffPHXx7QVIwca/Xvp0Td8jcytMVy/cjpikNMPCm58wJlPu+yygNgWb2SsGI6qjGfEOQN/qQPEZa+9r1Dgz5YVY0HZfqkSN2Nesvo0rTaPDodeuiDEoq80rRnWACmX1jG0mKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from BL1PR11MB5477.namprd11.prod.outlook.com (2603:10b6:208:31f::19) by BYAPR11MB2981.namprd11.prod.outlook.com (2603:10b6:a03:83::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Tue, 25 Jan 2022 06:21:38 +0000 Received: from BL1PR11MB5477.namprd11.prod.outlook.com ([fe80::1cc7:2b73:6d0f:8dc5]) by BL1PR11MB5477.namprd11.prod.outlook.com ([fe80::1cc7:2b73:6d0f:8dc5%8]) with mapi id 15.20.4909.019; Tue, 25 Jan 2022 06:21:38 +0000 From: "Zhang, Tianfei" To: "Huang, Wei" , "dev@dpdk.org" , "Xu, Rosen" , "Zhang, Qi Z" CC: "stable@dpdk.org" , "Yigit, Ferruh" Subject: RE: [PATCH v1] raw/ifpga/base: fix port feature ID Thread-Topic: [PATCH v1] raw/ifpga/base: fix port feature ID Thread-Index: AQHYEZQHPTRItRQmxkO2ZPswsJjk9KxzRDhg Date: Tue, 25 Jan 2022 06:21:38 +0000 Message-ID: References: <20220125023047.21787-1-wei.huang@intel.com> In-Reply-To: <20220125023047.21787-1-wei.huang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.200.16 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-office365-filtering-correlation-id: 92aff515-0920-4705-8872-08d9dfcaf1ee x-ms-traffictypediagnostic: BYAPR11MB2981:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:398; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lI45jtf2qMJKzi/ADSQhh0ZEJQqAH+4MmRkN5Te/TQvwYJRstl64t51HvmVVmvwoGfY3QQpQC2hyMVQStiiaK1IRw470OW1ur94juR5dfugU8QiotCM+v1qj/C353NNrjwg76MISW4W1v2ssM9YpZ3wYLm47vPAGMsqiocolEpfPZs5PuIuTthziuz6q2t0CrKI6dQxySni2x7w3obv/tUrq2i0VU57NIqE7XgmjfJTsXSVUsccj1Zzo3FMJSDRidabHl4uw2S0gPak7f9OvELRR0gR9OuOh1rRle4u9Om/+6qOJxzVfAVXKA+NJ1+4GIQHrpuu+hGNEl/DCkockgiCF1zhc7Xz5yI3wf4AXAKoYyYo9jZhN86OnqNTI+Yum1Irr8qYu16BvrxR6ZyU++ogHvtaAXdIQ9fZDJlN4b3TlOnYRiVKYReG96rPP2V/w54JqIFuXu5KfionsUuZ7rBoT7nugNU+tijlvxWnlZ66chMKaKvJKkrH3IUZsS8Hg9NQgGONZ131Ago58sswmCmXX8yoIXSXoecoeCa7CDVkeIK5OqqE2pKVFYD02I6vN42AFhgIJe4kBtkKbhFm2QnZW3WRR196AJoAjVFzk2ZPl6B/XBu0qhETJ0pf8kRcv1AD1mEW8yzm/Z89k0eoAn109KSdtsfpFak/3NzfnS7SFL+PqBXdSoOVEeJmc1T9vZ0i0GgwPEQ9YxfjTVoGwrQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL1PR11MB5477.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(38070700005)(82960400001)(9686003)(26005)(110136005)(71200400001)(7696005)(33656002)(55016003)(316002)(54906003)(6506007)(4326008)(8676002)(38100700002)(66946007)(52536014)(107886003)(86362001)(64756008)(53546011)(6636002)(66446008)(66556008)(83380400001)(508600001)(66476007)(450100002)(2906002)(76116006)(122000001)(5660300002)(8936002)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?moD+GgsugNa40DPYuXvmyLfjWk6qP30mKvbTvIEl7rKY7XoMBulVvtbuLVc6?= =?us-ascii?Q?BgaCj4J8uEiDxlhyc7NfUUj3cPeMbHM16YSxKiioAmH5aZlKUvKGF2dnHB9c?= =?us-ascii?Q?Gl+qj9z/utGo+9u1rIOSnkwBDtuEt+rt4hpFSmw3mHx4eAjyCoTWbQrqHxn2?= =?us-ascii?Q?ZLrVxLrcHtQEbgCsj75ORifQrNNOlwaeqIhJY608Y/1etntXt56D+RxyQiFK?= =?us-ascii?Q?g2xkLtYKU+R9aCT7smFk/eGljM68EasUIEf3/Or/is4UClOx4y0pWLCe5ua+?= =?us-ascii?Q?Sr6QrQ0SUovvu9Tf5Vgq4LhNxakw0eAJTZOJyGMWPJyQ0XSgzRLQ6XoVXePl?= =?us-ascii?Q?QaLW0+J9WUNvfTQJOzR9rWjTxtP1B6T2N4BjqMld0YIle4+MCgSvHyDNgdyP?= =?us-ascii?Q?MKIwBtDhcbhc1Fv4Y8v4a5UK4lSf1zViuW+UCZ6ec98H3S674g42Yj57TlR4?= =?us-ascii?Q?maUkLdgkCe5s3ZL3kh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us-ascii?Q?iEbP5eLTpTflQ0bAzMwjRcx6K5tTMMW0ht3jkaRJl+irqyW/G7VxltCFS8DK?= =?us-ascii?Q?g/sQ64wKJ8ZFJ3Rc8BOeus2ByxIp37Jd6rM2WBVL1O1m25ljtvgglbTdo0oQ?= =?us-ascii?Q?k4Pv0VY5EHI3TIdgNTqHJZpfki0fmvBsNY25W+bt6SJD8wJ9QFbw7psUAvt6?= =?us-ascii?Q?KlCRhYMwfySV+kHFM5Ic4b+LKPXvgdBZsfu8TQEc5jwoDcAUGS5OflIinyLS?= =?us-ascii?Q?QiIAbwe8GLgXclJMRx+yeHg=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: BL1PR11MB5477.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92aff515-0920-4705-8872-08d9dfcaf1ee X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 06:21:38.4027 (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: 9SGmC5MYlUblb8Ke07w17umRzBfOTMBiYF+ZxXhv/zZjJ8BfUeccoMJygh73ssYJXKxkkJ5yD+3MlJ86H3/20w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2981 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: Huang, Wei > Sent: Tuesday, January 25, 2022 10:31 AM > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Cc: stable@dpdk.org; Zhang, Tianfei ; Yigit, Fer= ruh > ; Huang, Wei > Subject: [PATCH v1] raw/ifpga/base: fix port feature ID >=20 > Fix ID value of port features to match the definition from hardware. >=20 > Fixes: 473c88f9 ("drivers/raw: remove rawdev from directory names") >=20 > Signed-off-by: Wei Huang > --- > drivers/raw/ifpga/base/ifpga_defines.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/drivers/raw/ifpga/base/ifpga_defines.h > b/drivers/raw/ifpga/base/ifpga_defines.h > index dca1518..8f62033 100644 > --- a/drivers/raw/ifpga/base/ifpga_defines.h > +++ b/drivers/raw/ifpga/base/ifpga_defines.h > @@ -93,9 +93,9 @@ enum fpga_id_type { >=20 > #define PORT_FEATURE_ID_HEADER FEATURE_ID_FIU_HEADER #define > PORT_FEATURE_ID_ERROR 0x10 -#define PORT_FEATURE_ID_UMSG 0x12 - > #define PORT_FEATURE_ID_UINT 0x13 -#define PORT_FEATURE_ID_STP 0x14 > +#define PORT_FEATURE_ID_UMSG 0x11 > +#define PORT_FEATURE_ID_UINT 0x12 > +#define PORT_FEATURE_ID_STP 0x13 > #define PORT_FEATURE_ID_UAFU FEATURE_ID_AFU >=20 Acked-by: Tianfei Zhang