<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/microsoft, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-12-09T15:58:41Z</updated>
<entry>
<title>net: mana: Fix memory leak in mana_hwc_create_wq</title>
<updated>2021-12-09T15:58:41Z</updated>
<author>
<name>José Expósito</name>
</author>
<published>2021-12-08T22:37:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9acfc57fa2b8944ed079cedbf846823ea32b8a31'/>
<id>urn:sha1:9acfc57fa2b8944ed079cedbf846823ea32b8a31</id>
<content type='text'>
If allocating the DMA buffer fails, mana_hwc_destroy_wq was called
without previously storing the pointer to the queue.

In order to avoid leaking the pointer to the queue, store it as soon as
it is allocated.

Addresses-Coverity-ID: 1484720 ("Resource leak")
Signed-off-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Reviewed-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Link: https://lore.kernel.org/r/20211208223723.18520-1-jose.exposito89@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: mana: Fix spelling mistake "calledd" -&gt; "called"</title>
<updated>2021-11-10T03:16:55Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2021-11-08T20:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f1bc38bbb516826ede8c96cb73a884221f1a314'/>
<id>urn:sha1:8f1bc38bbb516826ede8c96cb73a884221f1a314</id>
<content type='text'>
There is a spelling mistake in a dev_info message. Fix it.

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Reviewed-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Link: https://lore.kernel.org/r/20211108201817.43121-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: mana: Support hibernation and kexec</title>
<updated>2021-11-01T13:21:49Z</updated>
<author>
<name>Dexuan Cui</name>
</author>
<published>2021-10-30T00:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=635096a86edb067d55a1e04b4a918f5c6dac0c51'/>
<id>urn:sha1:635096a86edb067d55a1e04b4a918f5c6dac0c51</id>
<content type='text'>
Implement the suspend/resume/shutdown callbacks for hibernation/kexec.

Add mana_gd_setup() and mana_gd_cleanup() for some common code, and
use them in the mand_gd_* callbacks.

Reuse mana_probe/remove() for the hibernation path.

Signed-off-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: mana: Improve the HWC error handling</title>
<updated>2021-11-01T13:21:49Z</updated>
<author>
<name>Dexuan Cui</name>
</author>
<published>2021-10-30T00:54:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62ea8b77ed3b7086561765df0226ebc7bb442020'/>
<id>urn:sha1:62ea8b77ed3b7086561765df0226ebc7bb442020</id>
<content type='text'>
Currently when the HWC creation fails, the error handling is flawed,
e.g. if mana_hwc_create_channel() -&gt; mana_hwc_establish_channel() fails,
the resources acquired in mana_hwc_init_queues() is not released.

Enhance mana_hwc_destroy_channel() to do the proper cleanup work and
call it accordingly.

Signed-off-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: mana: Report OS info to the PF driver</title>
<updated>2021-11-01T13:21:49Z</updated>
<author>
<name>Dexuan Cui</name>
</author>
<published>2021-10-30T00:54:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c37f3573508937475d62396149df93ec24e71eb'/>
<id>urn:sha1:3c37f3573508937475d62396149df93ec24e71eb</id>
<content type='text'>
The PF driver might use the OS info for statistical purposes.

Signed-off-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: mana: Fix the netdev_err()'s vPort argument in mana_init_port()</title>
<updated>2021-11-01T13:21:49Z</updated>
<author>
<name>Dexuan Cui</name>
</author>
<published>2021-10-30T00:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c7ea69653e4e5f5faf800cbf51d2285de12e17f'/>
<id>urn:sha1:6c7ea69653e4e5f5faf800cbf51d2285de12e17f</id>
<content type='text'>
Use the correct port index rather than 0.

Signed-off-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: mana: Allow setting the number of queues while the NIC is down</title>
<updated>2021-10-26T13:56:19Z</updated>
<author>
<name>Haiyang Zhang</name>
</author>
<published>2021-10-25T18:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a137c069fbc1972bdaf2dd6c75083cd2f3e6e3d7'/>
<id>urn:sha1:a137c069fbc1972bdaf2dd6c75083cd2f3e6e3d7</id>
<content type='text'>
The existing code doesn't allow setting the number of queues while the
NIC is down.

Update the ethtool handler functions to support setting the number of
queues while the NIC is at down state.

Signed-off-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2021-10-14T23:50:14Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2021-10-14T23:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e15f5972b8031f9069f41e24adff63bd34463b3a'/>
<id>urn:sha1:e15f5972b8031f9069f41e24adff63bd34463b3a</id>
<content type='text'>
tools/testing/selftests/net/ioam6.sh
  7b1700e009cc ("selftests: net: modify IOAM tests for undef bits")
  bf77b1400a56 ("selftests: net: Test for the IOAM encapsulation with IPv6")

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: mana: Fix error handling in mana_create_rxq()</title>
<updated>2021-10-09T00:00:04Z</updated>
<author>
<name>Haiyang Zhang</name>
</author>
<published>2021-10-08T13:11:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be0499369d6376e70b5b80bbced94c0c32d508b1'/>
<id>urn:sha1:be0499369d6376e70b5b80bbced94c0c32d508b1</id>
<content type='text'>
Fix error handling in mana_create_rxq() when
cq-&gt;gdma_id &gt;= gc-&gt;max_num_cqs.

Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)")
Signed-off-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Link: https://lore.kernel.org/r/1633698691-31721-1-git-send-email-haiyangz@microsoft.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: mana: Use kcalloc() instead of kzalloc()</title>
<updated>2021-10-07T16:08:24Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2021-10-06T18:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=149ef7b2f949627bf3f1381d6a976f136a1887f5'/>
<id>urn:sha1:149ef7b2f949627bf3f1381d6a976f136a1887f5</id>
<content type='text'>
Use 2-factor multiplication argument form kcalloc() instead
of kzalloc().

Link: https://github.com/KSPP/linux/issues/162
Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Reviewed-by: Dexuan Cui &lt;decui@microsoft.com&gt;
Link: https://lore.kernel.org/r/20211006180927.GA913456@embeddedor
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
