raw/ifpga/base: fix bit fields definition
authorTianfei Zhang <tianfei.zhang@intel.com>
Fri, 21 Jun 2019 08:40:15 +0000 (16:40 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 13:35:09 +0000 (15:35 +0200)
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 <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga_rawdev/base/opae_eth_group.h

index 8d695cc..a66d77e 100644 (file)
@@ -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