Searched refs:alink (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/abm/ |
D | qdisc.c | 45 nfp_abm_stats_update_red(struct nfp_abm_link *alink, struct nfp_qdisc *qdisc, in nfp_abm_stats_update_red() argument 48 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_stats_update_red() 56 err = nfp_abm_ctrl_read_q_stats(alink, i, queue, in nfp_abm_stats_update_red() 62 err = nfp_abm_ctrl_read_q_xstats(alink, i, queue, in nfp_abm_stats_update_red() 71 nfp_abm_stats_update_mq(struct nfp_abm_link *alink, struct nfp_qdisc *qdisc) in nfp_abm_stats_update_mq() argument 78 for (i = 0; i < alink->total_queues; i++) in nfp_abm_stats_update_mq() 80 nfp_abm_stats_update_red(alink, qdisc->children[i], i); in nfp_abm_stats_update_mq() 83 static void __nfp_abm_stats_update(struct nfp_abm_link *alink, u64 time_now) in __nfp_abm_stats_update() argument 85 alink->last_stats_update = time_now; in __nfp_abm_stats_update() 86 if (alink->root_qdisc) in __nfp_abm_stats_update() [all …]
|
D | ctrl.c | 48 nfp_abm_ctrl_stat(struct nfp_abm_link *alink, const struct nfp_rtsym *sym, in nfp_abm_ctrl_stat() argument 52 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_stat() 58 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_stat() 67 alink->id, band, queue, alink->queue_base); in nfp_abm_ctrl_stat() 98 int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_lvl() argument 103 threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_lvl() 105 return __nfp_abm_ctrl_set_q_lvl(alink->abm, threshold, val); in nfp_abm_ctrl_set_q_lvl() 131 int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_act() argument 136 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_act() 138 return __nfp_abm_ctrl_set_q_act(alink->abm, qid, act); in nfp_abm_ctrl_set_q_act() [all …]
|
D | main.c | 77 nfp_abm_spawn_repr(struct nfp_app *app, struct nfp_abm_link *alink, in nfp_abm_spawn_repr() argument 93 txqs = alink->vnic->max_rx_rings; in nfp_abm_spawn_repr() 100 repr->app_priv = alink; in nfp_abm_spawn_repr() 110 err = nfp_port_init_phy_port(app->pf, app, port, alink->id); in nfp_abm_spawn_repr() 114 port->pf_id = alink->abm->pf_id; in nfp_abm_spawn_repr() 116 port->pf_split_id = alink->id; in nfp_abm_spawn_repr() 117 port->vnic = alink->vnic->dp.ctrl_bar; in nfp_abm_spawn_repr() 120 SET_NETDEV_DEV(netdev, &alink->vnic->pdev->dev); in nfp_abm_spawn_repr() 123 err = nfp_repr_init(app, netdev, nfp_abm_portid(rtype, alink->id), in nfp_abm_spawn_repr() 124 port, alink->vnic->dp.netdev); in nfp_abm_spawn_repr() [all …]
|
D | cls.c | 108 nfp_abm_find_band_for_prio(struct nfp_abm_link *alink, unsigned int prio) in nfp_abm_find_band_for_prio() argument 112 list_for_each_entry(iter, &alink->dscp_map, list) in nfp_abm_find_band_for_prio() 116 return alink->def_band; in nfp_abm_find_band_for_prio() 119 static int nfp_abm_update_band_map(struct nfp_abm_link *alink) in nfp_abm_update_band_map() argument 122 struct nfp_abm *abm = alink->abm; in nfp_abm_update_band_map() 125 alink->has_prio = !list_empty(&alink->dscp_map); in nfp_abm_update_band_map() 139 word = &alink->prio_map[i / prios_per_word]; in nfp_abm_update_band_map() 142 band = nfp_abm_find_band_for_prio(alink, i << base_shift); in nfp_abm_update_band_map() 149 nfp_abm_qdisc_offload_update(alink); in nfp_abm_update_band_map() 151 return nfp_abm_ctrl_prio_map_update(alink, alink->prio_map); in nfp_abm_update_band_map() [all …]
|
D | main.h | 240 void nfp_abm_qdisc_offload_update(struct nfp_abm_link *alink); 241 int nfp_abm_setup_root(struct net_device *netdev, struct nfp_abm_link *alink, 243 int nfp_abm_setup_tc_red(struct net_device *netdev, struct nfp_abm_link *alink, 245 int nfp_abm_setup_tc_mq(struct net_device *netdev, struct nfp_abm_link *alink, 247 int nfp_abm_setup_tc_gred(struct net_device *netdev, struct nfp_abm_link *alink, 252 int nfp_abm_ctrl_read_params(struct nfp_abm_link *alink); 255 int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, 259 int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, 261 int nfp_abm_ctrl_read_q_stats(struct nfp_abm_link *alink, 264 int nfp_abm_ctrl_read_q_xstats(struct nfp_abm_link *alink, [all …]
|
/Linux-v5.4/drivers/media/rc/keymaps/ |
D | Makefile | 3 rc-alink-dtu-m.o \
|