Searched refs:nic_cap (Results 1 – 4 of 4) sorted by relevance
53 struct nic_service_cap *nic_cap = &cap->nic_cap; in hinic_parse_l2nic_res_cap() local61 nic_cap->max_sqs = dev_cap->nic_max_sq; in hinic_parse_l2nic_res_cap()62 nic_cap->max_rqs = dev_cap->nic_max_rq; in hinic_parse_l2nic_res_cap()63 nic_cap->vf_max_sqs = 0; in hinic_parse_l2nic_res_cap()64 nic_cap->vf_max_rqs = 0; in hinic_parse_l2nic_res_cap()68 nic_cap->lro_en = true; in hinic_parse_l2nic_res_cap()70 nic_cap->lro_en = false; in hinic_parse_l2nic_res_cap()72 nic_cap->lro_sz = dev_cap->nic_lro_sz; in hinic_parse_l2nic_res_cap()73 nic_cap->tso_sz = dev_cap->nic_tso_sz; in hinic_parse_l2nic_res_cap()77 nic_cap->max_sqs, nic_cap->max_rqs, in hinic_parse_l2nic_res_cap()[all …]
71 struct nic_service_cap nic_cap; /* NIC capability */ member
331 struct nic_service_cap nic_cap; member
730 info->max_rx_queues = nic_dev->nic_cap.max_rqs; in hinic_dev_infos_get()731 info->max_tx_queues = nic_dev->nic_cap.max_sqs; in hinic_dev_infos_get()2714 txq_size = nic_dev->nic_cap.max_sqs * sizeof(*nic_dev->txqs); in hinic_init_sw_rxtxqs()2722 rxq_size = nic_dev->nic_cap.max_rqs * sizeof(*nic_dev->rxqs); in hinic_init_sw_rxtxqs()2851 if (!hinic_support_nic(nic_dev->hwdev, &nic_dev->nic_cap)) { in hinic_nic_dev_create()