summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/qplib_res.h
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2023-06-13 11:12:21 -0700
committerJason Gunthorpe <jgg@nvidia.com>2023-06-21 14:13:17 -0300
commit3fe9882fbb50eeb724504df5979e9140f8842f76 (patch)
treeee61ea2a8a9083985665181c305f2894733859b2 /drivers/infiniband/hw/bnxt_re/qplib_res.h
parentba75fe7b500e71aff8bc3b7096c4ce1dcc649eb3 (diff)
downloadlinux-stable-3fe9882fbb50eeb724504df5979e9140f8842f76.tar.gz
linux-stable-3fe9882fbb50eeb724504df5979e9140f8842f76.tar.bz2
linux-stable-3fe9882fbb50eeb724504df5979e9140f8842f76.zip
RDMA/bnxt_re: Move the interface version to chip context structure
FW interface version check is required for multiple features. Moving the interface version to chip context structure. Link: https://lore.kernel.org/r/1686679943-17117-6-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/qplib_res.h')
-rw-r--r--drivers/infiniband/hw/bnxt_re/qplib_res.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/qplib_res.h b/drivers/infiniband/hw/bnxt_re/qplib_res.h
index 77f0b84aa1b2..070451ac3dab 100644
--- a/drivers/infiniband/hw/bnxt_re/qplib_res.h
+++ b/drivers/infiniband/hw/bnxt_re/qplib_res.h
@@ -57,6 +57,7 @@ struct bnxt_qplib_chip_ctx {
u16 hw_stats_size;
u16 hwrm_cmd_max_timeout;
struct bnxt_qplib_drv_modes modes;
+ u64 hwrm_intf_ver;
};
#define PTR_CNT_PER_PG (PAGE_SIZE / sizeof(void *))
@@ -242,7 +243,6 @@ struct bnxt_qplib_ctx {
struct bnxt_qplib_tqm_ctx tqm_ctx;
struct bnxt_qplib_stats stats;
struct bnxt_qplib_vf_res vf_res;
- u64 hwrm_intf_ver;
};
struct bnxt_qplib_res {