MCTP tag control interface
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
- v2 Latest5 patches 0 repliesApplied 5/5
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mctp: tests: Rename FL_T macro to FL_TOnet/ | +6 | 0 replies | Applied |
| 2/5 | mctp: tests: Add key state testsnet/ | +137 | 0 replies | Applied |
| 3/5 | mctp: Add helper for address match checkinginclude/ net/ | +8 | 0 replies | Applied |
| 4/5 | mctp: Allow keys matching any local addressnet/ net/ | +10 | 0 replies | Applied |
| 5/5 | mctp: Add SIOCMCTP{ALLOC,DROP}TAG ioctls for tag controlDocumentation/ include/ include/ +3 more | +329 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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