summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-04-02 13:31:39 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-04-02 13:31:39 +0200
commitf1fa1157f426c92c0189e62487f631bb5905b31d (patch)
treea2277d73fed8bc7181f795e06b65316558f2be10 /include
parentae04bff949c50921c2af2a14def112a2c47e649d (diff)
parent0d8647bc74cb50edf02e8c88977657596f20fb17 (diff)
Merge branch 'net-mctp-improvements-for-null-eid-addressing'
Jeremy Kerr says: ==================== 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. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> ==================== Link: https://patch.msgid.link/20260331-dev-mctp-null-eids-v1-0-b4d047372eaf@codeconstruct.com.au Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mctp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mctp.h b/include/net/mctp.h
index c3207ce98f07..e1e0a69afdce 100644
--- a/include/net/mctp.h
+++ b/include/net/mctp.h
@@ -270,6 +270,7 @@ struct mctp_dst {
struct mctp_dev *dev;
unsigned int mtu;
mctp_eid_t nexthop;
+ mctp_eid_t saddr;
/* set for direct addressing */
unsigned char halen;