Searched refs:max_vfn (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 490 return ring_idx / (rcb_common->max_q_per_vf * rcb_common->max_vfn); in hns_rcb_get_port_in_comm() 696 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode, u16 *max_vfn, in hns_rcb_get_queue_mode() argument 701 *max_vfn = 1; in hns_rcb_get_queue_mode() 706 *max_vfn = 1; in hns_rcb_get_queue_mode() 710 *max_vfn = 64; in hns_rcb_get_queue_mode() 714 *max_vfn = 16; in hns_rcb_get_queue_mode() 718 *max_vfn = 1; in hns_rcb_get_queue_mode() 779 u16 max_vfn; in hns_rcb_common_get_cfg() local 797 hns_rcb_get_queue_mode(dsaf_mode, &max_vfn, &max_q_per_vf); in hns_rcb_common_get_cfg() 798 rcb_common->max_vfn = max_vfn; in hns_rcb_common_get_cfg()
|
D | hns_dsaf_rcb.h | 104 u16 max_vfn; member 122 u16 *max_vfn, u16 *max_q_per_vf);
|
D | hns_dsaf_main.c | 249 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()
|
D | hns_ae_adapt.c | 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()
|
D | hns_dsaf_mac.c | 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()
|