From: Tianfei Zhang Date: Fri, 21 Jun 2019 08:40:15 +0000 (+0800) Subject: raw/ifpga/base: fix bit fields definition X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a3056b6b0594eb2e7cb3f3a046fb813f50a5b48a;p=dpdk.git raw/ifpga/base: fix bit fields definition Fix CTRL_DEV_SELECT bit fields definition about eth_group devices. Fixes: 8a256bef32 ("raw/ifpga/base: add eth group driver") Cc: stable@dpdk.org Signed-off-by: Tianfei Zhang Acked-by: Rosen Xu --- diff --git a/drivers/raw/ifpga_rawdev/base/opae_eth_group.h b/drivers/raw/ifpga_rawdev/base/opae_eth_group.h index 8d695cc8ef..a66d77e27f 100644 --- a/drivers/raw/ifpga_rawdev/base/opae_eth_group.h +++ b/drivers/raw/ifpga_rawdev/base/opae_eth_group.h @@ -31,7 +31,7 @@ #define CMD_NOP 0ULL #define CMD_RD 1ULL #define CMD_WR 2ULL -#define CTRL_DEV_SELECT GENMASK_ULL(52, 49) +#define CTRL_DEV_SELECT GENMASK_ULL(53, 49) #define CTRL_DS_SHIFT 49 #define CTRL_FEAT_SELECT BIT_ULL(48) #define SELECT_IP 0