Home
last modified time | relevance | path

Searched refs:i_hdr (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/net/rds/
Drecv.c167 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
302 (unsigned long long)be64_to_cpu(inc->i_hdr.h_sequence), in rds_recv_incoming()
303 be32_to_cpu(inc->i_hdr.h_len), in rds_recv_incoming()
304 be16_to_cpu(inc->i_hdr.h_sport), in rds_recv_incoming()
305 be16_to_cpu(inc->i_hdr.h_dport), in rds_recv_incoming()
306 inc->i_hdr.h_flags, in rds_recv_incoming()
329 if (be64_to_cpu(inc->i_hdr.h_sequence) < cp->cp_next_rx_seq && in rds_recv_incoming()
330 (inc->i_hdr.h_flags & RDS_FLAG_RETRANSMITTED)) { in rds_recv_incoming()
334 cp->cp_next_rx_seq = be64_to_cpu(inc->i_hdr.h_sequence) + 1; in rds_recv_incoming()
336 if (rds_sysctl_ping_enable && inc->i_hdr.h_dport == 0) { in rds_recv_incoming()
[all …]
Dtcp_send.c87 be32_to_cpu(rm->m_inc.i_hdr.h_len) - 1; in rds_tcp_xmit()
93 rm->m_inc.i_hdr.h_flags |= RDS_FLAG_RETRANSMITTED; in rds_tcp_xmit()
105 (void *)&rm->m_inc.i_hdr + hdr_off, in rds_tcp_xmit()
106 sizeof(rm->m_inc.i_hdr) - hdr_off); in rds_tcp_xmit()
Dloop.c81 be32_to_cpu(rm->m_inc.i_hdr.h_len); in rds_loop_xmit()
84 if (rm->m_inc.i_hdr.h_flags & RDS_FLAG_CONG_BITMAP) { in rds_loop_xmit()
99 rds_send_drop_acked(conn, be64_to_cpu(rm->m_inc.i_hdr.h_sequence), in rds_loop_xmit()
Dtcp_recv.c116 if (be32_to_cpu(tinc->ti_inc.i_hdr.h_len) != RDS_CONG_MAP_BYTES) in rds_tcp_cong_recv()
198 (char *)&tinc->ti_inc.i_hdr + in rds_tcp_data_recv()
209 be32_to_cpu(tinc->ti_inc.i_hdr.h_len); in rds_tcp_data_recv()
239 if (tinc->ti_inc.i_hdr.h_flags == RDS_FLAG_CONG_BITMAP) in rds_tcp_data_recv()
Dib_send.c511 && rm->m_inc.i_hdr.h_flags & RDS_FLAG_CONG_BITMAP) { in rds_ib_xmit()
519 if (be32_to_cpu(rm->m_inc.i_hdr.h_len) == 0) in rds_ib_xmit()
522 i = DIV_ROUND_UP(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit()
573 rm->m_inc.i_hdr.h_flags |= RDS_FLAG_ACK_REQUIRED; in rds_ib_xmit()
575 rm->m_inc.i_hdr.h_flags |= RDS_FLAG_RETRANSMITTED; in rds_ib_xmit()
583 rds_message_add_extension(&rm->m_inc.i_hdr, in rds_ib_xmit()
587 rds_message_add_rdma_dest_extension(&rm->m_inc.i_hdr, in rds_ib_xmit()
596 rm->m_inc.i_hdr.h_ack = cpu_to_be64(rds_ib_piggyb_ack(ic)); in rds_ib_xmit()
597 rds_message_make_checksum(&rm->m_inc.i_hdr); in rds_ib_xmit()
644 memcpy(ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, in rds_ib_xmit()
Dsend.c291 len = ntohl(rm->m_inc.i_hdr.h_len); in rds_send_xmit()
475 u32 len = be32_to_cpu(rm->m_inc.i_hdr.h_len); in rds_send_sndbuf_remove()
491 return be64_to_cpu(rm->m_inc.i_hdr.h_sequence) <= ack; in rds_send_is_acked()
736 dest->sin6_port != rm->m_inc.i_hdr.h_dport)) in rds_send_drop_to()
829 len = be32_to_cpu(rm->m_inc.i_hdr.h_len); in rds_send_queue_rm()
862 rds_message_populate_header(&rm->m_inc.i_hdr, sport, dport, 0); in rds_send_queue_rm()
868 rm->m_inc.i_hdr.h_sequence = cpu_to_be64(cp->cp_next_tx_seq++); in rds_send_queue_rm()
875 (unsigned long long)be64_to_cpu(rm->m_inc.i_hdr.h_sequence)); in rds_send_queue_rm()
1456 rds_message_populate_header(&rm->m_inc.i_hdr, sport, dport, in rds_send_probe()
1458 rm->m_inc.i_hdr.h_flags |= h_flags; in rds_send_probe()
[all …]
Dmessage.c346 rm->m_inc.i_hdr.h_len = cpu_to_be32(total_len); in rds_message_map_pages()
372 rm->m_inc.i_hdr.h_len = cpu_to_be32(iov_iter_count(from)); in rds_message_zcopy_from_user()
429 rm->m_inc.i_hdr.h_len = cpu_to_be32(iov_iter_count(from)); in rds_message_copy_from_user()
477 len = be32_to_cpu(rm->m_inc.i_hdr.h_len); in rds_message_inc_copy_to_user()
Dib_recv.c545 len = be32_to_cpu(inc->i_hdr.h_len); in rds_ib_inc_copy_to_user()
797 if (be32_to_cpu(ibinc->ii_inc.i_hdr.h_len) != RDS_CONG_MAP_BYTES) in rds_ib_cong_recv()
926 hdr = &ibinc->ii_inc.i_hdr; in rds_ib_process_recv()
937 hdr = &ibinc->ii_inc.i_hdr; in rds_ib_process_recv()
959 if (ibinc->ii_inc.i_hdr.h_flags == RDS_FLAG_CONG_BITMAP) { in rds_ib_process_recv()
Dcong.c425 rm->m_inc.i_hdr.h_flags = RDS_FLAG_CONG_BITMAP; in rds_cong_update_alloc()
Drds.h284 struct rds_header i_hdr; member