<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/networking/devlink/index.rst, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-02-12T01:52:13Z</updated>
<entry>
<title>net: ti: am65-cpsw-nuss: Add devlink support</title>
<updated>2021-02-12T01:52:13Z</updated>
<author>
<name>Vignesh Raghavendra</name>
</author>
<published>2021-02-11T10:56:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58356eb31d60dd8994e5067096ef1a09e4d9ceda'/>
<id>urn:sha1:58356eb31d60dd8994e5067096ef1a09e4d9ceda</id>
<content type='text'>
AM65 NUSS ethernet switch on K3 devices can be configured to work either
in independent mac mode where each port acts as independent network
interface (multi mac) or switch mode.

Add devlink hooks to provide a way to switch b/w these modes.

Rationale to use devlink instead of defaulting to bridge mode is that
SoC use cases require to support multiple independent MAC ports with no
switching so that users can use software bridges with multi-mac
configuration (e.g: to support LAG, HSR/PRP, etc). Also, switching
between multi mac and switch mode requires significant Port and ALE
reconfiguration, therefore is easier to be made as part of mode change
devlink hooks. It also allows to keep user interface similar to what
was implemented for the previous generation of TI CPSW IP
(on AM33/AM43/AM57 SoCs).

Signed-off-by: Vignesh Raghavendra &lt;vigneshr@ti.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>devlink: Add devlink port documentation</title>
<updated>2021-01-22T19:32:11Z</updated>
<author>
<name>Parav Pandit</name>
</author>
<published>2020-12-12T06:12:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c736111cf8d519d46ac62af36378aed472faaa12'/>
<id>urn:sha1:c736111cf8d519d46ac62af36378aed472faaa12</id>
<content type='text'>
Added documentation for devlink port and port function related commands.

Signed-off-by: Parav Pandit &lt;parav@nvidia.com&gt;
Reviewed-by: Jiri Pirko &lt;jiri@nvidia.com&gt;
Reviewed-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: Saeed Mahameed &lt;saeedm@nvidia.com&gt;
</content>
</entry>
<entry>
<title>devlink: Add Documentation/networking/devlink/devlink-reload.rst</title>
<updated>2020-10-09T19:06:53Z</updated>
<author>
<name>Moshe Shemesh</name>
</author>
<published>2020-10-07T06:00:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb79d75474ab529f22cf0f7866f1829762a18277'/>
<id>urn:sha1:eb79d75474ab529f22cf0f7866f1829762a18277</id>
<content type='text'>
Add devlink reload rst documentation file.
Update index file to include it.

Signed-off-by: Moshe Shemesh &lt;moshe@mellanox.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: networkng: convert sja1105's devlink info to RTS</title>
<updated>2020-06-11T00:07:04Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2020-06-10T23:59:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae0b829df7120c78692e49c88453007e531c0e00'/>
<id>urn:sha1:ae0b829df7120c78692e49c88453007e531c0e00</id>
<content type='text'>
A new file snuck into the tree after all existing documentation
was converted to RST. Convert sja1105's devlink info and move
it where the rest of the drivers are documented.

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Acked-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Tested-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>devlink: expand the devlink-info documentation</title>
<updated>2020-03-24T23:47:33Z</updated>
<author>
<name>Jakub Kicinski</name>
</author>
<published>2020-03-24T17:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd556e40fdf3b09e229097021a9148ecb6e7725e'/>
<id>urn:sha1:cd556e40fdf3b09e229097021a9148ecb6e7725e</id>
<content type='text'>
We are having multiple review cycles with all vendors trying
to implement devlink-info. Let's expand the documentation with
more information about what's implemented and motivation behind
this interface in an attempt to make the implementations easier.

Describe what each info section is supposed to contain, and make
some references to other HW interfaces (PCI caps).

Document how firmware management is expected to look, to make
it clear how devlink-info and devlink-flash work in concert.

Name some future work.

v2: - improve wording
v3: - improve wording

Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ice: add basic handler for devlink .info_get</title>
<updated>2020-03-21T08:00:32Z</updated>
<author>
<name>Jacob Keller</name>
</author>
<published>2020-03-12T01:58:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff2e5c700e085f4f9357e128c3fe9eb61e9df752'/>
<id>urn:sha1:ff2e5c700e085f4f9357e128c3fe9eb61e9df752</id>
<content type='text'>
The devlink .info_get callback allows the driver to report detailed
version information. The following devlink versions are reported with
this initial implementation:

 "fw.mgmt" -&gt; The version of the firmware that controls PHY, link, etc
 "fw.mgmt.api" -&gt; API version of interface exposed over the AdminQ
 "fw.mgmt.build" -&gt; Unique build id of the source for the management fw
 "fw.undi" -&gt; Version of the Option ROM containing the UEFI driver
 "fw.psid.api" -&gt; Version of the NVM image format.
 "fw.bundle_id" -&gt; Unique identifier for the combined flash image.
 "fw.app.name" -&gt; The name of the active DDP package.
 "fw.app" -&gt; The version of the active DDP package.

With this, devlink dev info can report at least as much information as
is reported by ETHTOOL_GDRVINFO.

Compare the output from ethtool vs from devlink:

  $ ethtool -i ens785s0
  driver: ice
  version: 0.8.1-k
  firmware-version: 0.80 0x80002ec0 1.2581.0
  expansion-rom-version:
  bus-info: 0000:3b:00.0
  supports-statistics: yes
  supports-test: yes
  supports-eeprom-access: yes
  supports-register-dump: yes
  supports-priv-flags: yes

  $ devlink dev info pci/0000:3b:00.0
  pci/0000:3b:00.0:
  driver ice
  serial number 00-01-ab-ff-ff-ca-05-68
  versions:
      running:
        fw.mgmt 2.1.7
        fw.mgmt.api 1.5
        fw.mgmt.build 0x305d955f
        fw.undi 1.2581.0
        fw.psid.api 0.80
        fw.bundle_id 0x80002ec0
        fw.app.name ICE OS Default Package
        fw.app 1.3.1.0

More pieces of information can be displayed, each version is kept
separate instead of munged together, and each version has an identifier
which comes with associated documentation.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Acked-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
Tested-by: Andrew Bowers &lt;andrewx.bowers@intel.com&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
</content>
</entry>
<entry>
<title>devlink: introduce devlink-dpipe.rst documentation file</title>
<updated>2020-01-11T01:07:00Z</updated>
<author>
<name>Jacob Keller</name>
</author>
<published>2020-01-09T22:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7ec1eca71efe21d08fb1d05caa8ab06b22fe2f7'/>
<id>urn:sha1:b7ec1eca71efe21d08fb1d05caa8ab06b22fe2f7</id>
<content type='text'>
Primarily based on the DPIPE netdev conference paper, introduce a new
file to document the dpipe interface.

This likely needs further improvement, but is at least a good overall
start.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>devlink: add a devlink-resource.rst documentation file</title>
<updated>2020-01-11T01:07:00Z</updated>
<author>
<name>Jacob Keller</name>
</author>
<published>2020-01-09T22:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1af8e9a8029969632ff9f6b5ddc326c59d8c06d'/>
<id>urn:sha1:a1af8e9a8029969632ff9f6b5ddc326c59d8c06d</id>
<content type='text'>
Take the little bit of documentation for resources from various commit
messages and combine it into a new devlink-resource.rst file.

This could probably be expanded on even further by someone with more
knowledge of how the devlink resources work.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>devlink: rename and expand devlink-trap-netdevsim.rst</title>
<updated>2020-01-11T01:07:00Z</updated>
<author>
<name>Jacob Keller</name>
</author>
<published>2020-01-09T22:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04e4272cb3ae2bbb7a5d672918092366f48c9f52'/>
<id>urn:sha1:04e4272cb3ae2bbb7a5d672918092366f48c9f52</id>
<content type='text'>
Rename the trap-specific netdevimsim.rst file, and expand it to include
documentation of all the devlink features currently implemented by the
netdevsim driver code.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Cc: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>devlink: add documentation for ionic device driver</title>
<updated>2020-01-11T01:07:00Z</updated>
<author>
<name>Jacob Keller</name>
</author>
<published>2020-01-09T22:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf4cb322d75253e38a41ec77d493a56c7a6648ab'/>
<id>urn:sha1:cf4cb322d75253e38a41ec77d493a56c7a6648ab</id>
<content type='text'>
The IONIC device driver allocates a devlink and reports versions. Add
documentation for this driver.

Signed-off-by: Jacob Keller &lt;jacob.e.keller@intel.com&gt;
Cc: Shannon Nelson &lt;snelson@pensando.io&gt;
Acked-by: Shannon Nelson &lt;snelson@pensandi.io&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
