Skip to content

net: mctp: improvements for NULL-EID addressing

Jeremy Kerr netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am 20260331-dev-mctp-null-eids-v1-0-b4d047372eaf@codeconstruct.com.au change-id 20260324-dev-mctp-null-eids-0515711235ee

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: mctp: perform source address lookups when we populate our dstinclude/net/mctp.h net/mctp/route.c net/mctp/test/route-test.c +2 more+73 -302 repliesApplied
2/3net: mctp: allow local TX with no address assignednet/mctp/route.c net/mctp/test/route-test.c+118 -140 repliesApplied
3/3net: mctp: don't require a route for null-EID ingressnet/mctp/route.c net/mctp/test/route-test.c+55 -190 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: mctp: improvements for NULL-EID addressing

Currently, our focus for the MCTP routing implementation has been for MCTP bus-owner devices. In this case, we will generally have an EID assigned during local transmit, and have routes established before expecting to receive.

We also want to handle non-bus-owner cases, where:

- we may need to send control protocol messages (like Discovery Notify) before any local addresses have been assigned, particularly as part of acquiring a local address assignment; and

- we will likely want to receive incoming messages before we have routing established.

This series improves handling for these cases, by handling NULL EIDs as source / destination addresses where possible.

---
Jeremy Kerr (3):
net: mctp: perform source address lookups when we populate our dst
net: mctp: allow local TX with no address assigned
net: mctp: don't require a route for null-EID ingress

 include/net/mctp.h         |   1 +
 net/mctp/route.c           |  92 +++++++++++------------
 net/mctp/test/route-test.c | 180 ++++++++++++++++++++++++++++++++++++++++++---
 net/mctp/test/utils.c      |  27 +++++++
 net/mctp/test/utils.h      |   1 +
 5 files changed, 242 insertions(+), 59 deletions(-)

---
base-commit: 7fae6616704a17c64438ad4b73a6effa6c03ffda
change-id: 20260324-dev-mctp-null-eids-0515711235ee

Best regards,

Signature · 1 line
Jeremy Kerr <[email protected]>