xref: /linux/net/rds/rds_single_path.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
20cb43965SSowmini Varadhan #ifndef _RDS_RDS_SINGLE_H
30cb43965SSowmini Varadhan #define _RDS_RDS_SINGLE_H
40cb43965SSowmini Varadhan 
50cb43965SSowmini Varadhan #define	c_xmit_rm		c_path[0].cp_xmit_rm
60cb43965SSowmini Varadhan #define	c_xmit_sg		c_path[0].cp_xmit_sg
70cb43965SSowmini Varadhan #define	c_xmit_hdr_off		c_path[0].cp_xmit_hdr_off
80cb43965SSowmini Varadhan #define	c_xmit_data_off		c_path[0].cp_xmit_data_off
90cb43965SSowmini Varadhan #define	c_xmit_atomic_sent	c_path[0].cp_xmit_atomic_sent
100cb43965SSowmini Varadhan #define	c_xmit_rdma_sent	c_path[0].cp_xmit_rdma_sent
110cb43965SSowmini Varadhan #define	c_xmit_data_sent	c_path[0].cp_xmit_data_sent
120cb43965SSowmini Varadhan #define	c_lock			c_path[0].cp_lock
130cb43965SSowmini Varadhan #define c_next_tx_seq		c_path[0].cp_next_tx_seq
140cb43965SSowmini Varadhan #define c_send_queue		c_path[0].cp_send_queue
150cb43965SSowmini Varadhan #define c_retrans		c_path[0].cp_retrans
160cb43965SSowmini Varadhan #define c_next_rx_seq		c_path[0].cp_next_rx_seq
170cb43965SSowmini Varadhan #define c_transport_data	c_path[0].cp_transport_data
180cb43965SSowmini Varadhan #define c_state			c_path[0].cp_state
190cb43965SSowmini Varadhan #define c_send_gen		c_path[0].cp_send_gen
200cb43965SSowmini Varadhan #define c_flags			c_path[0].cp_flags
210cb43965SSowmini Varadhan #define c_reconnect_jiffies	c_path[0].cp_reconnect_jiffies
220cb43965SSowmini Varadhan #define c_send_w		c_path[0].cp_send_w
230cb43965SSowmini Varadhan #define c_recv_w		c_path[0].cp_recv_w
240cb43965SSowmini Varadhan #define c_conn_w		c_path[0].cp_conn_w
250cb43965SSowmini Varadhan #define c_down_w		c_path[0].cp_down_w
260cb43965SSowmini Varadhan #define c_cm_lock		c_path[0].cp_cm_lock
270cb43965SSowmini Varadhan #define c_waitq			c_path[0].cp_waitq
280cb43965SSowmini Varadhan #define c_unacked_packets	c_path[0].cp_unacked_packets
290cb43965SSowmini Varadhan #define c_unacked_bytes		c_path[0].cp_unacked_bytes
300cb43965SSowmini Varadhan 
310cb43965SSowmini Varadhan #endif /* _RDS_RDS_SINGLE_H */
32