[PATCH linux dev-6.12 00/14] net: mctp: backport of mctp routing for bridged endpoints.

Marc Olberding molberding at nvidia.com
Fri Sep 19 07:33:46 AEST 2025


This is a backport of mctp routing for bridged endpoints
to dev-6.12, taken from net-next. This allows us to use
the current tip of the mctp repo to deal with bridged
endpoints. This was tested on an nvl32-obmc model, with
the current tip of the mctp repo using mctp-daemon.

Signed-off-by: Marc Olberding <molberding at nvidia.com>
---
Jeremy Kerr (14):
      net: mctp: don't use source cb data when forwarding, ensure pkt_type is set
      net: mctp: test: make cloned_frag buffers more appropriately-sized
      net: mctp: separate routing database from routing operations
      net: mctp: separate cb from direct-addressing routing
      net: mctp: test: Add an addressed device constructor
      net: mctp: test: Add extaddr routing output test
      net: mctp: test: move functions into utils.[ch]
      net: mctp: test: add sock test infrastructure
      net: mctp: test: Add initial socket tests
      net: mctp: pass net into route creation
      net: mctp: remove routes by netid, not by device
      net: mctp: allow NL parsing directly into a struct mctp_route
      net: mctp: add gateway routing support
      net: mctp: test: Add tests for gateway routes

 include/net/mctp.h         |  52 +++-
 include/uapi/linux/mctp.h  |   8 +
 net/mctp/af_mctp.c         |  66 ++---
 net/mctp/route.c           | 574 ++++++++++++++++++++++++++++--------------
 net/mctp/test/route-test.c | 612 +++++++++++++++++++++++++++++----------------
 net/mctp/test/sock-test.c  | 229 +++++++++++++++++
 net/mctp/test/utils.c      | 196 ++++++++++++++-
 net/mctp/test/utils.h      |  44 ++++
 8 files changed, 1324 insertions(+), 457 deletions(-)
---
base-commit: 050998469a36ed1dca7ff3b9ed21ef1ab65a9ae0
change-id: 20250917-mctp_gateway_routing-ed8cac640161

Best regards,
-- 
Marc Olberding <molberding at nvidia.com>



More information about the openbmc mailing list