Lines Matching refs:tcp
117 p_ramrod->tcp.tx_sws_timer = cpu_to_le16(QED_TX_SWS_TIMER_DFLT); in qed_iwarp_init_fw_ramrod()
118 p_ramrod->tcp.two_msl_timer = cpu_to_le32(QED_TWO_MSL_TIMER_DFLT); in qed_iwarp_init_fw_ramrod()
119 p_ramrod->tcp.max_fin_rt = QED_IWARP_MAX_FIN_RT_DEFAULT; in qed_iwarp_init_fw_ramrod()
580 p_tcp_ramrod->tcp.local_mac_addr_lo, in qed_iwarp_print_tcp_ramrod()
581 p_tcp_ramrod->tcp.local_mac_addr_mid, in qed_iwarp_print_tcp_ramrod()
582 p_tcp_ramrod->tcp.local_mac_addr_hi, in qed_iwarp_print_tcp_ramrod()
583 p_tcp_ramrod->tcp.remote_mac_addr_lo, in qed_iwarp_print_tcp_ramrod()
584 p_tcp_ramrod->tcp.remote_mac_addr_mid, in qed_iwarp_print_tcp_ramrod()
585 p_tcp_ramrod->tcp.remote_mac_addr_hi); in qed_iwarp_print_tcp_ramrod()
587 if (p_tcp_ramrod->tcp.ip_version == TCP_IPV4) { in qed_iwarp_print_tcp_ramrod()
590 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod()
591 p_tcp_ramrod->tcp.local_port, in qed_iwarp_print_tcp_ramrod()
592 p_tcp_ramrod->tcp.remote_ip, in qed_iwarp_print_tcp_ramrod()
593 p_tcp_ramrod->tcp.remote_port, in qed_iwarp_print_tcp_ramrod()
594 p_tcp_ramrod->tcp.vlan_id); in qed_iwarp_print_tcp_ramrod()
598 p_tcp_ramrod->tcp.local_ip, in qed_iwarp_print_tcp_ramrod()
599 p_tcp_ramrod->tcp.local_port, in qed_iwarp_print_tcp_ramrod()
600 p_tcp_ramrod->tcp.remote_ip, in qed_iwarp_print_tcp_ramrod()
601 p_tcp_ramrod->tcp.remote_port, in qed_iwarp_print_tcp_ramrod()
602 p_tcp_ramrod->tcp.vlan_id); in qed_iwarp_print_tcp_ramrod()
607 p_tcp_ramrod->tcp.flow_label, in qed_iwarp_print_tcp_ramrod()
608 p_tcp_ramrod->tcp.ttl, in qed_iwarp_print_tcp_ramrod()
609 p_tcp_ramrod->tcp.tos_or_tc, in qed_iwarp_print_tcp_ramrod()
610 p_tcp_ramrod->tcp.mss, in qed_iwarp_print_tcp_ramrod()
611 p_tcp_ramrod->tcp.rcv_wnd_scale, in qed_iwarp_print_tcp_ramrod()
612 p_tcp_ramrod->tcp.connect_mode, in qed_iwarp_print_tcp_ramrod()
613 p_tcp_ramrod->tcp.flags); in qed_iwarp_print_tcp_ramrod()
616 p_tcp_ramrod->tcp.syn_ip_payload_length, in qed_iwarp_print_tcp_ramrod()
617 p_tcp_ramrod->tcp.syn_phy_addr_lo, in qed_iwarp_print_tcp_ramrod()
618 p_tcp_ramrod->tcp.syn_phy_addr_hi); in qed_iwarp_print_tcp_ramrod()
626 struct tcp_offload_params_opt2 *tcp; in qed_iwarp_tcp_offload() local
675 tcp = &p_tcp_ramrod->tcp; in qed_iwarp_tcp_offload()
676 qed_set_fw_mac_addr(&tcp->remote_mac_addr_hi, in qed_iwarp_tcp_offload()
677 &tcp->remote_mac_addr_mid, in qed_iwarp_tcp_offload()
678 &tcp->remote_mac_addr_lo, ep->remote_mac_addr); in qed_iwarp_tcp_offload()
679 qed_set_fw_mac_addr(&tcp->local_mac_addr_hi, &tcp->local_mac_addr_mid, in qed_iwarp_tcp_offload()
680 &tcp->local_mac_addr_lo, ep->local_mac_addr); in qed_iwarp_tcp_offload()
682 tcp->vlan_id = cpu_to_le16(ep->cm_info.vlan); in qed_iwarp_tcp_offload()
692 tcp->flags = cpu_to_le16(flags); in qed_iwarp_tcp_offload()
693 tcp->ip_version = ep->cm_info.ip_version; in qed_iwarp_tcp_offload()
696 tcp->remote_ip[i] = cpu_to_le32(ep->cm_info.remote_ip[i]); in qed_iwarp_tcp_offload()
697 tcp->local_ip[i] = cpu_to_le32(ep->cm_info.local_ip[i]); in qed_iwarp_tcp_offload()
700 tcp->remote_port = cpu_to_le16(ep->cm_info.remote_port); in qed_iwarp_tcp_offload()
701 tcp->local_port = cpu_to_le16(ep->cm_info.local_port); in qed_iwarp_tcp_offload()
702 tcp->mss = cpu_to_le16(ep->mss); in qed_iwarp_tcp_offload()
703 tcp->flow_label = 0; in qed_iwarp_tcp_offload()
704 tcp->ttl = 0x40; in qed_iwarp_tcp_offload()
705 tcp->tos_or_tc = 0; in qed_iwarp_tcp_offload()
707 tcp->max_rt_time = QED_IWARP_DEF_MAX_RT_TIME; in qed_iwarp_tcp_offload()
708 tcp->cwnd = cpu_to_le32(QED_IWARP_DEF_CWND_FACTOR * ep->mss); in qed_iwarp_tcp_offload()
709 tcp->ka_max_probe_cnt = QED_IWARP_DEF_KA_MAX_PROBE_CNT; in qed_iwarp_tcp_offload()
710 tcp->ka_timeout = cpu_to_le32(QED_IWARP_DEF_KA_TIMEOUT); in qed_iwarp_tcp_offload()
711 tcp->ka_interval = cpu_to_le32(QED_IWARP_DEF_KA_INTERVAL); in qed_iwarp_tcp_offload()
713 tcp->rcv_wnd_scale = (u8)p_hwfn->p_rdma_info->iwarp.rcv_wnd_scale; in qed_iwarp_tcp_offload()
714 tcp->connect_mode = ep->connect_mode; in qed_iwarp_tcp_offload()
717 tcp->syn_ip_payload_length = in qed_iwarp_tcp_offload()
719 tcp->syn_phy_addr_hi = DMA_HI_LE(ep->syn_phy_addr); in qed_iwarp_tcp_offload()
720 tcp->syn_phy_addr_lo = DMA_LO_LE(ep->syn_phy_addr); in qed_iwarp_tcp_offload()