Home
last modified time | relevance | path

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

/Linux-v5.4/net/rds/
Dtcp_send.c91 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()
Drds.h207 struct rds_header { struct
285 struct rds_header i_hdr;
857 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
859 int rds_message_add_extension(struct rds_header *hdr,
861 int rds_message_next_extension(struct rds_header *hdr,
863 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset);
872 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum()
878 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
Dib_recv.c64 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_recv_init_ring()
65 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ring()
346 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_ib_recv_refill_one()
347 sge->length = sizeof(struct rds_header); in rds_ib_recv_refill_one()
579 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack()
658 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack()
847 struct rds_header *ihdr, *hdr; in rds_ib_process_recv()
854 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv()
862 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
Dib_send.c204 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_send_init_ring()
205 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring()
506 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit()
514 return sizeof(struct rds_header) + ret; in rds_ib_xmit()
635 + (pos * sizeof(struct rds_header)); in rds_ib_xmit()
636 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
638 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_ib_xmit()
677 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_ib_xmit()
700 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
Dib_cm.c552 sizeof(struct rds_header), in rds_ib_setup_qp()
562 sizeof(struct rds_header), in rds_ib_setup_qp()
570 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
606 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
610 sizeof(struct rds_header), in rds_ib_setup_qp()
614 sizeof(struct rds_header), in rds_ib_setup_qp()
1048 sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
1055 sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
1060 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
Dmessage.c187 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header()
198 int rds_message_add_extension(struct rds_header *hdr, unsigned int type, in rds_message_add_extension()
237 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension()
269 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
Dib.h168 struct rds_header *i_send_hdrs;
178 struct rds_header *i_recv_hdrs;
194 struct rds_header *i_ack;
Dtcp_recv.c199 sizeof(struct rds_header) - in rds_tcp_data_recv()
247 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
Dloop.c80 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
Dtcp_connect.c223 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_path_shutdown()
Dtcp.c187 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_reset_callbacks()
391 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
Drecv.c167 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
198 static void rds_recv_hs_exthdrs(struct rds_header *hdr, in rds_recv_hs_exthdrs()
Dsend.c374 if (cp->cp_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit()
376 sizeof(struct rds_header) - in rds_send_xmit()
397 if (cp->cp_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
/Linux-v5.4/Documentation/networking/
Drds.txt182 The message header is a 'struct rds_header' (see rds.h):