Lines Matching refs:if_info
279 struct be_cmd_get_if_info_resp *if_info; in beiscsi_iface_create_default() local
281 if (!beiscsi_if_get_info(phba, BEISCSI_IP_TYPE_V4, &if_info)) { in beiscsi_iface_create_default()
283 kfree(if_info); in beiscsi_iface_create_default()
286 if (!beiscsi_if_get_info(phba, BEISCSI_IP_TYPE_V6, &if_info)) { in beiscsi_iface_create_default()
288 kfree(if_info); in beiscsi_iface_create_default()
519 struct be_cmd_get_if_info_resp *if_info; in __beiscsi_iface_get_param() local
525 len = beiscsi_if_get_info(phba, ip_type, &if_info); in __beiscsi_iface_get_param()
531 len = sprintf(buf, "%pI4\n", if_info->ip_addr.addr); in __beiscsi_iface_get_param()
534 len = sprintf(buf, "%pI6\n", if_info->ip_addr.addr); in __beiscsi_iface_get_param()
537 if (!if_info->dhcp_state) in __beiscsi_iface_get_param()
543 len = sprintf(buf, "%pI4\n", if_info->ip_addr.subnet_mask); in __beiscsi_iface_get_param()
547 (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) ? in __beiscsi_iface_get_param()
551 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param()
555 (if_info->vlan_priority & in __beiscsi_iface_get_param()
559 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param()
563 ((if_info->vlan_priority >> 13) & in __beiscsi_iface_get_param()
570 kfree(if_info); in __beiscsi_iface_get_param()