Commit
51e2cba8b5936c13b40f0fa11aa4e84683dbc751
Exists in
master
and in
39 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, imx_3.0.35_4.1.0, imx_3.10.17_1.0.1_ga, imx_3.10.53_1.1.0_ga, imx_3.14.28_1.0.0_ga, imx_4.1.15_1.0.0_ga, pitx_8mp_lf-5.10.y, rt-smarc-imx_4.1.15_1.0.0_ga, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx6_4.9.88_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc-imx7_4.9.11_1.0.0_ga, smarc-imx7_4.9.88_2.0.0_ga, smarc-imx_3.10.53_1.1.0_ga, smarc-imx_3.14.28_1.0.0_ga, smarc-imx_4.1.15_1.0.0_ga, smarc-imx_4.9.11_1.0.0_ga, smarc-imx_4.9.51_imx8m_ga, smarc-imx_4.9.88_2.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_1.2.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y, smarc_imx_lf-5.15.y
RDS: Move atomic stats from general to ib-specific area
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Showing
5 changed files
with
6 additions
and
6 deletions
Side-by-side Diff
... |
... |
@@ -202,6 +202,8 @@ |
202
|
202 |
uint64_t s_ib_rdma_mr_pool_flush; |
203
|
203 |
uint64_t s_ib_rdma_mr_pool_wait; |
204
|
204 |
uint64_t s_ib_rdma_mr_pool_depleted; |
|
205 |
+ uint64_t s_ib_atomic_cswp; |
|
206 |
+ uint64_t s_ib_atomic_fadd; |
205
|
207 |
}; |
206
|
208 |
|
207
|
209 |
extern struct workqueue_struct *rds_ib_wq; |
... |
... |
@@ -132,9 +132,9 @@ |
132
|
132 |
wc_status, rds_atomic_send_complete); |
133
|
133 |
|
134
|
134 |
if (op->op_type == RDS_ATOMIC_TYPE_CSWP) |
135
|
|
- rds_stats_inc(s_atomic_cswp); |
|
135 |
+ rds_ib_stats_inc(s_ib_atomic_cswp); |
136
|
136 |
else |
137
|
|
- rds_stats_inc(s_atomic_fadd); |
|
137 |
+ rds_ib_stats_inc(s_ib_atomic_fadd); |
138
|
138 |
} |
139
|
139 |
|
140
|
140 |
/* |
... |
... |
@@ -67,6 +67,8 @@ |
67
|
67 |
"ib_rdma_mr_pool_flush", |
68
|
68 |
"ib_rdma_mr_pool_wait", |
69
|
69 |
"ib_rdma_mr_pool_depleted", |
|
70 |
+ "ib_atomic_cswp", |
|
71 |
+ "ib_atomic_fadd", |
70
|
72 |
}; |
71
|
73 |
|
72
|
74 |
unsigned int rds_ib_stats_info_copy(struct rds_info_iterator *iter, |
... |
... |
@@ -566,8 +566,6 @@ |
566
|
566 |
uint64_t s_cong_update_received; |
567
|
567 |
uint64_t s_cong_send_error; |
568
|
568 |
uint64_t s_cong_send_blocked; |
569
|
|
- uint64_t s_atomic_cswp; |
570
|
|
- uint64_t s_atomic_fadd; |
571
|
569 |
}; |
572
|
570 |
|
573
|
571 |
/* af_rds.c */ |
... |
... |
@@ -75,8 +75,6 @@ |
75
|
75 |
"cong_update_received", |
76
|
76 |
"cong_send_error", |
77
|
77 |
"cong_send_blocked", |
78
|
|
- "s_atomic_cswp", |
79
|
|
- "s_atomic_fadd", |
80
|
78 |
}; |
81
|
79 |
|
82
|
80 |
void rds_stats_info_copy(struct rds_info_iterator *iter, |