Home
last modified time | relevance | path

Searched full:queues (Results 1 – 25 of 1355) sorted by relevance

12345678910>>...55

/linux/tools/testing/selftests/drivers/net/
H A Dqueues.py16 folders = glob.glob(f'/sys/class/net/{ifname}/queues/{qtype}-*')
21 queues = nl.queue_get({'ifindex': cfg.ifindex}, dump=True)
22 if queues:
23 return len([q for q in queues if q['type'] == qtype])
40 queues = nl.queue_get({'ifindex': cfg.ifindex}, dump=True)
41 if not queues:
42 raise KsftSkipEx("Netlink reports no queues")
44 for q in queues:
65 queues = nl_get_queues(cfg, snl, qtype)
66 if not queues
[all...]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_context.c162 * pvr_context_destroy_queues() - Destroy all queues attached to a context.
163 * @ctx: Context to destroy queues on.
168 * It releases all resources attached to the queues bound to this context.
174 pvr_queue_destroy(ctx->queues.fragment, cleanup_queue_entity); in pvr_context_destroy_queues()
175 pvr_queue_destroy(ctx->queues.geometry, cleanup_queue_entity); in pvr_context_destroy_queues()
178 pvr_queue_destroy(ctx->queues.compute, cleanup_queue_entity); in pvr_context_destroy_queues()
181 pvr_queue_destroy(ctx->queues.transfer, cleanup_queue_entity); in pvr_context_destroy_queues()
187 * pvr_context_create_queues() - Create all queues attached to a context.
188 * @ctx: Context to create queues on.
204 ctx->queues.geometry = pvr_queue_create(ctx, DRM_PVR_JOB_TYPE_GEOMETRY, in pvr_context_create_queues()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/huawei/
H A Dhinic.rst55 Asynchronous Event Queues(AEQs) - The event queues for receiving messages from
69 Completion Event Queues(CEQs) - The completion Event Queues that describe IO
72 Work Queues(WQ) - Contain the memory and operations for use by CMD queues and
77 Command Queues(CMDQ) - The queues for sending commands for IO management and is
82 Queue Pairs(QPs) - The HW Receive and Send queues for Receiving and Transmitting
104 Tx Queues - Logical Tx Queues that use the HW Send Queues for transmit.
108 Rx Queues - Logical Rx Queues that use the HW Receive Queues for receive.
112 hinic_dev - de/constructs the Logical Tx and Rx Queues.
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-queues1 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_cpus
11 What: /sys/class/net/<iface>/queues/rx-<queue>/rps_flow_cnt
19 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_timeout
27 What: /sys/class/net/<iface>/queues/tx-<queue>/tx_maxrate
35 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_cpus
45 What: /sys/class/net/<iface>/queues/tx-<queue>/xps_rxqs
56 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time
65 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/inflight
73 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit
82 What: /sys/class/net/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max
[all …]
/linux/net/sched/
H A Dsch_multiq.c25 struct Qdisc **queues; member
54 return q->queues[0]; in multiq_classify()
56 return q->queues[band]; in multiq_classify()
105 qdisc = q->queues[q->curband]; in multiq_dequeue()
137 qdisc = q->queues[curband]; in multiq_peek()
154 qdisc_reset(q->queues[band]); in multiq_reset()
166 qdisc_put(q->queues[band]); in multiq_destroy()
168 kfree(q->queues); in multiq_destroy()
196 if (q->queues[i] != &noop_qdisc) { in multiq_tune()
197 struct Qdisc *child = q->queues[i]; in multiq_tune()
[all …]
H A Dsch_prio.c26 struct Qdisc *queues[TCQ_PRIO_BANDS]; member
57 return q->queues[q->prio2band[band & TC_PRIO_MAX]]; in prio_classify()
63 return q->queues[q->prio2band[0]]; in prio_classify()
65 return q->queues[band]; in prio_classify()
103 struct Qdisc *qdisc = q->queues[prio]; in prio_peek()
117 struct Qdisc *qdisc = q->queues[prio]; in prio_dequeue()
137 qdisc_reset(q->queues[prio]); in prio_reset()
173 qdisc_put(q->queues[prio]); in prio_destroy()
180 struct Qdisc *queues[TCQ_PRIO_BANDS]; in prio_tune() local
198 queues[i] = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, in prio_tune()
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-qmss.txt9 management of the packet queues. Packets are queued/de-queued by writing or
32 -- managed-queues : the actual queues managed by each queue manager
33 instance, specified as <"base queue #" "# of queues">.
51 - qpend : pool of qpend(interruptible) queues
52 - general-purpose : pool of general queues, primarily used
53 as free descriptor queues or the
54 transmit DMA queues.
55 - accumulator : pool of queues on PDSP accumulator channel
57 -- qrange : number of queues to use per queue range, specified as
58 <"base queue #" "# of queues">.
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtoeplitz.py24 # Cap Rx queues so IRQ pinning leaves free CPUs in the RPS_MAX_CPUS range
31 for rps_file in glob.glob(f"/sys/class/net/{cfg.ifname}/queues/rx-*/rps_cpus"):
74 Read the list of IRQs for the device Rx queues.
76 queues = cfg.netnl.queue_get({"ifindex": cfg.ifindex}, dump=True)
81 queues = {f"{q['type']}{q['id']}": q for q in queues}
86 if name not in queues:
88 cpus.append(_get_cpu_for_irq(napis[queues[name]["napi-id"]]["irq"]))
95 Get CPUs that are not used by Rx queues for RPS.
100 # Get CPUs used by Rx queues
110 …x(f"Need at least {count} CPUs in range 0..{num_cpus - 1} not used by Rx queues, found {len(unused…
[all …]
H A Drss_ctx.py74 # Get Rx packet counts for all queues, as a simple list of integers
91 # - "target": required, which queues we expect to get iperf traffic
92 # - "empty": optional, which queues should see no traffic at all
93 # - "noise": optional, which queues we expect to see low traffic;
94 # used for queues of the main context, since some background
95 # OS activity may use those queues while we're testing
107 f"traffic on other queues ({name})':" + str(cnts))
110 f"traffic on inactive queues ({name}): " + str(cnts))
125 raise KsftSkipEx("Device has fewer than 3 queues (or doesn't support queue stats)")
169 # Check we only get traffic on the first 2 queues
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Dqueue.c233 struct wfx_queue *queues[IEEE80211_NUM_ACS * ARRAY_SIZE(wdev->vif)]; in wfx_tx_queues_get_skb() local
239 /* sort the queues */ in wfx_tx_queues_get_skb()
243 WARN_ON(num_queues >= ARRAY_SIZE(queues)); in wfx_tx_queues_get_skb()
244 queues[num_queues] = &wvif->tx_queue[i]; in wfx_tx_queues_get_skb()
246 if (wfx_tx_queue_get_weight(queues[j]) < in wfx_tx_queues_get_skb()
247 wfx_tx_queue_get_weight(queues[j - 1])) in wfx_tx_queues_get_skb()
248 swap(queues[j - 1], queues[j]); in wfx_tx_queues_get_skb()
256 skb = skb_dequeue(&queues[i]->offchan); in wfx_tx_queues_get_skb()
264 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
265 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()
[all …]
/linux/drivers/net/
H A Dntb_netdev.c46 struct ntb_netdev_queue *queues; member
61 if (ntb_transport_link_query(dev->queues[i].qp)) { in ntb_netdev_update_carrier()
257 q = &dev->queues[qid]; in ntb_netdev_start_xmit()
308 queue = &dev->queues[q]; in ntb_netdev_open()
321 ntb_transport_link_up(dev->queues[q].qp); in ntb_netdev_open()
327 queue = &dev->queues[q]; in ntb_netdev_open()
343 queue = &dev->queues[q]; in ntb_netdev_close()
361 if (new_mtu > ntb_transport_max_size(dev->queues[0].qp) - ETH_HLEN) in ntb_netdev_change_mtu()
371 ntb_transport_link_down(dev->queues[q].qp); in ntb_netdev_change_mtu()
375 queue = &dev->queues[q]; in ntb_netdev_change_mtu()
[all …]
/linux/Documentation/block/
H A Dblk-mq.rst37 spawns multiple queues with individual entry points local to the CPU, removing
49 blk-mq has two group of queues: software staging queues and hardware dispatch
50 queues. When the request arrives at the block layer, it will try the shortest
56 Then, after the requests are processed by software queues, they will be placed
62 Software staging queues
65 The block IO subsystem adds requests in the software staging queues
71 the number of queues is defined by a per-CPU or per-node basis.
93 requests from different queues, otherwise there would be cache trashing and a
99 queue (a.k.a. run the hardware queue), the software queues mapped to that
102 Hardware dispatch queues
[all …]
/linux/drivers/scsi/aacraid/
H A Dcomminit.c237 * Fill in addresses of the Comm Area Headers and Queues in aac_alloc_comm()
373 struct aac_entry * queues; in aac_comm_init() local
375 struct aac_queue_block * comm = dev->queues; in aac_comm_init()
394 queues = (struct aac_entry *)(((ulong)headers) + hdrsize); in aac_comm_init()
397 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
399 queues += HOST_NORM_CMD_ENTRIES; in aac_comm_init()
403 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
406 queues += HOST_HIGH_CMD_ENTRIES; in aac_comm_init()
410 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
413 queues += ADAP_NORM_CMD_ENTRIES; in aac_comm_init()
[all …]
/linux/drivers/scsi/snic/
H A Dvnic_resource.h13 RES_TYPE_WQ, /* Work queues */
14 RES_TYPE_RQ, /* Receive queues */
15 RES_TYPE_CQ, /* Completion queues */
31 RES_TYPE_MQ_WQ, /* MQ Work queues */
32 RES_TYPE_MQ_RQ, /* MQ Receive queues */
33 RES_TYPE_MQ_CQ, /* MQ Completion queues */
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dtaprio.json4 "name": "Add taprio Qdisc to multi-queue device (8 queues)",
15 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
37 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
59 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
80 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
104 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
126 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
148 …"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 2 queues 1@0 1@1 sched-entry …
170 …"cmdUnderTest": "$TC qdisc add dev $ETH root handle 1: taprio num_tc 2 queues 1@0 1@1 sched-entry …
191 … $ETH root handle 1: taprio num_tc 3 map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@0 1@0 base-t…
[all …]
/linux/drivers/scsi/fnic/
H A Dvnic_resource.h15 RES_TYPE_WQ, /* Work queues */
16 RES_TYPE_RQ, /* Receive queues */
17 RES_TYPE_CQ, /* Completion queues */
33 RES_TYPE_MQ_WQ, /* MQ Work queues */
34 RES_TYPE_MQ_RQ, /* MQ Receive queues */
35 RES_TYPE_MQ_CQ, /* MQ Completion queues */
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf.h181 * @max_rxq: Maximum number of RX queues supported
182 * @max_txq: Maixmum number of TX queues supported
183 * @max_bufq: In splitq, maximum number of buffer queues supported
184 * @max_complq: In splitq, maximum number of completion queues supported
251 * @IDPF_VPORT_DEL_QUEUES: To send delete queues message
300 * @noirq_dyn_ctl: register to enable/disable the vector for NOIRQ queues
305 * @num_txq: number of allocated TX queues
306 * @num_complq: number of allocated completion queues
309 * @num_rxq_grp: number of RX queues in a group
312 * group will yield total number of RX queues.
[all …]
H A Didpf_txrx.h63 /* Data vector for NOIRQ queues */
72 * queues. E.g.: If you have two buffer queues of 512 descriptors and buffers,
75 * number of buffer queues to calculate how many descriptors each buffer queue
270 * @__IDPF_Q_GEN_CHK: Queues operating in splitq mode use a generation bit to
281 * @__IDPF_Q_RFL_GEN_CHK: Refill queues are SW only, so Q_GEN acts as the HW
369 * @num_rxq: Number of RX queues
370 * @num_txq: Number of TX queues
371 * @num_bufq: Number of buffer queues
372 * @num_complq: number of completion queues
373 * @num_xsksq: number of XSk send queues
[all …]
/linux/tools/perf/util/
H A Dpowerpc-vpadtl.c26 struct auxtrace_queues queues;
215 struct auxtrace_queues *queues = &vpaq->vpa->queues; in powerpc_vpadtl_get_buffer()
218 queue = &queues->queue_array[vpaq->queue_nr]; in powerpc_vpadtl_get_buffer()
390 queue = &vpa->queues.queue_array[queue_nr]; in powerpc_vpadtl_process_queues()
442 * increasing order of timestamp. Allocate and setup auxtrace queues here.
443 * All auxtrace queues is maintained in auxtrace heap in the increasing order
494 for (i = 0; i < vpa->queues.nr_queues; i++) { in powerpc_vpadtl__setup_queues()
495 ret = powerpc_vpadtl__setup_queue(vpa, &vpa->queues.queue_array[i], i); in powerpc_vpadtl__setup_queues()
505 if (vpa->queues in powerpc_vpadtl__update_queues()
25 struct auxtrace_queues queues; global() member
212 struct auxtrace_queues *queues = &vpaq->vpa->queues; powerpc_vpadtl_get_buffer() local
585 struct auxtrace_queues *queues = &vpa->queues; powerpc_vpadtl_free_events() local
[all...]
/linux/block/
H A Dblk-mq-cpumap.c30 * blk_mq_num_possible_queues - Calc nr of queues for multiqueue devices
31 * @max_queues: The maximum number of queues the hardware/driver
35 * Calculates the number of queues to be used for a multiqueue
45 * blk_mq_num_online_queues - Calc nr of queues for multiqueue devices
46 * @max_queues: The maximum number of queues the hardware/driver
50 * Calculates the number of queues to be used for a multiqueue
102 * @dev: The device to map queues
/linux/Documentation/networking/device_drivers/ethernet/google/
H A Dgve.rst47 - Transmit and Receive Queues
109 The handler for the management irq simply queues the service task in
115 the queues associated with that interrupt.
118 and poll the queues.
120 GQI Traffic Queues
122 GQI queues are composed of a descriptor ring and a buffer and are assigned to a
145 DQO Traffic Queues
149 - TX and RX buffers queues, which send descriptors to the device, use MMIO
152 - RX and TX completion queues, which receive descriptors from the device, use a
160 queues are not overrun. This can be accomplished by limiting the number of
[all …]
/linux/include/linux/net/intel/
H A Dvirtchnl2.h108 * In the split queue model, hardware uses transmit completion queues to post
110 * descriptor queues to post descriptors to hardware.
112 * queue, while software uses receive buffer queues to post buffers to hardware.
495 * @max_rx_q: Maximum number of supported Rx queues.
496 * @max_tx_q: Maximum number of supported Tx queues.
497 * @max_rx_bufq: Maximum number of supported buffer queues.
498 * @max_tx_complq: Maximum number of supported completion queues.
572 * @num_queues: Number of queues in the chunk.
591 * queues.
625 * @num_tx_q: Number of Tx queues.
[all …]
/linux/Documentation/networking/
H A Dtc-queue-filters.rst7 TC can be used for directing traffic to either a set of queues or
12 1) TC filter directing traffic to a set of queues is achieved
14 the priority maps to a traffic class (set of queues) when
23 queues and/or a single queue are supported as below:
25 1) TC flower filter directs incoming traffic to a set of queues using
/linux/Documentation/devicetree/bindings/misc/
H A Dintel,ixp4xx-ahb-queue-manager.yaml14 The IXP4xx AHB Queue Manager maintains queues as circular buffers in
17 IXP4xx for accelerating queues, especially for networking. Clients pick
18 queues from the queue manager with foo-queue = <&qmgr N> where the
33 - description: Interrupt for queues 0-31
34 - description: Interrupt for queues 32-63
/linux/sound/virtio/
H A Dvirtio_card.h47 * @queues: Virtqueue wrappers.
64 struct virtio_snd_queue queues[VIRTIO_SND_VQ_MAX]; member
86 return &snd->queues[VIRTIO_SND_VQ_CONTROL]; in virtsnd_control_queue()
92 return &snd->queues[VIRTIO_SND_VQ_EVENT]; in virtsnd_event_queue()
98 return &snd->queues[VIRTIO_SND_VQ_TX]; in virtsnd_tx_queue()
104 return &snd->queues[VIRTIO_SND_VQ_RX]; in virtsnd_rx_queue()

12345678910>>...55