Lines Matching +full:frame +full:- +full:buffer
1 .. SPDX-License-Identifier: GPL-2.0
8 - Madalin Bucur <madalin.bucur@nxp.com>
9 - Camelia Groza <camelia.groza@nxp.com>
13 - DPAA Ethernet Overview
14 - DPAA Ethernet Supported SoCs
15 - Configuring DPAA Ethernet in your kernel
16 - DPAA Ethernet Frame Processing
17 - DPAA Ethernet Features
18 - DPAA IRQ Affinity and Receive Side Scaling
19 - Debugging
32 - Peripheral Access Memory Unit (PAMU) (* needed only for PPC platforms)
34 - Frame Manager (FMan)
36 - Queue Manager (QMan), Buffer Manager (BMan)
43 ------------- ---- ----------- ---- -------------
44 -Ports / Tx Rx \ ... / Tx Rx \
46 -MACs | MAC0 | | MACN |
49 --------- -------------- --- -------------- ---------
51 ---------------------------------------------------------
53 ---------------------------------------------------------
60 --------- -^- -^- -^- --- ---------
63 --------- |Dfl| |Err| |Cnf| |FQs| | |
66 --------- --- --- --- -v- ---------
69 ----------------------- --------
75 FMan DPAA Frame Manager
81 MURAM Multi-user RAM in FMan
82 FQ QMan Frame Queue
86 Tx FQs transmission frame queues
98 - P1023
99 - P2041
100 - P3041
101 - P4080
102 - P5020
103 - P5040
104 - T1023
105 - T1024
106 - T1040
107 - T1042
108 - T2080
109 - T4240
110 - B4860
113 - LS1043A
114 - LS1046A
135 DPAA Ethernet Frame Processing
139 in the dedicated interface buffer pool. The driver initializes and seeds these
143 confirmation frame queues. The driver is then responsible for freeing the
144 buffers. In order to do this properly, a backpointer is added to the buffer
145 before transmission that points to the skb. When the buffer returns to the
157 ethtool. Also, rx-flow-hash and rx-hashing was added. The addition of RSS
171 * priorities 0 to 3 - traffic class 0 (low priority)
172 * priorities 4 to 7 - traffic class 1 (medium-low priority)
173 * priorities 8 to 11 - traffic class 2 (medium-high priority)
174 * priorities 12 to 15 - traffic class 3 (high priority)
191 hardware frame queues using a hash on IP v4/v6 source and destination
192 and L4 source and destination ports, in present in the received frame.
194 received on the default Rx frame queue. The default DPAA Rx frame
197 The default frame queues have the HOLDACTIVE option set, ensuring that
199 This ensures a very low rate of frame reordering. A drawback of this
204 128 Rx frame queues that are configured to dedicated channels, in a
205 round-robin manner. The mapping of the frame queues to CPUs is now
208 of these frame queues will arrive at the same portal and will always
209 be processed by the same CPU. This ensures intra-flow order preservation
214 # ethtool -N fm1-mac9 rx-flow-hash tcp4 ""
216 To turn it back on, one needs to set rx-flow-hash for tcp4/6 or udp4/6::
218 # ethtool -N fm1-mac9 rx-flow-hash udp4 sfdn
222 going to control the rx-flow-hashing for all protocols on that interface.
229 # ethtool -K fm1-mac9 rx-hashing off
230 # ethtool -k fm1-mac9 | grep hash
231 receive-hashing: off
232 # ethtool -K fm1-mac9 rx-hashing on
234 receive-hashing: on
235 # ethtool -k fm1-mac9 | grep hash
236 receive-hashing: on
238 Please note that Rx hashing depends upon the rx-flow-hashing being on
239 for that interface - turning off rx-flow-hashing will also disable the
240 rx-hashing (without ethtool reporting it as off as that depends on the
248 - interrupt count per CPU
249 - Rx packets count per CPU
250 - Tx packets count per CPU
251 - Tx confirmed packets count per CPU
252 - Tx S/G frames count per CPU
253 - Tx error count per CPU
254 - Rx error count per CPU
255 - Rx error count per type
256 - congestion related statistics:
258 - congestion status
259 - time spent in congestion
260 - number of time the device entered congestion
261 - dropped packets count per cause
265 - the FQ IDs for each FQ type
266 /sys/devices/platform/soc/<addr>.fman/<addr>.ethernet/dpaa-ethernet.<id>/net/fm<nr>-mac<nr>/fqids
268 - the ID of the buffer pool in use
269 /sys/devices/platform/soc/<addr>.fman/<addr>.ethernet/dpaa-ethernet.<id>/net/fm<nr>-mac<nr>/bpids