Skip to content

MCTP tag control interface

Jeremy Kerr linux-doc netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- make mctp_lookup_prealloc_tag static
- minor checkpatch formatting fixes

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5mctp: tests: Rename FL_T macro to FL_TOnet/mctp/test/route-test.c+6 -60 repliesApplied
2/5mctp: tests: Add key state testsnet/mctp/test/route-test.c+137 -00 repliesApplied
3/5mctp: Add helper for address match checkinginclude/net/mctp.h net/mctp/route.c+8 -50 repliesApplied
4/5mctp: Allow keys matching any local addressnet/mctp/route.c net/mctp/test/route-test.c+10 -20 repliesApplied
5/5mctp: Add SIOCMCTP{ALLOC,DROP}TAG ioctls for tag controlDocumentation/networking/mctp.rst include/net/mctp.h include/trace/events/mctp.h +3 more+329 -560 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] MCTP tag control interface

This series implements a small interface for userspace-controlled message tag allocation for the MCTP protocol. Rather than leaving the kernel to allocate per-message tag values, userspace can explicitly allocate (and release) message tags through two new ioctls:
SIOCMCTPALLOCTAG and SIOCMCTPDROPTAG.

In order to do this, we first introduce some minor changes to the tag handling, including a couple of new tests for the route input paths.

As always, any comments/queries/etc are most welcome.

Cheers,

Jeremy
---

v2:
- make mctp_lookup_prealloc_tag static
- minor checkpatch formatting fixes

---

Jeremy Kerr (4):
mctp: tests: Rename FL_T macro to FL_TO
mctp: tests: Add key state tests
mctp: Add helper for address match checking
mctp: Allow keys matching any local address

Matt Johnston (1):
mctp: Add SIOCMCTP{ALLOC,DROP}TAG ioctls for tag control

 Documentation/networking/mctp.rst |  48 ++++++++
 include/net/mctp.h                |  16 ++-
 include/trace/events/mctp.h       |   5 +-
 include/uapi/linux/mctp.h         |  18 +++
 net/mctp/af_mctp.c                | 189 ++++++++++++++++++++++++++----
 net/mctp/route.c                  | 124 ++++++++++++++------
 net/mctp/test/route-test.c        | 157 ++++++++++++++++++++++++-
 7 files changed, 489 insertions(+), 68 deletions(-)
Signature · 1 line
2.34.1