<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/sfc/rx_common.h, branch linux-6.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.18.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2024-06-29T01:53:21Z</updated>
<entry>
<title>sfc: use new rxfh_context API</title>
<updated>2024-06-29T01:53:21Z</updated>
<author>
<name>Edward Cree</name>
<email>ecree.xilinx@gmail.com</email>
</author>
<published>2024-06-27T15:33:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a9ee8d4a97d8ea0004615fe1f2c1ce6aff5c1a14'/>
<id>urn:sha1:a9ee8d4a97d8ea0004615fe1f2c1ce6aff5c1a14</id>
<content type='text'>
The core is now responsible for allocating IDs and a memory region for
 us to store our state (struct efx_rss_context_priv), so we no longer
 need efx_alloc_rss_context_entry() and friends.
Since the contexts are now maintained by the core, use the core's lock
 (net_dev-&gt;ethtool-&gt;rss_lock), rather than our own mutex (efx-&gt;rss_lock),
 to serialise access against changes; and remove the now-unused
 efx-&gt;rss_lock from struct efx_nic.

Signed-off-by: Edward Cree &lt;ecree.xilinx@gmail.com&gt;
Reviewed-by: Przemek Kitszel &lt;przemyslaw.kitszel@intel.com&gt;
Link: https://patch.msgid.link/150274740ea8cc137fef5502541ce573d32fb319.1719502240.git.ecree.xilinx@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>sfc: The size of the RX recycle ring should be more flexible</title>
<updated>2022-02-02T04:34:59Z</updated>
<author>
<name>Martin Habets</name>
<email>habetsm.xilinx@gmail.com</email>
</author>
<published>2022-01-31T11:10:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=000fe940e51f03210bd5fb1061d4d82ed9a7b1b6'/>
<id>urn:sha1:000fe940e51f03210bd5fb1061d4d82ed9a7b1b6</id>
<content type='text'>
Ideally the size would depend on the link speed, but the recycle
ring is created when the interface is brought up before the driver
knows the link speed. So size it for the maximum speed of a given NIC.
PowerPC is only supported on SFN7xxx and SFN8xxx NICs.

With this patch on a 40G NIC the number of calls to alloc_pages and
friends went down from about 18% to under 2%.
On a 10G NIC the number of calls to alloc_pages and friends went down
from about 15% to 0 (perf did not capture any calls during the 60
second test).
On a 100G NIC the number of calls to alloc_pages and friends went down
from about 23% to 4%.

Reported-by: Íñigo Huguet &lt;ihuguet@redhat.com&gt;
Signed-off-by: Martin Habets &lt;habetsm.xilinx@gmail.com&gt;
Link: https://lore.kernel.org/r/20220131111054.cp4f6foyinaarwbn@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>sfc: commonise efx_sync_rx_buffer()</title>
<updated>2020-06-30T20:09:09Z</updated>
<author>
<name>Edward Cree</name>
<email>ecree@solarflare.com</email>
</author>
<published>2020-06-30T12:11:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=80a0074e6aee3657784744ed66ca2c0cc918ecf8'/>
<id>urn:sha1:80a0074e6aee3657784744ed66ca2c0cc918ecf8</id>
<content type='text'>
The ef100 RX path will also need to DMA-sync RX buffers.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: extend common GRO interface to support CHECKSUM_COMPLETE</title>
<updated>2020-06-30T00:37:49Z</updated>
<author>
<name>Edward Cree</name>
<email>ecree@solarflare.com</email>
</author>
<published>2020-06-29T13:36:56Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4d9c0a2d64551f33638dd566bb82edb3c3cc782c'/>
<id>urn:sha1:4d9c0a2d64551f33638dd566bb82edb3c3cc782c</id>
<content type='text'>
EF100 will use CHECKSUM_COMPLETE, but will also make use of
 efx_rx_packet_gro(), thus needs to be able to pass the checksum value
 into that function.
Drivers for older NICs pass in a csum of 0 to get the old semantics (use
 the RX flags for CHECKSUM_UNNECESSARY marking).

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: commonise ARFS handling</title>
<updated>2020-06-30T00:37:49Z</updated>
<author>
<name>Edward Cree</name>
<email>ecree@solarflare.com</email>
</author>
<published>2020-06-29T13:36:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=28abe8251b118116fac85f5169effcede547f26e'/>
<id>urn:sha1:28abe8251b118116fac85f5169effcede547f26e</id>
<content type='text'>
EF100 will use the same approach to ARFS as EF10.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: move RPS code</title>
<updated>2020-01-10T19:24:37Z</updated>
<author>
<name>Alex Maftei (amaftei)</name>
<email>amaftei@solarflare.com</email>
</author>
<published>2020-01-10T13:28:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f7226e0f9b64b0454d1a5a32f2553aa677fc5400'/>
<id>urn:sha1:f7226e0f9b64b0454d1a5a32f2553aa677fc5400</id>
<content type='text'>
Includes a couple of filtering functions and also renames a constant.

Style fixes included.

Signed-off-by: Alexandru-Mihai Maftei &lt;amaftei@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: move RSS code</title>
<updated>2020-01-10T19:24:37Z</updated>
<author>
<name>Alex Maftei (amaftei)</name>
<email>amaftei@solarflare.com</email>
</author>
<published>2020-01-10T13:28:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=960f16275bdf87d7bef59e5d446d0a2913b5f24a'/>
<id>urn:sha1:960f16275bdf87d7bef59e5d446d0a2913b5f24a</id>
<content type='text'>
Style fixes included.

Signed-off-by: Alexandru-Mihai Maftei &lt;amaftei@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: move more rx code</title>
<updated>2020-01-10T19:24:37Z</updated>
<author>
<name>Alex Maftei (amaftei)</name>
<email>amaftei@solarflare.com</email>
</author>
<published>2020-01-10T13:27:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3d95b884392f0a050fb9ca3c535981a1a5334616'/>
<id>urn:sha1:3d95b884392f0a050fb9ca3c535981a1a5334616</id>
<content type='text'>
Page recycling code and GRO packet receipt code were moved.

One function contains code extracted from another.

Code style fixes included.

Signed-off-by: Alexandru-Mihai Maftei &lt;amaftei@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sfc: add new headers in preparation for code split</title>
<updated>2020-01-08T21:28:02Z</updated>
<author>
<name>Alex Maftei (amaftei)</name>
<email>amaftei@solarflare.com</email>
</author>
<published>2020-01-08T16:10:32Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e1253f391042e34de66faf7d499595c00f99a076'/>
<id>urn:sha1:e1253f391042e34de66faf7d499595c00f99a076</id>
<content type='text'>
New headers contain prototypes of functions that will be common between
ef10 and upcoming driver.
Removed static modifier from the affected functions.
Some function prototypes were removed from existing headers.

Signed-off-by: Alexandru-Mihai Maftei &lt;amaftei@solarflare.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
