Lines Matching refs:p_tcp

272 	struct tcp_offload_params_opt2 *p_tcp = NULL;  in qed_sp_nvmetcp_conn_offload()  local
319 p_tcp = &p_ramrod->tcp; in qed_sp_nvmetcp_conn_offload()
320 qed_set_fw_mac_addr(&p_tcp->remote_mac_addr_hi, in qed_sp_nvmetcp_conn_offload()
321 &p_tcp->remote_mac_addr_mid, in qed_sp_nvmetcp_conn_offload()
322 &p_tcp->remote_mac_addr_lo, p_conn->remote_mac); in qed_sp_nvmetcp_conn_offload()
323 qed_set_fw_mac_addr(&p_tcp->local_mac_addr_hi, in qed_sp_nvmetcp_conn_offload()
324 &p_tcp->local_mac_addr_mid, in qed_sp_nvmetcp_conn_offload()
325 &p_tcp->local_mac_addr_lo, p_conn->local_mac); in qed_sp_nvmetcp_conn_offload()
326 p_tcp->vlan_id = cpu_to_le16(p_conn->vlan_id); in qed_sp_nvmetcp_conn_offload()
327 p_tcp->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_nvmetcp_conn_offload()
328 p_tcp->ip_version = p_conn->ip_version; in qed_sp_nvmetcp_conn_offload()
329 if (p_tcp->ip_version == TCP_IPV6) { in qed_sp_nvmetcp_conn_offload()
331 p_tcp->remote_ip[i] = cpu_to_le32(p_conn->remote_ip[i]); in qed_sp_nvmetcp_conn_offload()
332 p_tcp->local_ip[i] = cpu_to_le32(p_conn->local_ip[i]); in qed_sp_nvmetcp_conn_offload()
335 p_tcp->remote_ip[0] = cpu_to_le32(p_conn->remote_ip[0]); in qed_sp_nvmetcp_conn_offload()
336 p_tcp->local_ip[0] = cpu_to_le32(p_conn->local_ip[0]); in qed_sp_nvmetcp_conn_offload()
339 p_tcp->flow_label = cpu_to_le32(p_conn->flow_label); in qed_sp_nvmetcp_conn_offload()
340 p_tcp->ttl = p_conn->ttl; in qed_sp_nvmetcp_conn_offload()
341 p_tcp->tos_or_tc = p_conn->tos_or_tc; in qed_sp_nvmetcp_conn_offload()
342 p_tcp->remote_port = cpu_to_le16(p_conn->remote_port); in qed_sp_nvmetcp_conn_offload()
343 p_tcp->local_port = cpu_to_le16(p_conn->local_port); in qed_sp_nvmetcp_conn_offload()
344 p_tcp->mss = cpu_to_le16(p_conn->mss); in qed_sp_nvmetcp_conn_offload()
345 p_tcp->rcv_wnd_scale = p_conn->rcv_wnd_scale; in qed_sp_nvmetcp_conn_offload()
346 p_tcp->connect_mode = p_conn->connect_mode; in qed_sp_nvmetcp_conn_offload()
347 p_tcp->cwnd = cpu_to_le32(p_conn->cwnd); in qed_sp_nvmetcp_conn_offload()
348 p_tcp->ka_max_probe_cnt = p_conn->ka_max_probe_cnt; in qed_sp_nvmetcp_conn_offload()
349 p_tcp->ka_timeout = cpu_to_le32(p_conn->ka_timeout); in qed_sp_nvmetcp_conn_offload()
350 p_tcp->max_rt_time = cpu_to_le32(p_conn->max_rt_time); in qed_sp_nvmetcp_conn_offload()
351 p_tcp->ka_interval = cpu_to_le32(p_conn->ka_interval); in qed_sp_nvmetcp_conn_offload()