Searched refs:dql (Results 1 - 6 of 6) sorted by relevance

/linux-master/include/linux/
H A Ddynamic_queue_limits.h3 * Dynamic queue limits (dql) - Definitions
7 * This header file contains the definitions for dynamic queue limits (dql).
8 * dql would be used in conjunction with a producer/consumer type queue
19 * The goal of dql is to calculate the limit as the minimum number of objects
22 * The primary functions of dql are:
29 * The dql implementation does not implement any locking for the dql data
45 #define DQL_HIST_ENT(dql, idx) ((dql)->history[(idx) % DQL_HIST_LEN])
47 struct dql { struct
90 dql_queued(struct dql *dql, unsigned int count) argument
137 dql_avail(const struct dql *dql) argument
[all...]
H A Dnetdevice.h678 struct dql dql; member in struct:netdev_queue
3405 * netdev_queue_set_dql_min_limit - set dql minimum limit
3407 * @min_limit: dql minimum limit
3418 dev_queue->dql.min_limit = min_limit;
3426 return dql_avail(&txq->dql);
3442 prefetchw(&dev_queue->dql.num_queued);
3456 prefetchw(&dev_queue->dql.limit);
3474 dql_queued(&dev_queue->dql, bytes);
3476 if (likely(dql_avail(&dev_queue->dql) >
[all...]
/linux-master/lib/
H A Ddynamic_queue_limits.c18 static void dql_check_stall(struct dql *dql) argument
23 stall_thrs = READ_ONCE(dql->stall_thrs);
29 if (time_after_eq(now, dql->last_reap + stall_thrs)) {
37 hist_head = READ_ONCE(dql->history_head);
47 if (time_before(start, dql->last_reap + 1))
48 start = dql->last_reap + 1;
62 dql->history))
70 if (hist_head != READ_ONCE(dql->history_head))
73 dql
85 dql_completed(struct dql *dql, unsigned int count) argument
185 dql_reset(struct dql *dql) argument
204 dql_init(struct dql *dql, unsigned int hold_time) argument
[all...]
/linux-master/net/core/
H A Dnet-sysfs.c1393 struct dql *dql = &queue->dql; local
1395 return sysfs_emit(buf, "%u\n", jiffies_to_msecs(dql->slack_hold_time));
1401 struct dql *dql = &queue->dql; local
1409 dql->slack_hold_time = msecs_to_jiffies(value);
1420 struct dql *dql local
1428 struct dql *dql = &queue->dql; local
1469 struct dql *dql = &queue->dql; local
1480 struct dql *dql = &queue->dql; local
[all...]
H A Ddev.c10077 dql_init(&queue->dql, HZ);
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c2784 struct dql *dql = &q->dql; local
2787 dql->last_obj_cnt, dql->num_queued,
2788 dql->adj_limit, dql->num_completed);

Completed in 165 milliseconds