Lines Matching refs:if_info
280 struct be_cmd_get_if_info_resp *if_info; in beiscsi_create_def_ifaces() local
282 if (!mgmt_get_if_info(phba, BE2_IPV4, &if_info)) { in beiscsi_create_def_ifaces()
284 kfree(if_info); in beiscsi_create_def_ifaces()
287 if (!mgmt_get_if_info(phba, BE2_IPV6, &if_info)) { in beiscsi_create_def_ifaces()
289 kfree(if_info); in beiscsi_create_def_ifaces()
537 struct be_cmd_get_if_info_resp *if_info; in be2iscsi_get_if_param() local
543 len = mgmt_get_if_info(phba, ip_type, &if_info); in be2iscsi_get_if_param()
549 len = sprintf(buf, "%pI4\n", if_info->ip_addr.addr); in be2iscsi_get_if_param()
552 len = sprintf(buf, "%pI6\n", if_info->ip_addr.addr); in be2iscsi_get_if_param()
555 if (!if_info->dhcp_state) in be2iscsi_get_if_param()
561 len = sprintf(buf, "%pI4\n", if_info->ip_addr.subnet_mask); in be2iscsi_get_if_param()
565 (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in be2iscsi_get_if_param()
569 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in be2iscsi_get_if_param()
573 (if_info->vlan_priority & in be2iscsi_get_if_param()
577 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in be2iscsi_get_if_param()
581 ((if_info->vlan_priority >> 13) & in be2iscsi_get_if_param()
588 kfree(if_info); in be2iscsi_get_if_param()