<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/mctp/device.c, 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-10-29T12:23:51Z</updated>
<entry>
<title>mctp: Pass flow data &amp; flow release events to drivers</title>
<updated>2021-10-29T12:23:51Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2021-10-29T03:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67737c457281dd199ceb9e31b6ba7efd3bfe566d'/>
<id>urn:sha1:67737c457281dd199ceb9e31b6ba7efd3bfe566d</id>
<content type='text'>
Now that we have an extension for MCTP data in skbs, populate the flow
when a key has been created for the packet, and add a device driver
operation to inform of flow destruction.

Includes a fix for a warning with test builds:
Reported-by: kernel test robot &lt;lkp@intel.com&gt;

Signed-off-by: Jeremy Kerr &lt;jk@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Warn if pointer is set for a wrong dev type</title>
<updated>2021-09-29T10:00:12Z</updated>
<author>
<name>Matt Johnston</name>
</author>
<published>2021-09-29T07:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b1871af75f30d9d88184fff42698718fa157dcf'/>
<id>urn:sha1:7b1871af75f30d9d88184fff42698718fa157dcf</id>
<content type='text'>
Should not occur but is a sanity check.

May help tracking down Trinity reported issue
https://lore.kernel.org/lkml/20210913030701.GA5926@xsang-OptiPlex-9020/

Signed-off-by: Matt Johnston &lt;matt@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Add refcounts to mctp_dev</title>
<updated>2021-09-29T10:00:11Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2021-09-29T07:26:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43f55f23f70881e9c397557f15c8090b368d0af2'/>
<id>urn:sha1:43f55f23f70881e9c397557f15c8090b368d0af2</id>
<content type='text'>
Currently, we tie the struct mctp_dev lifetime to the underlying struct
net_device, and hold/put that device as a proxy for a separate mctp_dev
refcount. This works because we're not holding any references to the
mctp_dev that are different from the netdev lifetime.

In a future change we'll break that assumption though, as we'll need to
hold mctp_dev references in a workqueue, which might live past the
netdev unregister notification.

In order to support that, this change introduces a refcount on the
mctp_dev, currently taken by the net_device-&gt;mctp_ptr reference, and
released on netdev unregister events. We can then use this for future
references that might outlast the net device.

Signed-off-by: Jeremy Kerr &lt;jk@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Allow MCTP on tun devices</title>
<updated>2021-09-29T10:00:11Z</updated>
<author>
<name>Matt Johnston</name>
</author>
<published>2021-09-29T07:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f364dd71d92fe6722fe5d47803be974dc0c40762'/>
<id>urn:sha1:f364dd71d92fe6722fe5d47803be974dc0c40762</id>
<content type='text'>
Allowing TUN is useful for testing, to route packets to userspace or to
tunnel between machines.

Signed-off-by: Matt Johnston &lt;matt@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Allow per-netns default networks</title>
<updated>2021-07-29T14:06:50Z</updated>
<author>
<name>Matt Johnston</name>
</author>
<published>2021-07-29T02:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03f2bbc4ee57ca53b2fa1d9caabc5006e0b8f375'/>
<id>urn:sha1:03f2bbc4ee57ca53b2fa1d9caabc5006e0b8f375</id>
<content type='text'>
Currently we have a compile-time default network
(MCTP_INITIAL_DEFAULT_NET). This change introduces a default_net field
on the net namespace, allowing future configuration for new interfaces.

Signed-off-by: Matt Johnston &lt;matt@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Add neighbour implementation</title>
<updated>2021-07-29T14:06:50Z</updated>
<author>
<name>Matt Johnston</name>
</author>
<published>2021-07-29T02:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d8b9319282ae84f5a17b28d8b5b5d1e7e537312'/>
<id>urn:sha1:4d8b9319282ae84f5a17b28d8b5b5d1e7e537312</id>
<content type='text'>
Add an initial neighbour table implementation, to be used in the route
output path.

Signed-off-by: Matt Johnston &lt;matt@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Add initial routing framework</title>
<updated>2021-07-29T14:06:50Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2021-07-29T02:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=889b7da23abf92faf34491df95733bda63639e32'/>
<id>urn:sha1:889b7da23abf92faf34491df95733bda63639e32</id>
<content type='text'>
Add a simple routing table, and a couple of route output handlers, and
the mctp packet_type &amp; handler.

Includes changes from Matt Johnston &lt;matt@codeconstruct.com.au&gt;.

Signed-off-by: Jeremy Kerr &lt;jk@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mctp: Add device handling and netlink interface</title>
<updated>2021-07-29T14:06:50Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2021-07-29T02:20:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=583be982d93479ea3d85091b0fd0b01201ede87d'/>
<id>urn:sha1:583be982d93479ea3d85091b0fd0b01201ede87d</id>
<content type='text'>
This change adds the infrastructure for managing MCTP netdevices; we add
a pointer to the AF_MCTP-specific data to struct netdevice, and hook up
the rtnetlink operations for adding and removing addresses.

Includes changes from Matt Johnston &lt;matt@codeconstruct.com.au&gt;.

Signed-off-by: Jeremy Kerr &lt;jk@codeconstruct.com.au&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
