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 F2197A00C2; Wed, 26 Jan 2022 02:18:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 782BE40F35; Wed, 26 Jan 2022 02:18:13 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6F86D4069D; Wed, 26 Jan 2022 02:18:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643159891; x=1674695891; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=iJF4k2Kdv1OaUP34ZvkBtRTMWQ7EKan6uTKW2t2kTFo=; b=c0MjhcxTyFnmq2tp5BCvnT+WUeP8vRTVr9l1XzCPUrFGusoM3zXYXFqT AKZdDum0pZQxMdImXeo7gv6zrAMb9OWuuqP2sYjMYnSYAV0UOxYtHi9UQ aSfM0TVkSZV+qy/82Qyqk0HzAugIqgZqYmRdH5jDPjvhvwBrjB7artJ2m El0G2mcqLZHtuuQSoYSQirYvVX/WTYiujF63azXDMQfjN1u27LY3kceNN ulY0lHCy+Wg28DJ1/n2vkZNhOcFQXR8qtpMDV/UxSeGwKma0cvqsUlQvb VTmHru4tSjsyP1A3KrQJXnegpYdibIlkkW6gdLO5tT8qq0Ot0gI+3ghod g==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="332809990" X-IronPort-AV: E=Sophos;i="5.88,316,1635231600"; d="scan'208";a="332809990" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 17:17:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,316,1635231600"; d="scan'208";a="674199609" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga001.fm.intel.com with ESMTP; 25 Jan 2022 17:17:51 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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.20; Tue, 25 Jan 2022 17:17:51 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 25 Jan 2022 17:17:50 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2308.20 via Frontend Transport; Tue, 25 Jan 2022 17:17:50 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) 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.2308.20; Tue, 25 Jan 2022 17:17:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SU6dMboz0Syi0wo2mcixK+VvPz07rq4N2Kkr0moEyDUktERohF6KbTkM7lIA3dgpKYIdIcvpRm6bxR6ce1uCfz3F9mOuSChOJWvym0f3O7WGzCOhFpi29sOLA5vWx+h8C7vj8fqSZqI52kckkEoUDErqWMkzk/038sfNPZiD0a7zHaY6B/fxf+KSA0BjThIHt1MUr2GCL0+E+5W5sgekKbMmS4m53jICZufe7VyUh1G6yw5VPGdNB1ewfkZeAzi8QZJX2melFTZ7vosmNFsHmrPnXYqAS++ezJPw0bcd3t1LE2wXK0DUDclBXNMH3FKvdYuooOLhf+T3UIqUHML+zg== 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=sR3nR/nINVFTj1U+5eV53Gkao+P4RwGnF1XOPJuRHdE=; b=EbF39uQqsjclaL6EU/K8EBpo8Pxq28gp0WUGfKoFpKjbCuhcB0/kiFQTndyAKIBImQhV2AlD1WKFX7urbH69jHVFRqGsZAmKFd1uZTXZDcTkXsEeW2ekeWO1ZlzvhHC9De2izOr20pG/xT0xz3KWbxzrXuLJy6QB9JFtP0QWx9T8JCQ8OFkQjVYTaB6rvw05vuG/cNnUuIz4STTiVxgizFpEDqd85RxSkUacj/FvT4a1tusbH7KUzh1QbKfK8Km9iGN9RtnWzzzNJACKcEnfNsqUTvXGrTc4aDcQGygKh9WDYkib1UAao/r6MCIHgzDZlks7YCpPxGsgxM6IBOsc4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM6PR11MB4252.namprd11.prod.outlook.com (2603:10b6:5:201::26) by DM6PR11MB3436.namprd11.prod.outlook.com (2603:10b6:5:65::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Wed, 26 Jan 2022 01:17:46 +0000 Received: from DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::88d0:b735:5126:3fb0]) by DM6PR11MB4252.namprd11.prod.outlook.com ([fe80::88d0:b735:5126:3fb0%4]) with mapi id 15.20.4909.017; Wed, 26 Jan 2022 01:17:46 +0000 From: "Xu, Rosen" To: "Huang, Wei" , "dev@dpdk.org" , "Zhang, Qi Z" CC: "stable@dpdk.org" , "Zhang, Tianfei" , "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: AQHYEZQHnYnxBd5cN0u2ix27AYtBh6x0gdaA Date: Wed, 26 Jan 2022 01:17:45 +0000 Message-ID: References: <20220125023047.21787-1-wei.huang@intel.com> In-Reply-To: <20220125023047.21787-1-wei.huang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDNhODhiODAtMDQ3OC00NzQ3LThlZTEtMzYyYmJiZjcwZDQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUzRYUWNJcU5MZWpGeUVnMVQrbzBtWVhDa3gwcjA0ZncxbURsQVcwaFhLVDV6Nm80ZVZ3OXcyaHAwOWowNGh5QSJ9 x-ctpclassification: CTP_NT 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: 02d0fa91-25bb-41fa-6e9f-08d9e069a8fe x-ms-traffictypediagnostic: DM6PR11MB3436:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1107; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3ilBpEHHJFeal8gLsnZAw9hDJ1fa4x/4kF03UB8rhMqcHLUAmE5aeh4/TfHUUwBWOLpIu+nJBVGYxAysTZWNlxrH+ODMjcEp39NImLVcawSpLggNcOhfrnp9BkL6q6H9WRFb/Z5uRN5aVOYPcKOfrzDcPUukdNLSpxiH4P6gvF2iysxCYdMorbQZ9jQg524okMF5nNgCcRGRhKjKtlRaCqiuRgO0J1oD7oi68X1LK/n1a4X4w/7rsCYz22TAcON4vQn+Ysa2gvFXXgVBWmWq0meA5380vd9PmiS8c2FZKzTb9h2aEJZh0U8ZIboNpzmKy6WedEbeISmF5F6zda0OBDfAyDEDvdVc56QHDCDg0ZSDiD3iUDZL283F29d6DH54Byt5BU9Q++xK3jzeMx3tLPA6iGBV9kUeFID/7QcuCTyh9kUglHyIcsDP1UHucf/ihHR37hoRzApM5upSzQdGfreWKYcPZb0/g6NTZkKf3aGjpb57xY9L2hCRezgpSXu9y3x4jFC+QjUAVHXhkvA9XWZ/cJLDI832SV7bJadj05qAh9ouGXMFfXbTExDBST2Q4M/hiNOSIQQiOv80LV4mux0p2+lj2zEP14Ip4Ji22uJY4QUK+MWsvw3aW8oav6WWaS/QqPFkdTAPVjX0r4lIPeqZKpGoaw9TY3C2ml821MQ7J6h/oktoRYOfxId2Rri9UEETrSGYp8o6nq/0a1368Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4252.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(53546011)(9686003)(508600001)(6506007)(7696005)(107886003)(2906002)(82960400001)(5660300002)(38070700005)(52536014)(38100700002)(86362001)(8936002)(26005)(316002)(66476007)(66446008)(64756008)(66946007)(4326008)(450100002)(110136005)(55016003)(8676002)(6636002)(33656002)(54906003)(71200400001)(76116006)(66556008)(83380400001)(122000001)(186003)(20210929001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?q66RAQmqHCZqlNSY53kyS1lYP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?us-ascii?Q?1HAUgM3o4aFWftYImt07cx5V04PrgJ5h7j9sl1zXRIEi8qC0yl9D7ytU+CVT?= =?us-ascii?Q?k+miigYNmeXvc/lISXcikTHssF83aRBjSdNF0c5Z2j5TBiXCry0CRPh1JN87?= =?us-ascii?Q?RcPYqCLIekVzRkxoUJLAKE6WbSQdraPJRtZHahL6cqUUsEaBZaPynvAac0+M?= =?us-ascii?Q?f7hY271cAqoLYd4t5daqGU3e3k8ABkfgxMSkNtSagj2f2KcbHJhzLvarEoe9?= =?us-ascii?Q?5wAkXr9z2/63yA/25JKvTIIxl3apRFRw6mp7J6MA8PSXTcIq6dYIDw6KBjhv?= =?us-ascii?Q?k+YeMs2C4dgjK0yLnpHbWX3O3Q0hn4BHvm7e5SgNPxEWcodH1Mv/v/pGgAur?= =?us-ascii?Q?Gbo6phVSZK8OYvSgXteXXOV31JJOuTxw4LfsDKvJcMtfKA9CG2Ig4w+MN6MJ?= =?us-ascii?Q?598q48iW3BVvNx7l8eeah29pMXrocj+hSx23XJzx/I5edZlOI6OhczflW9sP?= =?us-ascii?Q?ZZLiTVKew6dczTTl/ADGIzyfd0yW00ICRO0rPCq9mfi32OT/ZkScfT2TGZWj?= =?us-ascii?Q?ZrqrkQHnlVScGoX4Fb68eBXzepZ7D812NYoCUHHb9S9dFd8SRXgobgjOESyT?= =?us-ascii?Q?LeaMqX0a3o7fQ8O4NUTsxyTElGWtqBaNH1WB6k7Zaa3tqaX66d4cTiL47bmi?= =?us-ascii?Q?zJj7InyYYdKLW3Cm0TGxHoTa1etSw2ZpgRPdFKkf2eaVWYvR1W3Kl/Mmym5n?= =?us-ascii?Q?7qQorYU/W7GCcup2yEYNHf8=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: DM6PR11MB4252.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02d0fa91-25bb-41fa-6e9f-08d9e069a8fe X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2022 01:17:45.9820 (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: dAfT/EO173WGh+4UUYyFcBQFcnMsYQPWxSM0htS1NWbbr1Id7aE55Mda9Ltl23hhOnXVP3DuEf4hlkpMf1SIlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3436 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 Hi, > -----Original Message----- > From: Huang, Wei > Sent: Tuesday, January 25, 2022 10:31 > 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 > /* > -- > 1.8.3.1 Acked-by: Rosen Xu