Home
last modified time | relevance | path

Searched refs:rcv_win (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_cm.c89 static int rcv_win = 256 * 1024; variable
90 module_param(rcv_win, int, 0644);
91 MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256)");
442 wscale = compute_wscale(rcv_win); in send_connect()
450 opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10); in send_connect()
1215 req->opt0l = htonl(V_RCV_BUFSIZ(rcv_win>>10)); in listen_start()
1280 wscale = compute_wscale(rcv_win); in accept_cr()
1288 opt0l = V_TOS((ep->tos >> 2) & M_TOS) | V_RCV_BUFSIZ(rcv_win>>10); in accept_cr()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c836 csk->rcv_win = CXGBIT_10G_RCV_WIN; in cxgbit_set_tcp_window()
838 csk->rcv_win *= scale; in cxgbit_set_tcp_window()
846 __func__, csk->snd_win, csk->rcv_win); in cxgbit_set_tcp_window()
1157 wscale = cxgb_compute_wscale(csk->rcv_win); in cxgbit_pass_accept_rpl()
1162 win = csk->rcv_win >> 10; in cxgbit_pass_accept_rpl()
1634 if (csk->rcv_win > (RCV_BUFSIZ_M << 10)) in cxgbit_pass_establish()
1635 csk->rx_credits = (csk->rcv_win - (RCV_BUFSIZ_M << 10)); in cxgbit_pass_establish()
Dcxgbit.h227 u32 rcv_win; member
Dcxgbit_target.c1556 if (csk->rx_credits >= (csk->rcv_win / 4)) in cxgbit_rx_lro_skb()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c160 unsigned int wscale = cxgbi_sock_compute_wscale(csk->rcv_win); in send_act_open_req()
176 V_RCV_BUFSIZ(csk->rcv_win >> 10)); in send_act_open_req()
507 if (csk->rcv_win > (M_RCV_BUFSIZ << 10)) in do_act_establish()
508 csk->rcv_wup -= csk->rcv_win - (M_RCV_BUFSIZ << 10); in do_act_establish()
996 csk->rcv_win = cxgb3i_rcv_win; in init_act_open()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c130 static int rcv_win = 256 * 1024; variable
131 module_param(rcv_win, int, 0644);
132 MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256KB)");
778 wscale = cxgb_compute_wscale(rcv_win); in send_connect()
784 win = ep->rcv_win >> 10; in send_connect()
1432 if (ep->rcv_win > RCV_BUFSIZ_M * 1024) in update_rx_credits()
1433 credits += ep->rcv_win - RCV_BUFSIZ_M * 1024; in update_rx_credits()
1990 wscale = cxgb_compute_wscale(rcv_win); in send_fw_act_open_req()
1996 win = ep->rcv_win >> 10; in send_fw_act_open_req()
2061 ep->rcv_win = rcv_win; in set_tcp_window()
[all …]
Diw_cxgb4.h910 int rcv_win; member
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c220 RCV_BUFSIZ_V(csk->rcv_win >> 10); in send_act_open_req()
339 RCV_BUFSIZ_V(csk->rcv_win >> 10); in send_act_open_req6()
860 if (csk->rcv_win > (RCV_BUFSIZ_MASK << 10)) in do_act_establish()
861 csk->rcv_wup -= csk->rcv_win - (RCV_BUFSIZ_MASK << 10); in do_act_establish()
1790 csk->rcv_win = cxgb4i_rcv_win; in init_act_open()
1792 csk->rcv_win = CXGB4I_DEFAULT_10G_RCV_WIN; in init_act_open()
1795 csk->rcv_win *= rcv_winf; in init_act_open()
/Linux-v5.4/net/tipc/
Dsocket.c113 u16 rcv_win; member
482 tsk->rcv_win = tsk->snd_win; in tipc_sk_create()
1536 tsk->rcv_win = FLOWCTL_MSG_WIN; in tipc_sk_finish_conn()
1674 tsk->rcv_win = tsk_adv_blocks(tsk->sk.sk_rcvbuf); in tipc_sk_send_ack()
1675 msg_set_adv_win(msg, tsk->rcv_win); in tipc_sk_send_ack()
1822 if (tsk->rcv_unacked >= tsk->rcv_win / TIPC_ACK_RATE) in tipc_recvmsg()
1922 if (unlikely(tsk->rcv_unacked >= tsk->rcv_win / TIPC_ACK_RATE)) in tipc_recvstream()
3781 i += scnprintf(buf + i, sz - i, " %u", tsk->rcv_win); in tipc_sk_dump()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls.h221 u32 rcv_win; member
Dchtls_cm.c999 csk->rcv_win = CHTLS_10G_RCVWIN; in chtls_set_tcp_window()
1001 csk->rcv_win *= scale; in chtls_set_tcp_window()
1074 tp->rcv_wnd = csk->rcv_win; in chtls_recv_sock()
/Linux-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.h164 u32 rcv_win; member
Dlibcxgbi.c1685 csk->rcv_win); in csk_return_rx_credits()
1696 must_send = credits + 16384 >= csk->rcv_win; in csk_return_rx_credits()