Searched refs:max_vfn (Results 1 – 3 of 3) sorted by relevance
485 return ring_idx / (rcb_common->max_q_per_vf * rcb_common->max_vfn); in hns_rcb_get_port_in_comm()691 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode, u16 *max_vfn, in hns_rcb_get_queue_mode() argument696 *max_vfn = 1; in hns_rcb_get_queue_mode()701 *max_vfn = 1; in hns_rcb_get_queue_mode()705 *max_vfn = 64; in hns_rcb_get_queue_mode()709 *max_vfn = 16; in hns_rcb_get_queue_mode()713 *max_vfn = 1; in hns_rcb_get_queue_mode()774 u16 max_vfn; in hns_rcb_common_get_cfg() local792 hns_rcb_get_queue_mode(dsaf_mode, &max_vfn, &max_q_per_vf); in hns_rcb_common_get_cfg()793 rcb_common->max_vfn = max_vfn; in hns_rcb_common_get_cfg()
49 return dsaf_dev->rcb_common[0]->max_vfn; in hns_ae_get_vf_num_per_port()57 int vf_num = rcb_comm->max_vfn; in hns_ae_get_base_ring_pair()
220 if (vmid >= mac_cb->dsaf_dev->rcb_common[0]->max_vfn) { in hns_mac_get_inner_port_num()227 vf_num_per_port = mac_cb->dsaf_dev->rcb_common[0]->max_vfn; in hns_mac_get_inner_port_num()