Lines Matching refs:p_tcp
267 struct tcp_offload_params *p_tcp = NULL; in qed_sp_iscsi_conn_offload() local
326 p_tcp = &p_ramrod->tcp; in qed_sp_iscsi_conn_offload()
330 p_tcp->local_mac_addr_hi = tmp; in qed_sp_iscsi_conn_offload()
332 p_tcp->local_mac_addr_mid = tmp; in qed_sp_iscsi_conn_offload()
334 p_tcp->local_mac_addr_lo = tmp; in qed_sp_iscsi_conn_offload()
338 p_tcp->remote_mac_addr_hi = tmp; in qed_sp_iscsi_conn_offload()
340 p_tcp->remote_mac_addr_mid = tmp; in qed_sp_iscsi_conn_offload()
342 p_tcp->remote_mac_addr_lo = tmp; in qed_sp_iscsi_conn_offload()
344 p_tcp->vlan_id = cpu_to_le16(p_conn->vlan_id); in qed_sp_iscsi_conn_offload()
346 p_tcp->flags = cpu_to_le16(p_conn->tcp_flags); in qed_sp_iscsi_conn_offload()
347 p_tcp->ip_version = p_conn->ip_version; in qed_sp_iscsi_conn_offload()
350 p_tcp->remote_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
352 p_tcp->local_ip[i] = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
354 p_tcp->ka_max_probe_cnt = p_conn->ka_max_probe_cnt; in qed_sp_iscsi_conn_offload()
355 p_tcp->dup_ack_theshold = p_conn->dup_ack_theshold; in qed_sp_iscsi_conn_offload()
357 p_tcp->rcv_next = cpu_to_le32(p_conn->rcv_next); in qed_sp_iscsi_conn_offload()
358 p_tcp->snd_una = cpu_to_le32(p_conn->snd_una); in qed_sp_iscsi_conn_offload()
359 p_tcp->snd_next = cpu_to_le32(p_conn->snd_next); in qed_sp_iscsi_conn_offload()
360 p_tcp->snd_max = cpu_to_le32(p_conn->snd_max); in qed_sp_iscsi_conn_offload()
361 p_tcp->snd_wnd = cpu_to_le32(p_conn->snd_wnd); in qed_sp_iscsi_conn_offload()
362 p_tcp->rcv_wnd = cpu_to_le32(p_conn->rcv_wnd); in qed_sp_iscsi_conn_offload()
363 p_tcp->snd_wl1 = cpu_to_le32(p_conn->snd_wl1); in qed_sp_iscsi_conn_offload()
364 p_tcp->cwnd = cpu_to_le32(p_conn->cwnd); in qed_sp_iscsi_conn_offload()
365 p_tcp->ss_thresh = cpu_to_le32(p_conn->ss_thresh); in qed_sp_iscsi_conn_offload()
366 p_tcp->srtt = cpu_to_le16(p_conn->srtt); in qed_sp_iscsi_conn_offload()
367 p_tcp->rtt_var = cpu_to_le16(p_conn->rtt_var); in qed_sp_iscsi_conn_offload()
368 p_tcp->ts_recent = cpu_to_le32(p_conn->ts_recent); in qed_sp_iscsi_conn_offload()
369 p_tcp->ts_recent_age = cpu_to_le32(p_conn->ts_recent_age); in qed_sp_iscsi_conn_offload()
370 p_tcp->total_rt = cpu_to_le32(p_conn->total_rt); in qed_sp_iscsi_conn_offload()
372 p_tcp->ka_timeout_delta = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
374 p_tcp->rt_timeout_delta = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
375 p_tcp->dup_ack_cnt = p_conn->dup_ack_cnt; in qed_sp_iscsi_conn_offload()
376 p_tcp->snd_wnd_probe_cnt = p_conn->snd_wnd_probe_cnt; in qed_sp_iscsi_conn_offload()
377 p_tcp->ka_probe_cnt = p_conn->ka_probe_cnt; in qed_sp_iscsi_conn_offload()
378 p_tcp->rt_cnt = p_conn->rt_cnt; in qed_sp_iscsi_conn_offload()
379 p_tcp->flow_label = cpu_to_le32(p_conn->flow_label); in qed_sp_iscsi_conn_offload()
380 p_tcp->ka_timeout = cpu_to_le32(p_conn->ka_timeout); in qed_sp_iscsi_conn_offload()
381 p_tcp->ka_interval = cpu_to_le32(p_conn->ka_interval); in qed_sp_iscsi_conn_offload()
382 p_tcp->max_rt_time = cpu_to_le32(p_conn->max_rt_time); in qed_sp_iscsi_conn_offload()
384 p_tcp->initial_rcv_wnd = cpu_to_le32(dval); in qed_sp_iscsi_conn_offload()
385 p_tcp->ttl = p_conn->ttl; in qed_sp_iscsi_conn_offload()
386 p_tcp->tos_or_tc = p_conn->tos_or_tc; in qed_sp_iscsi_conn_offload()
387 p_tcp->remote_port = cpu_to_le16(p_conn->remote_port); in qed_sp_iscsi_conn_offload()
388 p_tcp->local_port = cpu_to_le16(p_conn->local_port); in qed_sp_iscsi_conn_offload()
389 p_tcp->mss = cpu_to_le16(p_conn->mss); in qed_sp_iscsi_conn_offload()
390 p_tcp->snd_wnd_scale = p_conn->snd_wnd_scale; in qed_sp_iscsi_conn_offload()
391 p_tcp->rcv_wnd_scale = p_conn->rcv_wnd_scale; in qed_sp_iscsi_conn_offload()
393 p_tcp->da_timeout_value = cpu_to_le16(wval); in qed_sp_iscsi_conn_offload()
394 p_tcp->ack_frequency = p_conn->ack_frequency; in qed_sp_iscsi_conn_offload()
395 p_tcp->connect_mode = p_conn->connect_mode; in qed_sp_iscsi_conn_offload()
693 struct tcp_upload_params *p_tcp = NULL; in qed_iscsi_allocate_connection() local
725 p_tcp = dma_alloc_coherent(&p_hwfn->cdev->pdev->dev, in qed_iscsi_allocate_connection()
726 sizeof(*p_tcp), in qed_iscsi_allocate_connection()
729 if (!p_tcp) in qed_iscsi_allocate_connection()
731 p_conn->tcp_upload_params_virt_addr = p_tcp; in qed_iscsi_allocate_connection()