aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index aadaddba88a7..8103dcf8b976 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -316,8 +316,18 @@ struct rds_message {
316 struct { 316 struct {
317 struct rm_atomic_op { 317 struct rm_atomic_op {
318 int op_type; 318 int op_type;
319 uint64_t op_swap_add; 319 union {
320 uint64_t op_compare; 320 struct {
321 uint64_t compare;
322 uint64_t swap;
323 uint64_t compare_mask;
324 uint64_t swap_mask;
325 } op_m_cswp;
326 struct {
327 uint64_t add;
328 uint64_t nocarry_mask;
329 } op_m_fadd;
330 };
321 331
322 u32 op_rkey; 332 u32 op_rkey;
323 u64 op_remote_addr; 333 u64 op_remote_addr;