Home
last modified time | relevance | path

Searched refs:rds_header (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/net/rds/
Drds.h142 struct rds_header { struct
202 struct rds_header i_hdr;
663 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
665 int rds_message_add_extension(struct rds_header *hdr,
667 int rds_message_next_extension(struct rds_header *hdr,
669 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset);
678 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum()
684 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
Dtcp_send.c94 sizeof(struct rds_header) + in rds_tcp_xmit()
105 if (hdr_off < sizeof(struct rds_header)) { in rds_tcp_xmit()
115 if (hdr_off + done != sizeof(struct rds_header)) in rds_tcp_xmit()
Diw_recv.c104 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_recv_init_ring()
105 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ring()
198 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_iw_recv_refill_one()
199 sge->length = sizeof(struct rds_header); in rds_iw_recv_refill_one()
368 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ack()
449 struct rds_header *hdr = ic->i_ack; in rds_iw_send_ack()
655 struct rds_header *ihdr, *hdr; in rds_iw_process_recv()
662 if (byte_len < sizeof(struct rds_header)) { in rds_iw_process_recv()
670 byte_len -= sizeof(struct rds_header); in rds_iw_process_recv()
Dib_recv.c63 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_recv_init_ring()
64 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ring()
338 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_ib_recv_refill_one()
339 sge->length = sizeof(struct rds_header); in rds_ib_recv_refill_one()
533 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack()
614 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack()
820 struct rds_header *ihdr, *hdr; in rds_ib_process_recv()
827 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv()
835 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
Diw_send.c152 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_send_init_ring()
153 sge->length = sizeof(struct rds_header); in rds_iw_send_init_ring()
478 sge->addr = ic->i_send_hdrs_dma + (pos * sizeof(struct rds_header)); in rds_iw_xmit_populate_wr()
479 sge->length = sizeof(struct rds_header); in rds_iw_xmit_populate_wr()
518 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_iw_xmit()
699 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_iw_xmit()
702 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit()
710 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit()
729 sent += sizeof(struct rds_header); in rds_iw_xmit()
Dmessage.c99 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header()
110 int rds_message_add_extension(struct rds_header *hdr, unsigned int type, in rds_message_add_extension()
149 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension()
181 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
Dib_send.c237 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_send_init_ring()
238 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring()
548 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit()
556 return sizeof(struct rds_header) + ret; in rds_ib_xmit()
675 + (pos * sizeof(struct rds_header)); in rds_ib_xmit()
676 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
678 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_ib_xmit()
712 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_ib_xmit()
735 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
Diw_cm.c293 sizeof(struct rds_header), in rds_iw_setup_qp()
303 sizeof(struct rds_header), in rds_iw_setup_qp()
311 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_iw_setup_qp()
609 sizeof(struct rds_header), in rds_iw_conn_shutdown()
616 sizeof(struct rds_header), in rds_iw_conn_shutdown()
621 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_iw_conn_shutdown()
Dib_cm.c352 sizeof(struct rds_header), in rds_ib_setup_qp()
362 sizeof(struct rds_header), in rds_ib_setup_qp()
370 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
664 sizeof(struct rds_header), in rds_ib_conn_shutdown()
671 sizeof(struct rds_header), in rds_ib_conn_shutdown()
676 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_conn_shutdown()
Diw.h118 struct rds_header *i_send_hdrs;
128 struct rds_header *i_recv_hdrs;
142 struct rds_header *i_ack;
Dib.h110 struct rds_header *i_send_hdrs;
121 struct rds_header *i_recv_hdrs;
136 struct rds_header *i_ack;
Dtcp_recv.c215 sizeof(struct rds_header) - in rds_tcp_data_recv()
259 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
Dtcp_connect.c150 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_shutdown()
Dloop.c65 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
Dsend.c314 if (conn->c_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit()
316 sizeof(struct rds_header) - in rds_send_xmit()
337 if (conn->c_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
Dtcp.c209 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
Drecv.c110 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
/linux-3.4.99/Documentation/networking/
Drds.txt170 The message header is a 'struct rds_header' (see rds.h):