xref: /OK3568_Linux_fs/kernel/net/rds/rds_single_path.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef _RDS_RDS_SINGLE_H
3*4882a593Smuzhiyun #define _RDS_RDS_SINGLE_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #define	c_xmit_rm		c_path[0].cp_xmit_rm
6*4882a593Smuzhiyun #define	c_xmit_sg		c_path[0].cp_xmit_sg
7*4882a593Smuzhiyun #define	c_xmit_hdr_off		c_path[0].cp_xmit_hdr_off
8*4882a593Smuzhiyun #define	c_xmit_data_off		c_path[0].cp_xmit_data_off
9*4882a593Smuzhiyun #define	c_xmit_atomic_sent	c_path[0].cp_xmit_atomic_sent
10*4882a593Smuzhiyun #define	c_xmit_rdma_sent	c_path[0].cp_xmit_rdma_sent
11*4882a593Smuzhiyun #define	c_xmit_data_sent	c_path[0].cp_xmit_data_sent
12*4882a593Smuzhiyun #define	c_lock			c_path[0].cp_lock
13*4882a593Smuzhiyun #define c_next_tx_seq		c_path[0].cp_next_tx_seq
14*4882a593Smuzhiyun #define c_send_queue		c_path[0].cp_send_queue
15*4882a593Smuzhiyun #define c_retrans		c_path[0].cp_retrans
16*4882a593Smuzhiyun #define c_next_rx_seq		c_path[0].cp_next_rx_seq
17*4882a593Smuzhiyun #define c_transport_data	c_path[0].cp_transport_data
18*4882a593Smuzhiyun #define c_state			c_path[0].cp_state
19*4882a593Smuzhiyun #define c_send_gen		c_path[0].cp_send_gen
20*4882a593Smuzhiyun #define c_flags			c_path[0].cp_flags
21*4882a593Smuzhiyun #define c_reconnect_jiffies	c_path[0].cp_reconnect_jiffies
22*4882a593Smuzhiyun #define c_send_w		c_path[0].cp_send_w
23*4882a593Smuzhiyun #define c_recv_w		c_path[0].cp_recv_w
24*4882a593Smuzhiyun #define c_conn_w		c_path[0].cp_conn_w
25*4882a593Smuzhiyun #define c_down_w		c_path[0].cp_down_w
26*4882a593Smuzhiyun #define c_cm_lock		c_path[0].cp_cm_lock
27*4882a593Smuzhiyun #define c_waitq			c_path[0].cp_waitq
28*4882a593Smuzhiyun #define c_unacked_packets	c_path[0].cp_unacked_packets
29*4882a593Smuzhiyun #define c_unacked_bytes		c_path[0].cp_unacked_bytes
30*4882a593Smuzhiyun 
31*4882a593Smuzhiyun #endif /* _RDS_RDS_SINGLE_H */
32