nic_desc 4597 drivers/net/ethernet/emulex/benet/be_cmds.c struct be_nic_res_desc nic_desc; nic_desc 4604 drivers/net/ethernet/emulex/benet/be_cmds.c be_reset_nic_desc(&nic_desc); nic_desc 4605 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.pf_num = adapter->pf_num; nic_desc 4606 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.vf_num = domain; nic_desc 4607 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.bw_min = 0; nic_desc 4609 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V0; nic_desc 4610 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V0; nic_desc 4611 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.flags = (1 << QUN_SHIFT) | (1 << IMM_SHIFT) | nic_desc 4613 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.bw_max = cpu_to_le32(max_rate / 10); nic_desc 4616 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.hdr.desc_type = NIC_RESOURCE_DESC_TYPE_V1; nic_desc 4617 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.hdr.desc_len = RESOURCE_DESC_SIZE_V1; nic_desc 4618 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.flags = (1 << IMM_SHIFT) | (1 << NOSV_SHIFT); nic_desc 4620 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.bw_max = cpu_to_le32(bw_percent); nic_desc 4623 drivers/net/ethernet/emulex/benet/be_cmds.c return be_cmd_set_profile_config(adapter, &nic_desc, nic_desc 4624 drivers/net/ethernet/emulex/benet/be_cmds.c nic_desc.hdr.desc_len,