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 716E8A034C; Tue, 18 Jan 2022 04:21:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 301AC40140; Tue, 18 Jan 2022 04:21:02 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 5609C426EA; Tue, 18 Jan 2022 04:21:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642476060; x=1674012060; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AgpwMsQ1hjTPWn4oCMCogtN8upp5GV/XCa9dvQ7gZsk=; b=LiPoWuloUTbwb54C6TuCWynXJAVefry54JMzuAISsvUJ2RcAfGFYIjU0 U5SAEq44SfD1pSwLGhZfSIPfQjblVjo63Ect2Pdv5V6kwN/GA7GWKzbUO LUMO5v+3jNez/9I6KcIYBs+hGU6CKijJtfWvvNR3SX6OAgrskRSpfuKvV mkw1pa+3edEPwx9NQTp0i80nLeIDStTvvK9gQNjObcYedtCtUaoFAUA5D KN2Ro3lvhu4TXdv+LQtPpRMFxVnw6GDysUo+qxfRLG3gy8JYiRGmvZYYI IaGb9UHmX3r0SOqDvBmHE1zne0HwS0iLaeKyTEVXmfHjkcBnC1R6ujPKD A==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="331079651" X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="331079651" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2022 19:20:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="625372031" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.238.175.107]) by orsmga004.jf.intel.com with ESMTP; 17 Jan 2022 19:20:57 -0800 From: Wei Huang To: dev@dpdk.org, rosen.xu@intel.com, qi.z.zhang@intel.com Cc: stable@dpdk.org, tianfei.zhang@intel.com, ferruh.yigit@intel.com, Wei Huang Subject: [PATCH v1 4/4] raw/ifpga/base: fix port feature ID Date: Mon, 17 Jan 2022 22:17:38 -0500 Message-Id: <20220118031738.2059-5-wei.huang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20220118031738.2059-1-wei.huang@intel.com> References: <20220118031738.2059-1-wei.huang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Fix ID value of port features to match the definition from hardware. Fixes: 473c88f9 ("drivers/raw: remove rawdev from directory names") Signed-off-by: Wei Huang --- drivers/raw/ifpga/base/ifpga_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { #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 /* -- 1.8.3.1