Lines Matching refs:init_fw_cb
2032 struct addr_ctrl_blk *init_fw_cb) in qla4xxx_set_ipv6() argument
2042 memcpy(init_fw_cb->ipv6_addr1, iface_param->value, in qla4xxx_set_ipv6()
2043 sizeof(init_fw_cb->ipv6_addr1)); in qla4xxx_set_ipv6()
2046 memcpy(init_fw_cb->ipv6_addr0, iface_param->value, in qla4xxx_set_ipv6()
2047 sizeof(init_fw_cb->ipv6_addr0)); in qla4xxx_set_ipv6()
2052 memcpy(init_fw_cb->ipv6_if_id, &iface_param->value[8], in qla4xxx_set_ipv6()
2053 sizeof(init_fw_cb->ipv6_if_id)); in qla4xxx_set_ipv6()
2058 memcpy(init_fw_cb->ipv6_dflt_rtr_addr, iface_param->value, in qla4xxx_set_ipv6()
2059 sizeof(init_fw_cb->ipv6_dflt_rtr_addr)); in qla4xxx_set_ipv6()
2067 init_fw_cb->ipv6_addtl_opts &= in qla4xxx_set_ipv6()
2071 init_fw_cb->ipv6_addtl_opts |= in qla4xxx_set_ipv6()
2085 init_fw_cb->ipv6_addtl_opts |= cpu_to_le16( in qla4xxx_set_ipv6()
2089 init_fw_cb->ipv6_addtl_opts &= cpu_to_le16( in qla4xxx_set_ipv6()
2101 memset(init_fw_cb->ipv6_dflt_rtr_addr, 0, in qla4xxx_set_ipv6()
2102 sizeof(init_fw_cb->ipv6_dflt_rtr_addr)); in qla4xxx_set_ipv6()
2106 init_fw_cb->ipv6_opts |= in qla4xxx_set_ipv6()
2110 init_fw_cb->ipv6_opts &= in qla4xxx_set_ipv6()
2117 if (iface_param->len != sizeof(init_fw_cb->ipv6_vlan_tag)) in qla4xxx_set_ipv6()
2119 init_fw_cb->ipv6_vlan_tag = in qla4xxx_set_ipv6()
2124 init_fw_cb->ipv6_opts |= in qla4xxx_set_ipv6()
2127 init_fw_cb->ipv6_opts &= in qla4xxx_set_ipv6()
2131 init_fw_cb->eth_mtu_size = in qla4xxx_set_ipv6()
2139 init_fw_cb->ipv6_port = in qla4xxx_set_ipv6()
2146 init_fw_cb->ipv6_tcp_opts |= in qla4xxx_set_ipv6()
2149 init_fw_cb->ipv6_tcp_opts &= in qla4xxx_set_ipv6()
2157 init_fw_cb->ipv6_tcp_opts |= in qla4xxx_set_ipv6()
2160 init_fw_cb->ipv6_tcp_opts &= in qla4xxx_set_ipv6()
2167 init_fw_cb->ipv6_tcp_opts |= in qla4xxx_set_ipv6()
2170 init_fw_cb->ipv6_tcp_opts &= in qla4xxx_set_ipv6()
2176 init_fw_cb->ipv6_tcp_wsf = iface_param->value[0]; in qla4xxx_set_ipv6()
2181 init_fw_cb->ipv6_tcp_opts &= in qla4xxx_set_ipv6()
2183 init_fw_cb->ipv6_tcp_opts |= in qla4xxx_set_ipv6()
2191 init_fw_cb->ipv6_tcp_opts |= in qla4xxx_set_ipv6()
2194 init_fw_cb->ipv6_tcp_opts &= in qla4xxx_set_ipv6()
2201 init_fw_cb->ipv6_opts |= in qla4xxx_set_ipv6()
2204 init_fw_cb->ipv6_opts &= in qla4xxx_set_ipv6()
2211 init_fw_cb->ipv6_opts |= in qla4xxx_set_ipv6()
2214 init_fw_cb->ipv6_opts &= in qla4xxx_set_ipv6()
2221 init_fw_cb->ipv6_addtl_opts |= in qla4xxx_set_ipv6()
2224 init_fw_cb->ipv6_addtl_opts &= in qla4xxx_set_ipv6()
2230 init_fw_cb->ipv6_flow_lbl = in qla4xxx_set_ipv6()
2236 init_fw_cb->ipv6_traffic_class = iface_param->value[0]; in qla4xxx_set_ipv6()
2241 init_fw_cb->ipv6_hop_limit = iface_param->value[0]; in qla4xxx_set_ipv6()
2246 init_fw_cb->ipv6_nd_reach_time = in qla4xxx_set_ipv6()
2252 init_fw_cb->ipv6_nd_rexmit_timer = in qla4xxx_set_ipv6()
2258 init_fw_cb->ipv6_nd_stale_timeout = in qla4xxx_set_ipv6()
2264 init_fw_cb->ipv6_dup_addr_detect_count = iface_param->value[0]; in qla4xxx_set_ipv6()
2269 init_fw_cb->ipv6_gw_advrt_mtu = in qla4xxx_set_ipv6()
2281 struct addr_ctrl_blk *init_fw_cb) in qla4xxx_set_ipv4() argument
2285 memcpy(init_fw_cb->ipv4_addr, iface_param->value, in qla4xxx_set_ipv4()
2286 sizeof(init_fw_cb->ipv4_addr)); in qla4xxx_set_ipv4()
2289 memcpy(init_fw_cb->ipv4_subnet, iface_param->value, in qla4xxx_set_ipv4()
2290 sizeof(init_fw_cb->ipv4_subnet)); in qla4xxx_set_ipv4()
2293 memcpy(init_fw_cb->ipv4_gw_addr, iface_param->value, in qla4xxx_set_ipv4()
2294 sizeof(init_fw_cb->ipv4_gw_addr)); in qla4xxx_set_ipv4()
2298 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2301 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2308 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2312 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2319 if (iface_param->len != sizeof(init_fw_cb->ipv4_vlan_tag)) in qla4xxx_set_ipv4()
2321 init_fw_cb->ipv4_vlan_tag = in qla4xxx_set_ipv4()
2326 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2329 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2333 init_fw_cb->eth_mtu_size = in qla4xxx_set_ipv4()
2337 init_fw_cb->ipv4_port = in qla4xxx_set_ipv4()
2344 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2347 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2355 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2358 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2365 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2368 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2374 init_fw_cb->ipv4_tcp_wsf = iface_param->value[0]; in qla4xxx_set_ipv4()
2379 init_fw_cb->ipv4_tcp_opts &= cpu_to_le16(~TCPOPT_TIMER_SCALE); in qla4xxx_set_ipv4()
2380 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2388 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2391 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2398 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2401 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2408 init_fw_cb->ipv4_tcp_opts |= in qla4xxx_set_ipv4()
2411 init_fw_cb->ipv4_tcp_opts &= in qla4xxx_set_ipv4()
2418 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2421 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2427 init_fw_cb->ipv4_tos = iface_param->value[0]; in qla4xxx_set_ipv4()
2433 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2436 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2443 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2446 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2452 memcpy(init_fw_cb->ipv4_dhcp_alt_cid, iface_param->value, in qla4xxx_set_ipv4()
2453 (sizeof(init_fw_cb->ipv4_dhcp_alt_cid) - 1)); in qla4xxx_set_ipv4()
2454 init_fw_cb->ipv4_dhcp_alt_cid_len = in qla4xxx_set_ipv4()
2455 strlen(init_fw_cb->ipv4_dhcp_alt_cid); in qla4xxx_set_ipv4()
2461 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2464 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2471 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2474 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2480 memcpy(init_fw_cb->ipv4_dhcp_vid, iface_param->value, in qla4xxx_set_ipv4()
2481 (sizeof(init_fw_cb->ipv4_dhcp_vid) - 1)); in qla4xxx_set_ipv4()
2482 init_fw_cb->ipv4_dhcp_vid_len = in qla4xxx_set_ipv4()
2483 strlen(init_fw_cb->ipv4_dhcp_vid); in qla4xxx_set_ipv4()
2489 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2492 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2499 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2502 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2509 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2512 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2519 init_fw_cb->ipv4_ip_opts |= in qla4xxx_set_ipv4()
2522 init_fw_cb->ipv4_ip_opts &= in qla4xxx_set_ipv4()
2528 init_fw_cb->ipv4_ttl = iface_param->value[0]; in qla4xxx_set_ipv4()
2539 struct addr_ctrl_blk *init_fw_cb) in qla4xxx_set_iscsi_param() argument
2545 init_fw_cb->def_timeout = in qla4xxx_set_iscsi_param()
2552 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2555 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2562 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2565 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2572 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2575 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2582 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2585 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2592 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2595 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2602 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2605 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2611 init_fw_cb->iscsi_opts &= cpu_to_le16(~ISCSIOPTS_ERL); in qla4xxx_set_iscsi_param()
2612 init_fw_cb->iscsi_opts |= cpu_to_le16(iface_param->value[0] & in qla4xxx_set_iscsi_param()
2618 init_fw_cb->iscsi_max_pdu_size = in qla4xxx_set_iscsi_param()
2625 init_fw_cb->iscsi_fburst_len = in qla4xxx_set_iscsi_param()
2632 init_fw_cb->iscsi_max_outstnd_r2t = in qla4xxx_set_iscsi_param()
2638 init_fw_cb->iscsi_max_burst_len = in qla4xxx_set_iscsi_param()
2646 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2649 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2656 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2659 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2666 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2669 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2676 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2679 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2686 init_fw_cb->iscsi_opts |= in qla4xxx_set_iscsi_param()
2689 init_fw_cb->iscsi_opts &= in qla4xxx_set_iscsi_param()
2700 qla4xxx_initcb_to_acb(struct addr_ctrl_blk *init_fw_cb) in qla4xxx_initcb_to_acb() argument
2703 acb = (struct addr_ctrl_blk_def *)init_fw_cb; in qla4xxx_initcb_to_acb()
2727 struct addr_ctrl_blk *init_fw_cb = NULL; in qla4xxx_iface_set_param() local
2734 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, in qla4xxx_iface_set_param()
2737 if (!init_fw_cb) { in qla4xxx_iface_set_param()
2761 init_fw_cb); in qla4xxx_iface_set_param()
2776 init_fw_cb); in qla4xxx_iface_set_param()
2793 init_fw_cb); in qla4xxx_iface_set_param()
2799 init_fw_cb->cookie = cpu_to_le32(0x11BEAD5A); in qla4xxx_iface_set_param()
2822 qla4xxx_initcb_to_acb(init_fw_cb); in qla4xxx_iface_set_param()
2832 memset(init_fw_cb, 0, sizeof(struct addr_ctrl_blk)); in qla4xxx_iface_set_param()
2833 qla4xxx_update_local_ifcb(ha, &mbox_cmd[0], &mbox_sts[0], init_fw_cb, in qla4xxx_iface_set_param()
2838 init_fw_cb, init_fw_cb_dma); in qla4xxx_iface_set_param()