Searched refs:nic_desc (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c3792 struct be_nic_res_desc nic_desc; be_cmd_config_qos() local
3799 be_reset_nic_desc(&nic_desc); be_cmd_config_qos()
3800 nic_desc.pf_num = adapter->pf_number; be_cmd_config_qos()
3801 nic_desc.vf_num = domain; be_cmd_config_qos()
3802 nic_desc.bw_min = 0; be_cmd_config_qos()
3804 nic_desc.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V0; be_cmd_config_qos()
3805 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V0; be_cmd_config_qos()
3806 nic_desc.flags = (1 << QUN_SHIFT) | (1 << IMM_SHIFT) | be_cmd_config_qos()
3808 nic_desc.bw_max = cpu_to_le32(max_rate / 10); be_cmd_config_qos()
3811 nic_desc.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; be_cmd_config_qos()
3812 nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V1; be_cmd_config_qos()
3813 nic_desc.flags = (1 << IMM_SHIFT) | (1 << NOSV_SHIFT); be_cmd_config_qos()
3815 nic_desc.bw_max = cpu_to_le32(bw_percent); be_cmd_config_qos()
3818 return be_cmd_set_profile_config(adapter, &nic_desc, be_cmd_config_qos()
3819 nic_desc.hdr.desc_len, be_cmd_config_qos()

Completed in 60 milliseconds