<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/sfc, branch linux-5.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-05-14T08:50:14Z</updated>
<entry>
<title>sfc: ef10: fix TX queue lookup in TX event handling</title>
<updated>2021-05-14T08:50:14Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2021-04-20T12:29:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c18bc9f35c416160d421a56970f2b61a0a33eb3'/>
<id>urn:sha1:2c18bc9f35c416160d421a56970f2b61a0a33eb3</id>
<content type='text'>
[ Upstream commit 172e269edfce34bac7c61c15551816bda4b0f140 ]

We're starting from a TXQ label, not a TXQ type, so
 efx_channel_get_tx_queue() is inappropriate.  This worked by chance,
 because labels and types currently match on EF10, but we shouldn't
 rely on that.

Fixes: 12804793b17c ("sfc: decouple TXQ type from label")
Signed-off-by: Edward Cree &lt;ecree.xilinx@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>sfc: farch: fix TX queue lookup in TX event handling</title>
<updated>2021-05-12T06:37:35Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2021-04-20T12:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35c7a83ad1bb1d48ae249346e61b1132bcbf9052'/>
<id>urn:sha1:35c7a83ad1bb1d48ae249346e61b1132bcbf9052</id>
<content type='text'>
commit 83b09a1807415608b387c7bc748d329fefc5617e upstream.

We're starting from a TXQ label, not a TXQ type, so
 efx_channel_get_tx_queue() is inappropriate (and could return NULL,
 leading to panics).

Fixes: 12804793b17c ("sfc: decouple TXQ type from label")
Cc: stable@vger.kernel.org
Signed-off-by: Edward Cree &lt;ecree.xilinx@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sfc: farch: fix TX queue lookup in TX flush done handling</title>
<updated>2021-05-12T06:37:35Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2021-04-20T12:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1570985ec04116cc665b760faf666a104154170'/>
<id>urn:sha1:a1570985ec04116cc665b760faf666a104154170</id>
<content type='text'>
commit 5b1faa92289b53cad654123ed2bc8e10f6ddd4ac upstream.

We're starting from a TXQ instance number ('qid'), not a TXQ type, so
 efx_get_tx_queue() is inappropriate (and could return NULL, leading
 to panics).

Fixes: 12804793b17c ("sfc: decouple TXQ type from label")
Reported-by: Trevor Hemsley &lt;themsley@voiceflex.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Edward Cree &lt;ecree.xilinx@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>xsk: Propagate napi_id to XDP socket Rx path</title>
<updated>2020-11-30T23:09:25Z</updated>
<author>
<name>Björn Töpel</name>
</author>
<published>2020-11-30T18:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b02e5a0ebb172c8276cea3151942aac681f7a4a6'/>
<id>urn:sha1:b02e5a0ebb172c8276cea3151942aac681f7a4a6</id>
<content type='text'>
Add napi_id to the xdp_rxq_info structure, and make sure the XDP
socket pick up the napi_id in the Rx path. The napi_id is used to find
the corresponding NAPI structure for socket busy polling.

Signed-off-by: Björn Töpel &lt;bjorn.topel@intel.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Acked-by: Tariq Toukan &lt;tariqt@nvidia.com&gt;
Link: https://lore.kernel.org/bpf/20201130185205.196029-7-bjorn.topel@gmail.com
</content>
</entry>
<entry>
<title>sfc: support GRE TSO on EF100</title>
<updated>2020-11-13T23:33:30Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-11-12T15:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5122cf584128f9d42655189e69fda7151c1f275'/>
<id>urn:sha1:c5122cf584128f9d42655189e69fda7151c1f275</id>
<content type='text'>
We can treat SKB_GSO_GRE almost exactly the same as UDP tunnels, except
 that we don't want to edit the outer UDP len (as there isn't one).
For SKB_GSO_GRE_CSUM, we have to use GSO_PARTIAL as the device doesn't
 support offload of non-UDP outer L4 checksums.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Martin Habets &lt;mhabets@solarflare.com&gt;
Reviewed-by: Alexander Duyck &lt;alexanderduyck@fb.com&gt;
</content>
</entry>
<entry>
<title>sfc: correctly support non-partial GSO_UDP_TUNNEL_CSUM on EF100</title>
<updated>2020-11-13T23:33:27Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-11-12T15:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42bfd69a9fdd84b6b99324e745c4817878bbe0b7'/>
<id>urn:sha1:42bfd69a9fdd84b6b99324e745c4817878bbe0b7</id>
<content type='text'>
By asking the HW for the correct edits, we can make UDP tunnel TSO
 work without needing GSO_PARTIAL.  So don't specify it in our
 netdev-&gt;gso_partial_features.
However, retain GSO_PARTIAL support, as this will be used for other
 protocols later.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Martin Habets &lt;mhabets@solarflare.com&gt;
Reviewed-by: Alexander Duyck &lt;alexanderduyck@fb.com&gt;
</content>
</entry>
<entry>
<title>sfc: extend bitfield macros to 19 fields</title>
<updated>2020-11-13T23:33:03Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-11-12T15:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc8d2512e697f1f4d07b4722a5ca3b1bc84759e2'/>
<id>urn:sha1:dc8d2512e697f1f4d07b4722a5ca3b1bc84759e2</id>
<content type='text'>
Our TSO descriptors got even more fussy.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Martin Habets &lt;mhabets@solarflare.com&gt;
Reviewed-by: Alexander Duyck &lt;alexanderduyck@fb.com&gt;
</content>
</entry>
<entry>
<title>sfc: advertise our vlan features</title>
<updated>2020-10-31T00:42:53Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-10-28T20:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b61e8100dcfc79c65aeb78122f98b2b6f4bbeb08'/>
<id>urn:sha1:b61e8100dcfc79c65aeb78122f98b2b6f4bbeb08</id>
<content type='text'>
Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>sfc: only use fixed-id if the skb asks for it</title>
<updated>2020-10-31T00:42:53Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-10-28T20:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dbe2f251f9eb2158d2c9ec22cc22cc2fc66370e1'/>
<id>urn:sha1:dbe2f251f9eb2158d2c9ec22cc22cc2fc66370e1</id>
<content type='text'>
AIUI, the NETIF_F_TSO_MANGLEID flag is a signal to the stack that a
 driver may _need_ to mangle IDs in order to do TSO, and conversely
 a signal from the stack that the driver is permitted to do so.
Since we support both fixed and incrementing IPIDs, we should rely
 on the SKB_GSO_FIXEDID flag on a per-skb basis, rather than using
 the MANGLEID feature to make all TSOs fixed-id.
Includes other minor cleanups of ef100_make_tso_desc() coding style.

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>sfc: implement encap TSO on EF100</title>
<updated>2020-10-31T00:42:53Z</updated>
<author>
<name>Edward Cree</name>
</author>
<published>2020-10-28T20:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=806f9f23b6732de81daf3aafae5363bb56d29ed6'/>
<id>urn:sha1:806f9f23b6732de81daf3aafae5363bb56d29ed6</id>
<content type='text'>
The NIC only needs to know where the headers it has to edit (TCP and
 inner and outer IPv4) are, which fits GSO_PARTIAL nicely.
It also supports non-PARTIAL offload of UDP tunnels, again just
 needing to be told the outer transport offset so that it can edit
 the UDP length field.
(It's not clear to me whether the stack will ever use the non-PARTIAL
 version with the netdev feature flags we're setting here.)

Signed-off-by: Edward Cree &lt;ecree@solarflare.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
