Searched refs:dql (Results 1 – 7 of 7) sorted by relevance
/linux/lib/ |
A D | dynamic_queue_limits.c | 18 void dql_completed(struct dql *dql, unsigned int count) in dql_completed() argument 30 limit = dql->limit; in dql_completed() 33 prev_inprogress = dql->prev_num_queued - dql->num_completed; in dql_completed() 85 POSDIFF(dql->prev_last_obj_cnt, dql->prev_ovlimit) : 0; in dql_completed() 93 dql->slack_start_time + dql->slack_hold_time)) { in dql_completed() 101 limit = clamp(limit, dql->min_limit, dql->max_limit); in dql_completed() 110 dql->prev_last_obj_cnt = dql->last_obj_cnt; in dql_completed() 116 void dql_reset(struct dql *dql) in dql_reset() argument 119 dql->limit = 0; in dql_reset() 131 void dql_init(struct dql *dql, unsigned int hold_time) in dql_init() argument [all …]
|
/linux/include/linux/ |
A D | dynamic_queue_limits.h | 43 struct dql { struct 75 static inline void dql_queued(struct dql *dql, unsigned int count) in dql_queued() argument 79 dql->last_obj_cnt = count; in dql_queued() 88 dql->num_queued += count; in dql_queued() 92 static inline int dql_avail(const struct dql *dql) in dql_avail() argument 94 return READ_ONCE(dql->adj_limit) - READ_ONCE(dql->num_queued); in dql_avail() 98 void dql_completed(struct dql *dql, unsigned int count); 101 void dql_reset(struct dql *dql); 104 void dql_init(struct dql *dql, unsigned int hold_time);
|
A D | netdevice.h | 615 struct dql dql; member 3537 dev_queue->dql.min_limit = min_limit; in netdev_queue_set_dql_min_limit() 3551 prefetchw(&dev_queue->dql.num_queued); in netdev_txq_bql_enqueue_prefetchw() 3565 prefetchw(&dev_queue->dql.limit); in netdev_txq_bql_complete_prefetchw() 3573 dql_queued(&dev_queue->dql, bytes); in netdev_tx_sent_queue() 3575 if (likely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue() 3588 if (unlikely(dql_avail(&dev_queue->dql) >= 0)) in netdev_tx_sent_queue() 3605 dql_queued(&dev_queue->dql, bytes); in __netdev_tx_sent_queue() 3642 dql_completed(&dev_queue->dql, bytes); in netdev_tx_completed_queue() 3651 if (unlikely(dql_avail(&dev_queue->dql) < 0)) in netdev_tx_completed_queue() [all …]
|
/linux/net/core/ |
A D | net-sysfs.c | 1346 struct dql *dql = &queue->dql; in bql_show_hold_time() local 1348 return sprintf(buf, "%u\n", jiffies_to_msecs(dql->slack_hold_time)); in bql_show_hold_time() 1354 struct dql *dql = &queue->dql; in bql_set_hold_time() local 1362 dql->slack_hold_time = msecs_to_jiffies(value); in bql_set_hold_time() 1374 struct dql *dql = &queue->dql; in bql_show_inflight() local 1376 return sprintf(buf, "%u\n", dql->num_queued - dql->num_completed); in bql_show_inflight() 1386 return bql_show(buf, queue->dql.FIELD); \ 1392 return bql_set(buf, len, &queue->dql.FIELD); \
|
A D | dev.c | 10173 dql_init(&queue->dql, HZ); in netdev_init_one_queue()
|
/linux/include/net/ |
A D | sch_generic.h | 249 return dql_avail(&txq->dql); in qdisc_avail_bulklimit()
|
/linux/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.c | 354 dql_avail(&netif_txq->dql), in am65_cpsw_nuss_ndo_host_tx_timeout()
|
Completed in 48 milliseconds