tcp_cntxt 450 drivers/infiniband/hw/i40iw/i40iw_cm.c iph->id = htons(++cm_node->tcp_cntxt.loc_id); tcp_cntxt 491 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph->seq = htonl(cm_node->tcp_cntxt.loc_seq_num); tcp_cntxt 494 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_ack_num = cm_node->tcp_cntxt.rcv_nxt; tcp_cntxt 495 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); tcp_cntxt 502 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num++; tcp_cntxt 505 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num += hdr_len + pd_len; tcp_cntxt 509 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num++; tcp_cntxt 518 drivers/infiniband/hw/i40iw/i40iw_cm.c tcph->window = htons(cm_node->tcp_cntxt.rcv_wnd); tcp_cntxt 668 drivers/infiniband/hw/i40iw/i40iw_cm.c if (tmp > 0 && tmp < cm_node->tcp_cntxt.mss) tcp_cntxt 669 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.mss = tmp; tcp_cntxt 672 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.snd_wscale = tcp_cntxt 685 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.mss = I40IW_CM_DEFAULT_MSS; tcp_cntxt 721 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.snd_wnd = ntohs(tcph->window) << tcp_cntxt 722 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.snd_wscale; tcp_cntxt 724 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->tcp_cntxt.snd_wnd > cm_node->tcp_cntxt.max_snd_wnd) tcp_cntxt 725 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.max_snd_wnd = cm_node->tcp_cntxt.snd_wnd; tcp_cntxt 1360 drivers/infiniband/hw/i40iw/i40iw_cm.c options->as_mss.mss = htons(cm_node->tcp_cntxt.mss); tcp_cntxt 1366 drivers/infiniband/hw/i40iw/i40iw_cm.c options->as_windowscale.shiftcount = cm_node->tcp_cntxt.rcv_wscale; tcp_cntxt 2208 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_id = I40IW_CM_DEF_LOCAL_ID; tcp_cntxt 2209 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_wscale = I40IW_CM_DEFAULT_RCV_WND_SCALE; tcp_cntxt 2210 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_wnd = tcp_cntxt 2213 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num = secure_tcp_seq(htonl(cm_node->loc_addr[0]), tcp_cntxt 2217 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.mss = iwdev->vsi.mtu - I40IW_MTU_TO_MSS_IPV4; tcp_cntxt 2227 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num = secure_tcpv6_seq(loc, rem, tcp_cntxt 2230 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.mss = iwdev->vsi.mtu - I40IW_MTU_TO_MSS_IPV6; tcp_cntxt 2355 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt++; tcp_cntxt 2362 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt++; tcp_cntxt 2369 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt++; tcp_cntxt 2380 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt++; tcp_cntxt 2390 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt++; tcp_cntxt 2538 drivers/infiniband/hw/i40iw/i40iw_cm.c if (ntohl(tcph->ack_seq) != cm_node->tcp_cntxt.loc_seq_num) { tcp_cntxt 2555 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 loc_seq_num = cm_node->tcp_cntxt.loc_seq_num; tcp_cntxt 2556 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 rcv_nxt = cm_node->tcp_cntxt.rcv_nxt; tcp_cntxt 2561 drivers/infiniband/hw/i40iw/i40iw_cm.c rcv_wnd = cm_node->tcp_cntxt.rcv_wnd; tcp_cntxt 2610 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = inc_sequence + 1; tcp_cntxt 2665 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); tcp_cntxt 2676 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = inc_sequence + 1; tcp_cntxt 2692 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); tcp_cntxt 2698 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->ack_seq); tcp_cntxt 2742 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); tcp_cntxt 2745 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = inc_sequence + datasize; tcp_cntxt 2752 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = inc_sequence + datasize; tcp_cntxt 2757 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rem_ack_num = ntohl(tcph->ack_seq); tcp_cntxt 2759 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = inc_sequence + datasize; tcp_cntxt 2937 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.client = 1; tcp_cntxt 2938 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_wscale = I40IW_CM_DEFAULT_RCV_WND_SCALE; tcp_cntxt 2968 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.rcv_wscale = tcp_cntxt 2980 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_nxt = tcp_cntxt 2981 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.loc_seq_num; tcp_cntxt 2982 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.rcv_nxt = tcp_cntxt 2983 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.loc_seq_num; tcp_cntxt 2984 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.max_snd_wnd = tcp_cntxt 2985 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.rcv_wnd; tcp_cntxt 2986 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.max_snd_wnd = cm_node->tcp_cntxt.rcv_wnd; tcp_cntxt 2987 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.snd_wnd = loopback_remotenode->tcp_cntxt.rcv_wnd; tcp_cntxt 2988 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.snd_wnd = cm_node->tcp_cntxt.rcv_wnd; tcp_cntxt 2989 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.snd_wscale = loopback_remotenode->tcp_cntxt.rcv_wscale; tcp_cntxt 2990 drivers/infiniband/hw/i40iw/i40iw_cm.c loopback_remotenode->tcp_cntxt.snd_wscale = cm_node->tcp_cntxt.rcv_wscale; tcp_cntxt 3018 drivers/infiniband/hw/i40iw/i40iw_cm.c if (cm_node->tcp_cntxt.client) tcp_cntxt 3315 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; tcp_cntxt 3316 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->rcv_wscale = cm_node->tcp_cntxt.rcv_wscale; tcp_cntxt 3318 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_nxt = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num); tcp_cntxt 3319 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_wnd = cpu_to_le32(cm_node->tcp_cntxt.snd_wnd); tcp_cntxt 3320 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->rcv_nxt = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt); tcp_cntxt 3321 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_max = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num); tcp_cntxt 3323 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_una = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num); tcp_cntxt 3324 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->cwnd = cpu_to_le32(2 * cm_node->tcp_cntxt.mss); tcp_cntxt 3325 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_wl1 = cpu_to_le32(cm_node->tcp_cntxt.rcv_nxt); tcp_cntxt 3326 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_wl2 = cpu_to_le32(cm_node->tcp_cntxt.loc_seq_num); tcp_cntxt 3327 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->max_snd_window = cpu_to_le32(cm_node->tcp_cntxt.max_snd_wnd); tcp_cntxt 3328 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->rcv_wnd = cpu_to_le32(cm_node->tcp_cntxt.rcv_wnd << tcp_cntxt 3329 drivers/infiniband/hw/i40iw/i40iw_cm.c cm_node->tcp_cntxt.rcv_wscale); tcp_cntxt 3332 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->snd_mss = cpu_to_le32(((u32)cm_node->tcp_cntxt.mss)); tcp_cntxt 326 drivers/infiniband/hw/i40iw/i40iw_cm.h struct i40iw_cm_tcp_context tcp_cntxt;