Searched refs:dsaf_mode (Results 1 – 6 of 6) sorted by relevance
602 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode, u16 *max_vfn, in hns_rcb_get_queue_mode() argument605 switch (dsaf_mode) { in hns_rcb_get_queue_mode()632 switch (dsaf_dev->dsaf_mode) { in hns_rcb_get_ring_num()661 dsaf_dev->dsaf_mode); in hns_rcb_get_ring_num()684 enum dsaf_mode dsaf_mode = dsaf_dev->dsaf_mode; in hns_rcb_common_get_cfg() local702 hns_rcb_get_queue_mode(dsaf_mode, &max_vfn, &max_q_per_vf); in hns_rcb_common_get_cfg()
73 #define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP)141 enum dsaf_mode { enum342 enum dsaf_mode dsaf_mode; /* dsaf mode */ member
114 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode,
203 enum dsaf_mode dsaf_mode = dsaf_dev->dsaf_mode; in hns_ppe_common_init_hw() local211 switch (dsaf_mode) { in hns_ppe_common_init_hw()246 dsaf_mode); in hns_ppe_common_init_hw()
150 if (mac_cb->dsaf_dev->dsaf_mode <= DSAF_MODE_ENABLE) { in hns_mac_get_inner_port_num()158 } else if (mac_cb->dsaf_dev->dsaf_mode < DSAF_MODE_MAX) { in hns_mac_get_inner_port_num()184 switch (mac_cb->dsaf_dev->dsaf_mode) { in hns_mac_get_inner_port_num()
91 dsaf_dev->dsaf_mode = (enum dsaf_mode)i; in hns_dsaf_get_cfg()93 if (dsaf_dev->dsaf_mode > DSAF_MODE_ENABLE) in hns_dsaf_get_cfg()257 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_mix_def_qid_cfg()277 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_inner_qid_cfg()1478 if (dsaf_dev->dsaf_mode <= DSAF_MODE_ENABLE) in hns_dsaf_set_mac_key()