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 9331DA00C3; Tue, 18 Jan 2022 08:41:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7358742721; Tue, 18 Jan 2022 08:40:53 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id BE6D942711; Tue, 18 Jan 2022 08:40:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642491652; x=1674027652; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AgpwMsQ1hjTPWn4oCMCogtN8upp5GV/XCa9dvQ7gZsk=; b=POxXxsQc9kuJn49MTG8KtX8MDdTJfgWjrTYf+YF+h0WnfERcxj5j11ks Mn8ylG3IVtCS22L/4Ouk7VtuL8/J6tm9TMiRKP9g9UQ8QqD9HzXujswtC d0nTiAhW5bvptctDXJDJk9QEJd3WnwVmJ/nX3xnN1+McHIAd5ksrkBoX5 eVswmZIdVBBHdKZNYzV2fjHX1sQUGAPHE92uS5AX8hQ1ANO9ZyCygXlH9 tNe2qfRNqcjrUUO59MPiobZ2qVkelYO+na8/CaH83DJ6KD39Rb/E+bNWM It6qepT5wOhjJjzqtCM/RXiYLyjzvcdoINqMFgS6Gzx/PMN/GOg3GstNu g==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="225436397" X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="225436397" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2022 23:40:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,296,1635231600"; d="scan'208";a="625422796" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.238.175.107]) by orsmga004.jf.intel.com with ESMTP; 17 Jan 2022 23:40:49 -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 v2 4/4] raw/ifpga/base: fix port feature ID Date: Tue, 18 Jan 2022 02:37:39 -0500 Message-Id: <20220118073739.2652-5-wei.huang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20220118073739.2652-1-wei.huang@intel.com> References: <20220118031738.2059-1-wei.huang@intel.com> <20220118073739.2652-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