Lines Matching +full:buffer +full:- +full:enable
16 DPAA2 is a hardware architecture designed for high-speeed network
18 processing Ethernet packets, queue management, buffer management,
23 DPAA2 hardware resources. The MC provides an object-based abstraction for
25 The MC uses DPAA2 hardware resources such as queues, buffer pools, and
28 The MC provides memory-mapped I/O command interfaces (MC portals)
34 +--------------------------------------+
38 +-----------------------------|--------+
44 +------------------------| mc portal |-+
46 | +- - - - - - - - - - - - -V- - -+ |
50 | +- - - - - - - - - - - - - - - -+ |
54 | --------- ------- |
55 | -queues -DPRC |
56 | -buffer pools -DPMCP |
57 | -Eth MACs/ports -DPIO |
58 | -network interface -DPNI |
59 | profiles -DPMAC |
60 | -queue portals -DPBP |
61 | -MC portals ... |
64 +--------------------------------------+
68 connect, configuration, and destroy. Fast-path operations
81 ----------------------------------
90 +---------------------------------------------------------+
93 | +-------+ +-------+ +-------+ +-------+ +-------+ |
95 | +-------+ +-------+ +-------+ +---+---+ +---+---+ |
97 | +-------+ +-------+ |
99 | +-------+ |
101 +---------------------------------------------------------+
112 +--+--------+-------+-------+-------+
133 -----------------------------------------------
135 A typical Ethernet NIC is monolithic-- the NIC device contains TX/RX
136 queuing mechanisms, configuration mechanisms, buffer management,
149 +---+---+ +---+---+
151 +---+---+ +---+---+
153 +---+---+ +---+---+
155 +---+---+ +---+---+
159 +---+---+
160 DPNI --- DPBP,DPMCP
161 +---+---+
164 +---+---+
166 +---+---+
180 - MMIO regions: none
181 - IRQs: DPNI link change
182 - commands: set link up/down, link config, get stats,
183 IRQ config, enable, reset
186 Contains TX/RX queues, network interface configuration, and RX buffer pool
190 - MMIO regions: none
191 - IRQs: link state
192 - commands: port config, offload config, queue config,
193 parse/classify config, IRQ config, enable, reset
198 packets and do hardware buffer pool management operations. The DPAA2
207 - MMIO regions: queue operations, buffer management
208 - IRQs: data availability, congestion notification, buffer
210 - commands: IRQ config, enable, reset
212 DPBP (Datapath Buffer Pool)
214 Represents a hardware buffer pool.
216 - MMIO regions: none
217 - IRQs: none
218 - commands: enable, reset
226 - MMIO regions: MC command portal
227 - IRQs: command completion
228 - commands: IRQ config, enable, reset
235 - DPNI <--> DPMAC
236 - DPNI <--> DPNI
237 - DPNI <--> L2-switch-port
245 +-------+ +-------+
247 +---+---+ +---+---+
251 - DPNI <--> DPBP
253 A network interface requires a 'buffer pool' (DPBP
263 generated by devices will normally have 3 components--
264 1) a non-spoofable 'device-id' expressed on the hardware
268 same container/DPRC share the same 'device-id'.
269 For ARM-based SoC this is the same as the stream ID.
276 DPAA2-- 1) the bus driver and associated "DPAA2 infrastructure"
280 types of DPAA2 objects. It is functionally similar to a plug-and-play
289 +------------+
292 +------------+ +------------+
295 +-.----------+ +---+---+----+
299 +-------------+ . | |
300 | DPRC driver | . +---+---V----+ +---------+
302 +----------+--+ | (DPIO) | | (DPMAC) |
303 | +------+-----+ +-----+---+
306 +--------+----------+ | +--+---+
307 | MC-bus driver | | | PHY |
309 | /bus/fsl-mc | | +--+---+
310 +-------------------+ | |
315 DPNI---DPBP |
319 PHY ---------------+
324 MC-bus driver
325 -------------
326 The MC-bus driver is a platform driver and is probed from a
327 node in the device tree (compatible "fsl,qoriq-mc") passed in by boot
332 - registering a new bus type named "fsl-mc" with the kernel,
333 and implementing bus call-backs (e.g. match/uevent/dev_groups)
334 - implementing APIs for DPAA2 driver registration and for device
336 - creates an MSI IRQ domain
337 - doing a 'device add' to expose the 'root' DPRC, in turn triggering
340 The binding for the MC-bus device-tree node can be consulted at
341 *Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt*.
342 The sysfs bind/unbind interfaces for the MC-bus can be consulted at
343 *Documentation/ABI/testing/sysfs-bus-fsl-mc*.
346 -----------
350 re-scanning the DPRC.
353 ---------
358 - DPMCPs to send MC commands, to configure network interfaces
359 - DPBPs for network buffer pools
367 -----------
373 - data availability notifications
374 - hardware queuing operations (enqueue and dequeue of data)
375 - hardware buffer pool management
386 active in the kernel-- Ethernet, crypto, compression,
390 ---------------
397 ----------
398 An Ethernet PHY is an off-chip, board specific component and is managed