Lines Matching refs:nic_info
673 struct qlcnic_info nic_info; in qlcnic_initialize_nic() local
675 err = qlcnic_get_nic_info(adapter, &nic_info, adapter->ahw.pci_func); in qlcnic_initialize_nic()
679 adapter->physical_port = (u8)nic_info.phys_port; in qlcnic_initialize_nic()
680 adapter->switch_mode = nic_info.switch_mode; in qlcnic_initialize_nic()
681 adapter->max_tx_ques = nic_info.max_tx_ques; in qlcnic_initialize_nic()
682 adapter->max_rx_ques = nic_info.max_rx_ques; in qlcnic_initialize_nic()
683 adapter->capabilities = nic_info.capabilities; in qlcnic_initialize_nic()
684 adapter->max_mac_filters = nic_info.max_mac_filters; in qlcnic_initialize_nic()
685 adapter->max_mtu = nic_info.max_mtu; in qlcnic_initialize_nic()
889 struct qlcnic_info nic_info; in qlcnic_reset_npar_config() local
899 err = qlcnic_get_nic_info(adapter, &nic_info, i); in qlcnic_reset_npar_config()
902 nic_info.min_tx_bw = npar->min_bw; in qlcnic_reset_npar_config()
903 nic_info.max_tx_bw = npar->max_bw; in qlcnic_reset_npar_config()
904 err = qlcnic_set_nic_info(adapter, &nic_info); in qlcnic_reset_npar_config()
3683 struct qlcnic_info nic_info; in qlcnic_sysfs_write_npar_config() local
3700 ret = qlcnic_get_nic_info(adapter, &nic_info, pci_func); in qlcnic_sysfs_write_npar_config()
3703 nic_info.pci_func = pci_func; in qlcnic_sysfs_write_npar_config()
3704 nic_info.min_tx_bw = np_cfg[i].min_bw; in qlcnic_sysfs_write_npar_config()
3705 nic_info.max_tx_bw = np_cfg[i].max_bw; in qlcnic_sysfs_write_npar_config()
3706 ret = qlcnic_set_nic_info(adapter, &nic_info); in qlcnic_sysfs_write_npar_config()
3709 adapter->npars[i].min_bw = nic_info.min_tx_bw; in qlcnic_sysfs_write_npar_config()
3710 adapter->npars[i].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_write_npar_config()
3722 struct qlcnic_info nic_info; in qlcnic_sysfs_read_npar_config() local
3732 ret = qlcnic_get_nic_info(adapter, &nic_info, i); in qlcnic_sysfs_read_npar_config()
3737 np_cfg[i].op_mode = (u8)nic_info.op_mode; in qlcnic_sysfs_read_npar_config()
3738 np_cfg[i].port_num = nic_info.phys_port; in qlcnic_sysfs_read_npar_config()
3739 np_cfg[i].fw_capab = nic_info.capabilities; in qlcnic_sysfs_read_npar_config()
3740 np_cfg[i].min_bw = nic_info.min_tx_bw ; in qlcnic_sysfs_read_npar_config()
3741 np_cfg[i].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_read_npar_config()
3742 np_cfg[i].max_tx_queues = nic_info.max_tx_ques; in qlcnic_sysfs_read_npar_config()
3743 np_cfg[i].max_rx_queues = nic_info.max_rx_ques; in qlcnic_sysfs_read_npar_config()