<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/pensando/ionic, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-19T06:23:40Z</updated>
<entry>
<title>ionic: update eid test for overflow</title>
<updated>2020-08-19T06:23:40Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-21T20:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b97a0171da24e58b0e8e81ba2575239dcb070c2b'/>
<id>urn:sha1:b97a0171da24e58b0e8e81ba2575239dcb070c2b</id>
<content type='text'>
[ Upstream commit 3fbc9bb6ca32d12d4d32a7ae32abef67ac95f889 ]

Fix up our comparison to better handle a potential (but largely
unlikely) wrap around.

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: unlock queue mutex in error path</title>
<updated>2020-08-05T07:58:47Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-29T17:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=370a5b59dfde43e02bde05951867bc31cbbf9c93'/>
<id>urn:sha1:370a5b59dfde43e02bde05951867bc31cbbf9c93</id>
<content type='text'>
[ Upstream commit 59929fbb45e06da7d501d3a97f10a91912181f7c ]

On an error return, jump to the unlock at the end to be sure
to unlock the queue_lock mutex.

Fixes: 0925e9db4dc8 ("ionic: use mutex to protect queue operations")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Reported-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: use mutex to protect queue operations</title>
<updated>2020-07-29T08:19:45Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-20T23:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79a7ab49b1c80939d89c21e3b738642834356118'/>
<id>urn:sha1:79a7ab49b1c80939d89c21e3b738642834356118</id>
<content type='text'>
[ Upstream commit 0925e9db4dc86daf666d9a3d53c7db14ac6d5d00 ]

The ionic_wait_on_bit_lock() was a open-coded mutex knock-off
used only for protecting the queue reset operations, and there
was no reason not to use the real thing.  We can use the lock
more correctly and to better protect the queue stop and start
operations from cross threading.  We can also remove a useless
and expensive bit operation from the Rx path.

This fixes a case found where the link_status_check from a link
flap could run into an MTU change and cause a crash.

Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: keep rss hash after fw update</title>
<updated>2020-07-29T08:19:45Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-20T23:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41ab3bd11cc4d556a98e6244b160a048cdddb5c0'/>
<id>urn:sha1:41ab3bd11cc4d556a98e6244b160a048cdddb5c0</id>
<content type='text'>
[ Upstream commit bdff46665ee655600d0fe2a0e5f62ec7853d3b22 ]

Make sure the RSS hash key is kept across a fw update by not
de-initing it when an update is happening.

Fixes: c672412f6172 ("ionic: remove lifs on fw reset")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: update filter id after replay</title>
<updated>2020-07-29T08:19:44Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-20T23:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b0fec273fe0ae3e38bd8b7490470c87d56122f23'/>
<id>urn:sha1:b0fec273fe0ae3e38bd8b7490470c87d56122f23</id>
<content type='text'>
[ Upstream commit cc4428c4de8c31f12e4690d0409e0432fe05702f ]

When we replay the rx filters after a fw-upgrade we get new
filter_id values from the FW, which we need to save and update
in our local filter list.  This allows us to delete the filters
with the correct filter_id when we're done.

Fixes: 7e4d47596b68 ("ionic: replay filters after fw upgrade")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: fix up filter locks and debug msgs</title>
<updated>2020-07-29T08:19:44Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-20T23:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=14f48715a6b4368d30d53598ca0a46f25577ef87'/>
<id>urn:sha1:14f48715a6b4368d30d53598ca0a46f25577ef87</id>
<content type='text'>
[ Upstream commit cbec2153a9a68d011454960ba84887e46e40b37d ]

Add in a couple of forgotten spinlocks and fix up some of
the debug messages around filter management.

Fixes: c1e329ebec8d ("ionic: Add management of rx filters")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: use offset for ethtool regs data</title>
<updated>2020-07-29T08:19:44Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-20T23:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41badbb3254f90fa986636781144c8246485f222'/>
<id>urn:sha1:41badbb3254f90fa986636781144c8246485f222</id>
<content type='text'>
[ Upstream commit f85ae16f924f92a370b81b4e77862c1c59882fce ]

Use an offset to write the second half of the regs data into the
second half of the buffer instead of overwriting the first half.

Fixes: 4d03e00a2140 ("ionic: Add initial ethtool support")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&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>ionic: export features for vlans to use</title>
<updated>2020-07-22T07:34:28Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-06-16T15:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c52fb8782267d051a657f71e72ab02c89c630ee'/>
<id>urn:sha1:0c52fb8782267d051a657f71e72ab02c89c630ee</id>
<content type='text'>
commit ef7232da6bcd4294cbb2d424bc35885721570f01 upstream.

Set up vlan_features for use by any vlans above us.

Fixes: beead698b173 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Acked-by: Jonathan Toppins &lt;jtoppins@redhat.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>ionic: no link check while resetting queues</title>
<updated>2020-07-22T07:34:28Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-06-16T01:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c547524c9d0c6fbc42f8133ea7ed26b0253a41b'/>
<id>urn:sha1:1c547524c9d0c6fbc42f8133ea7ed26b0253a41b</id>
<content type='text'>
commit 3103b6feb4454646558eedc50ece728bc469f341 upstream.

If the driver is busy resetting queues after a change in
MTU or queue parameters, don't bother checking the link,
wait until the next watchdog cycle.

Fixes: 987c0871e8ae ("ionic: check for linkup in watchdog")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Acked-by: Jonathan Toppins &lt;jtoppins@redhat.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>ionic: centralize queue reset code</title>
<updated>2020-07-16T06:13:23Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-07-07T21:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31503de4dd384d550cf5e2e03d3d9ada49dc1700'/>
<id>urn:sha1:31503de4dd384d550cf5e2e03d3d9ada49dc1700</id>
<content type='text'>
[ Upstream commit 086c18f2452d0028f81e319f098bcb8e53133dbf ]

The queue reset pattern is used in a couple different places,
only slightly different from each other, and could cause
issues if one gets changed and the other didn't.  This puts
them together so that only one version is needed, yet each
can have slighty different effects by passing in a pointer
to a work function to do whatever configuration twiddling is
needed in the middle of the reset.

This specifically addresses issues seen where under loops
of changing ring size or queue count parameters we could
occasionally bump into the netdev watchdog.

v2: added more commit message commentary

Fixes: 4d03e00a2140 ("ionic: Add initial ethtool support")
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Acked-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
</feed>
