File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
drivers/infiniband/hw/bnxt_re Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1078,7 +1078,7 @@ static void bnxt_re_query_hwrm_intf_version(struct bnxt_re_dev *rdev)
1078
1078
}
1079
1079
1080
1080
cctx = rdev -> chip_ctx ;
1081
- rdev -> qplib_ctx . hwrm_intf_ver =
1081
+ cctx -> hwrm_intf_ver =
1082
1082
(u64 )le16_to_cpu (resp .hwrm_intf_major ) << 48 |
1083
1083
(u64 )le16_to_cpu (resp .hwrm_intf_minor ) << 32 |
1084
1084
(u64 )le16_to_cpu (resp .hwrm_intf_build ) << 16 |
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ struct bnxt_qplib_chip_ctx {
57
57
u16 hw_stats_size ;
58
58
u16 hwrm_cmd_max_timeout ;
59
59
struct bnxt_qplib_drv_modes modes ;
60
+ u64 hwrm_intf_ver ;
60
61
};
61
62
62
63
#define PTR_CNT_PER_PG (PAGE_SIZE / sizeof(void *))
@@ -242,7 +243,6 @@ struct bnxt_qplib_ctx {
242
243
struct bnxt_qplib_tqm_ctx tqm_ctx ;
243
244
struct bnxt_qplib_stats stats ;
244
245
struct bnxt_qplib_vf_res vf_res ;
245
- u64 hwrm_intf_ver ;
246
246
};
247
247
248
248
struct bnxt_qplib_res {
You can’t perform that action at this time.
0 commit comments