Lines Matching refs:tcp_info

3268 			       struct irdma_tcp_offload_info *tcp_info,  in irdma_init_tcp_ctx()  argument
3271 tcp_info->ipv4 = cm_node->ipv4; in irdma_init_tcp_ctx()
3272 tcp_info->drop_ooo_seg = !iwqp->iwdev->iw_ooo; in irdma_init_tcp_ctx()
3273 tcp_info->wscale = true; in irdma_init_tcp_ctx()
3274 tcp_info->ignore_tcp_opt = true; in irdma_init_tcp_ctx()
3275 tcp_info->ignore_tcp_uns_opt = true; in irdma_init_tcp_ctx()
3276 tcp_info->no_nagle = false; in irdma_init_tcp_ctx()
3278 tcp_info->ttl = IRDMA_DEFAULT_TTL; in irdma_init_tcp_ctx()
3279 tcp_info->rtt_var = IRDMA_DEFAULT_RTT_VAR; in irdma_init_tcp_ctx()
3280 tcp_info->ss_thresh = IRDMA_DEFAULT_SS_THRESH; in irdma_init_tcp_ctx()
3281 tcp_info->rexmit_thresh = IRDMA_DEFAULT_REXMIT_THRESH; in irdma_init_tcp_ctx()
3283 tcp_info->tcp_state = IRDMA_TCP_STATE_ESTABLISHED; in irdma_init_tcp_ctx()
3284 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in irdma_init_tcp_ctx()
3285 tcp_info->rcv_wscale = cm_node->tcp_cntxt.rcv_wscale; in irdma_init_tcp_ctx()
3287 tcp_info->snd_nxt = cm_node->tcp_cntxt.loc_seq_num; in irdma_init_tcp_ctx()
3288 tcp_info->snd_wnd = cm_node->tcp_cntxt.snd_wnd; in irdma_init_tcp_ctx()
3289 tcp_info->rcv_nxt = cm_node->tcp_cntxt.rcv_nxt; in irdma_init_tcp_ctx()
3290 tcp_info->snd_max = cm_node->tcp_cntxt.loc_seq_num; in irdma_init_tcp_ctx()
3292 tcp_info->snd_una = cm_node->tcp_cntxt.loc_seq_num; in irdma_init_tcp_ctx()
3293 tcp_info->cwnd = 2 * cm_node->tcp_cntxt.mss; in irdma_init_tcp_ctx()
3294 tcp_info->snd_wl1 = cm_node->tcp_cntxt.rcv_nxt; in irdma_init_tcp_ctx()
3295 tcp_info->snd_wl2 = cm_node->tcp_cntxt.loc_seq_num; in irdma_init_tcp_ctx()
3296 tcp_info->max_snd_window = cm_node->tcp_cntxt.max_snd_wnd; in irdma_init_tcp_ctx()
3297 tcp_info->rcv_wnd = cm_node->tcp_cntxt.rcv_wnd in irdma_init_tcp_ctx()
3300 tcp_info->flow_label = 0; in irdma_init_tcp_ctx()
3301 tcp_info->snd_mss = (u32)cm_node->tcp_cntxt.mss; in irdma_init_tcp_ctx()
3302 tcp_info->tos = cm_node->tos; in irdma_init_tcp_ctx()
3304 tcp_info->insert_vlan_tag = true; in irdma_init_tcp_ctx()
3305 tcp_info->vlan_tag = cm_node->vlan_id; in irdma_init_tcp_ctx()
3306 tcp_info->vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_init_tcp_ctx()
3309 tcp_info->src_port = cm_node->loc_port; in irdma_init_tcp_ctx()
3310 tcp_info->dst_port = cm_node->rem_port; in irdma_init_tcp_ctx()
3312 tcp_info->dest_ip_addr[3] = cm_node->rem_addr[0]; in irdma_init_tcp_ctx()
3313 tcp_info->local_ipaddr[3] = cm_node->loc_addr[0]; in irdma_init_tcp_ctx()
3314 tcp_info->arp_idx = (u16)irdma_arp_table(iwqp->iwdev->rf, in irdma_init_tcp_ctx()
3315 &tcp_info->dest_ip_addr[3], in irdma_init_tcp_ctx()
3319 tcp_info->src_port = cm_node->loc_port; in irdma_init_tcp_ctx()
3320 tcp_info->dst_port = cm_node->rem_port; in irdma_init_tcp_ctx()
3321 memcpy(tcp_info->dest_ip_addr, cm_node->rem_addr, in irdma_init_tcp_ctx()
3322 sizeof(tcp_info->dest_ip_addr)); in irdma_init_tcp_ctx()
3323 memcpy(tcp_info->local_ipaddr, cm_node->loc_addr, in irdma_init_tcp_ctx()
3324 sizeof(tcp_info->local_ipaddr)); in irdma_init_tcp_ctx()
3326 tcp_info->arp_idx = (u16)irdma_arp_table(iwqp->iwdev->rf, in irdma_init_tcp_ctx()
3327 &tcp_info->dest_ip_addr[0], in irdma_init_tcp_ctx()
3347 ctx_info->tcp_info = &iwqp->tcp_info; in irdma_cm_init_tsa_conn()
3362 irdma_init_tcp_ctx(cm_node, &iwqp->tcp_info, iwqp); in irdma_cm_init_tsa_conn()
3365 iwarp_info->snd_mark_offset = (iwqp->tcp_info.snd_nxt & SNDMARKER_SEQNMASK) + in irdma_cm_init_tsa_conn()
3370 iwqp->tcp_info.tcp_state = IRDMA_TCP_STATE_ESTABLISHED; in irdma_cm_init_tsa_conn()
3371 iwqp->tcp_info.src_mac_addr_idx = iwqp->iwdev->mac_ip_table_idx; in irdma_cm_init_tsa_conn()