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 22A98A04A8; Tue, 25 Jan 2022 03:34:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 936CB4280D; Tue, 25 Jan 2022 03:34:13 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 86BFE42809; Tue, 25 Jan 2022 03:34: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=1643078051; x=1674614051; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=AgpwMsQ1hjTPWn4oCMCogtN8upp5GV/XCa9dvQ7gZsk=; b=em/4ShEvwrHoBxQJHJwe7ySNHKog+SUv335xBouZCwobTN5nfQNAXCkk N+V9AArot9xvnie0Ezb++hvHBLvtD1R1C7xNHY461xriTrezwDRb7aahN DcISVnG4y1b8ecfmU8k6c39Zto+k+kbDCKkaqPPJX29KtEjKsjMkaGRDx DTPXdz8aGH2g0P/bmRml1iw7SkQ8XjZeXljf7HZMf00AQdnIKxtk8rBzL eqQJDZKHJR+Nl4pll3wkixuomg8ZglsoRHnU//PrfH4ghhyv+Nmhdqc1n TR3sWEcbCHZudupL4EPGPDLYhwIEhAaPIIshqmpsc3f7QsL2jl7959VcM Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="309521205" X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="309521205" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 18:33:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,313,1635231600"; d="scan'208";a="695656031" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.238.175.107]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2022 18:33:54 -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] raw/ifpga/base: fix port feature ID Date: Mon, 24 Jan 2022 21:30:47 -0500 Message-Id: <20220125023047.21787-1-wei.huang@intel.com> X-Mailer: git-send-email 2.26.2 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