<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c, 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-07-29T08:19:44Z</updated>
<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: 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>
<entry>
<title>ionic: print data for unknown xcvr type</title>
<updated>2020-03-18T04:18:25Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-03-17T03:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=840eef598653d7e076b5c138cace687b18538605'/>
<id>urn:sha1:840eef598653d7e076b5c138cace687b18538605</id>
<content type='text'>
If we don't recognize the transceiver type, set the xcvr type
and data length such that ethtool can at least print the first
256 bytes and the reader can figure out why the transceiver
is not recognized.

While we're here, we can update the phy_id type values to use
the enum values in sfp.h.

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;
</content>
</entry>
<entry>
<title>ionic: drop ethtool driver version</title>
<updated>2020-03-10T02:34:04Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-03-07T01:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1fcbebf115d9ce077c2ba5ecfb521cc1eedcb467'/>
<id>urn:sha1:1fcbebf115d9ce077c2ba5ecfb521cc1eedcb467</id>
<content type='text'>
Use the default kernel version in ethtool drv_info output
and drop the module version.

Cc: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: clean up bitflag usage</title>
<updated>2020-03-10T02:34:04Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2020-03-07T01:04:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c6d3d73a405555be8d64b3174a4b7b0f6b0b5a51'/>
<id>urn:sha1:c6d3d73a405555be8d64b3174a4b7b0f6b0b5a51</id>
<content type='text'>
Remove the unused flags field and and fix the bitflag names
to include the _F_ flag hint.

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: let core reject the unsupported coalescing parameters</title>
<updated>2020-03-05T20:12:35Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2020-03-05T05:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=987b191c16f9b7568a756b0745ee4a93611879ae'/>
<id>urn:sha1:987b191c16f9b7568a756b0745ee4a93611879ae</id>
<content type='text'>
Set ethtool_ops-&gt;supported_coalesce_params to let
the core reject unsupported coalescing parameters.

This driver correctly rejects all unsupported parameters.
As a side effect of these changes the error code for
unsupported params changes from EINVAL to EOPNOTSUPP.

v3: adjust commit message for new error code and member name

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: implement ethtool set-fec</title>
<updated>2019-10-02T15:55:12Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2019-10-01T03:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e95f922f4c2f27bd7b7479a8fd6bdc689e2062be'/>
<id>urn:sha1:e95f922f4c2f27bd7b7479a8fd6bdc689e2062be</id>
<content type='text'>
Wire up the --set-fec and --show-fec features in the ethtool
callbacks and pull the related code out of set_link_ksettings.

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: report users coalesce request</title>
<updated>2019-10-02T15:55:12Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2019-10-01T03:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=780eded34cccca642c241dad54d54de70f6c43ac'/>
<id>urn:sha1:780eded34cccca642c241dad54d54de70f6c43ac</id>
<content type='text'>
The user's request for an interrupt coalescing value gets
translated into a hardware value to be used with the NIC,
and was getting reported back based on the hw value, which,
due to hw tic resolution, could be reported as a different
number than what the user originally asked for.  This code
now tracks both the user request and what was put into the
hardware so we can report back to the user what they
requested.

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: use wait_on_bit_lock() rather than open code</title>
<updated>2019-10-02T15:55:12Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2019-10-01T03:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d229be4b27a8b76d897f73dede9c25e6a6d3a6ad'/>
<id>urn:sha1:d229be4b27a8b76d897f73dede9c25e6a6d3a6ad</id>
<content type='text'>
Replace the open-coded ionic_wait_for_bit() with the
kernel's wait_on_bit_lock().

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ionic: Add coalesce and other features</title>
<updated>2019-09-05T07:24:44Z</updated>
<author>
<name>Shannon Nelson</name>
</author>
<published>2019-09-03T22:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c15440bce31afd5eea8c696f31a774bef4e5208'/>
<id>urn:sha1:8c15440bce31afd5eea8c696f31a774bef4e5208</id>
<content type='text'>
Interrupt coalescing, tunable copybreak value, and
tx timeout.

Signed-off-by: Shannon Nelson &lt;snelson@pensando.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
