Skip to content

Commit

Permalink
raw/ifpga/base: fix port feature ID
Browse files Browse the repository at this point in the history
Fix ID value of port features to match the definition from hardware.

Fixes: 473c88f ("drivers/raw: remove rawdev from directory names")
Cc: stable@dpdk.org

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
  • Loading branch information
weihuan2 authored and qzhan16 committed Jan 26, 2022
1 parent 8496483 commit e55d8d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/raw/ifpga/base/ifpga_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit e55d8d4

Please sign in to comment.