<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2022-10-24T08:22:11Z</updated>
<entry>
<title>net: dpaa2-eth: export buffer pool info into a new debugfs file</title>
<updated>2022-10-24T08:22:11Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2022-10-18T14:18:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b1dd9bf6ead81bfb910de1df3be74e9d176cae47'/>
<id>urn:sha1:b1dd9bf6ead81bfb910de1df3be74e9d176cae47</id>
<content type='text'>
Export the allocated buffer pools, the number of buffers that they have
currently and which channels are using which BP.

The output looks like below:

Buffer pool info for eth2:
IDX        BPID      Buf count      CH#0      CH#1      CH#2      CH#3
BP#0         1           5124         x         x         x         x

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dpaa2-eth: export the CH#&lt;index&gt; in the 'ch_stats' debug file</title>
<updated>2022-10-24T08:22:11Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2022-10-18T14:18:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=96b44697e53a46856aafe6cc4a9f3708a88cc2b5'/>
<id>urn:sha1:96b44697e53a46856aafe6cc4a9f3708a88cc2b5</id>
<content type='text'>
Just give out an index for each channel that we export into the debug
file in the form of CH#&lt;index&gt;. This is purely to help corelate each
channel information from one debugfs file to another one.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: name the debugfs directory after the DPNI object</title>
<updated>2021-05-21T21:05:04Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2021-05-21T13:25:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=30f43d6f1cab2eae349a27bd8a0faa795673a97f'/>
<id>urn:sha1:30f43d6f1cab2eae349a27bd8a0faa795673a97f</id>
<content type='text'>
Name the debugfs directory after the DPNI object instead of the netdev
name since this can be changed after probe by udev rules.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Reviewed-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: Convert to DEFINE_SHOW_ATTRIBUTE</title>
<updated>2020-09-18T00:05:29Z</updated>
<author>
<name>Qinglang Miao</name>
<email>miaoqinglang@huawei.com</email>
</author>
<published>2020-09-17T12:45:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=77646b63ff2513dfe256d9dbf0929221f083369e'/>
<id>urn:sha1:77646b63ff2513dfe256d9dbf0929221f083369e</id>
<content type='text'>
Signed-off-by: Qinglang Miao &lt;miaoqinglang@huawei.com&gt;
Reviewed-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: add software counter for Tx frames converted to S/G</title>
<updated>2020-06-30T00:42:48Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2020-06-29T18:47:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4c96c0ac16e046ad3625d7b7228664ba478541a5'/>
<id>urn:sha1:4c96c0ac16e046ad3625d7b7228664ba478541a5</id>
<content type='text'>
With the previous commit, in case of insufficient SKB headroom on the Tx
path instead of reallocing the SKB we now send a S/G frame descriptor.
Export the number of occurences of this case as a per CPU counter (in
debugfs) and a total number in the ethtool statistics - "tx converted sg
frames'.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: send a scatter-gather FD instead of realloc-ing</title>
<updated>2020-06-30T00:42:48Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2020-06-29T18:47:11Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d70446ee1f406ef4c6dd299a8482dc98ef07ed0e'/>
<id>urn:sha1:d70446ee1f406ef4c6dd299a8482dc98ef07ed0e</id>
<content type='text'>
Instead of realloc-ing the skb on the Tx path when the provided headroom
is smaller than the HW requirements, create a Scatter/Gather frame
descriptor with only one entry.

Remove the '[drv] tx realloc frames' counter exposed previously through
ethtool since it is no longer used.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: trim debugfs FQ stats</title>
<updated>2020-06-25T23:03:39Z</updated>
<author>
<name>Ioana Radulescu</name>
<email>ruxandra.radulescu@nxp.com</email>
</author>
<published>2020-06-24T11:34:17Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0da1e28f97352fb8aadde4d66774373bedd50408'/>
<id>urn:sha1:0da1e28f97352fb8aadde4d66774373bedd50408</id>
<content type='text'>
With the addition of multiple traffic classes support, the number
of available frame queues grew significantly, overly inflating the
debugfs FQ statistics entry. Update it to only show the queues
which are actually in use (i.e. have a non-zero frame counter).

Signed-off-by: Ioana Radulescu &lt;ruxandra.radulescu@nxp.com&gt;
Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: Add support for Rx traffic classes</title>
<updated>2020-06-01T19:04:32Z</updated>
<author>
<name>Ioana Radulescu</name>
<email>ruxandra.radulescu@nxp.com</email>
</author>
<published>2020-05-30T21:08:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=685e39eaf4b5bf68167c799fe683e26cdc43a5ea'/>
<id>urn:sha1:685e39eaf4b5bf68167c799fe683e26cdc43a5ea</id>
<content type='text'>
The firmware reserves for each DPNI a number of RX frame queues
equal to the number of configured flows x number of configured
traffic classes.

Current driver configuration directs all incoming traffic to
FQs corresponding to TC0, leaving all other priority levels unused.

Start adding support for multiple ingress traffic classes, by
configuring the FQs associated with all priority levels, not just
TC0. All settings that are per-TC, such as those related to
hashing and flow steering, are also updated.

Signed-off-by: Ioana Radulescu &lt;ruxandra.radulescu@nxp.com&gt;
Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: Use proper division helper in dpaa2_dbg_ch_show</title>
<updated>2020-04-28T21:31:43Z</updated>
<author>
<name>Nathan Chancellor</name>
<email>natechancellor@gmail.com</email>
</author>
<published>2020-04-28T17:42:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=88fb831f773e6c51ec528eacb524f00f518f7e54'/>
<id>urn:sha1:88fb831f773e6c51ec528eacb524f00f518f7e54</id>
<content type='text'>
When building arm32 allmodconfig:

ERROR: modpost: "__aeabi_uldivmod"
[drivers/net/ethernet/freescale/dpaa2/fsl-dpaa2-eth.ko] undefined!

frames and cdan are both of type __u64 (unsigned long long) so we need
to use div64_u64 to avoid this issues.

Fixes: 460fd830dd9d ("dpaa2-eth: add channel stat to debugfs")
Link: https://github.com/ClangBuiltLinux/linux/issues/1012
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Reported-by: kernelci.org bot &lt;bot@kernelci.org&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dpaa2-eth: add channel stat to debugfs</title>
<updated>2020-04-26T03:37:22Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2020-04-24T09:33:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=460fd830dd9d68e07c4d15363fd764944090e1f8'/>
<id>urn:sha1:460fd830dd9d68e07c4d15363fd764944090e1f8</id>
<content type='text'>
Compute the average number of frames processed for each CDAN (Channel
Data Availability Notification) and export it to debugfs detailed
channel stats.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
