Home
last modified time | relevance | path

Searched refs:common_idx (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c78 int common_idx = hns_dsaf_get_comm_idx_by_port(port); in hns_ae_get_q_num_per_vf() local
80 return dsaf_dev->rcb_common[common_idx]->max_q_per_vf; in hns_ae_get_q_num_per_vf()
86 int common_idx = hns_dsaf_get_comm_idx_by_port(port); in hns_ae_get_vf_num_per_port() local
88 return dsaf_dev->rcb_common[common_idx]->max_vfn; in hns_ae_get_vf_num_per_port()
94 int common_idx = hns_dsaf_get_comm_idx_by_port(port); in hns_ae_get_base_ring_pair() local
95 struct rcb_common_cb *rcb_comm = dsaf_dev->rcb_common[common_idx]; in hns_ae_get_base_ring_pair()
99 if (common_idx == HNS_DSAF_COMM_SERVICE_NW_IDX) in hns_ae_get_base_ring_pair()
Dhns_dsaf_ppe.c86 int common_idx = ppe_common->comm_index; in hns_ppe_get_iobase() local
94 (common_idx - 1) * HNS_DSAF_DEBUG_NW_REG_OFFSET; in hns_ppe_get_iobase()