Home
last modified time | relevance | path

Searched refs:max_q_per_vf (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c494 return ring_idx / (rcb_common->max_q_per_vf * rcb_common->max_vfn); in hns_rcb_get_port_in_comm()
701 u16 *max_q_per_vf) in hns_rcb_get_queue_mode() argument
706 *max_q_per_vf = 16; in hns_rcb_get_queue_mode()
711 *max_q_per_vf = 1; in hns_rcb_get_queue_mode()
715 *max_q_per_vf = 1; in hns_rcb_get_queue_mode()
719 *max_q_per_vf = 1; in hns_rcb_get_queue_mode()
723 *max_q_per_vf = 16; in hns_rcb_get_queue_mode()
784 u16 max_q_per_vf; in hns_rcb_common_get_cfg() local
801 hns_rcb_get_queue_mode(dsaf_mode, &max_vfn, &max_q_per_vf); in hns_rcb_common_get_cfg()
803 rcb_common->max_q_per_vf = max_q_per_vf; in hns_rcb_common_get_cfg()
Dhns_dsaf_rcb.h105 u16 max_q_per_vf; member
122 u16 *max_vfn, u16 *max_q_per_vf);
Dhns_dsaf_main.c249 u16 max_q_per_vf, max_vfn; in hns_dsaf_mix_def_qid_cfg() local
253 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_mix_def_qid_cfg()
254 q_num_per_port = max_vfn * max_q_per_vf; in hns_dsaf_mix_def_qid_cfg()
266 u16 max_q_per_vf, max_vfn; in hns_dsaf_inner_qid_cfg() local
273 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_inner_qid_cfg()
274 q_num_per_port = max_vfn * max_q_per_vf; in hns_dsaf_inner_qid_cfg()
Dhns_ae_adapt.c43 return dsaf_dev->rcb_common[0]->max_q_per_vf; in hns_ae_get_q_num_per_vf()
56 int q_num = rcb_comm->max_q_per_vf; in hns_ae_get_base_ring_pair()
Dhns_dsaf_mac.c226 q_num_per_vf = mac_cb->dsaf_dev->rcb_common[0]->max_q_per_vf; in hns_mac_get_inner_port_num()