Skip to content

MCTP flow support

Jeremy Kerr 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 Latest3 patches 0 repliesApplied 3/3
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- add cover letter
- fix CONFIG combinations when MCTP_FLOWS=n

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mctp: Return new key from mctp_alloc_local_tagnet/mctp/route.c+16 -120 repliesApplied
2/3mctp: Add flow extension to skbinclude/linux/skbuff.h include/net/mctp.h net/core/skbuff.c +1 more+35 -10 repliesApplied
3/3mctp: Pass flow data & flow release events to driversinclude/net/mctp.h include/net/mctpdevice.h net/mctp/device.c +1 more+126 -20 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/3] MCTP flow support

For certain MCTP transport bindings, the binding driver will need to be aware of request/response pairing. For example, the i2c binding may need to set multiplexer configuration when expecting a response from a device behind a mux.

This series implements a mechanism for informing the driver about these flows, so it can implement transport-specific behaviour when a flow is in progress (ie, a response is expected, and/or we time-out on that expectation). We use a skb extension to notify the driver about the presence of a flow, and a new dev->ops callback to notify about a flow's destruction.

Cheers,

Jeremy

---
v2:
- add cover letter
- fix CONFIG combinations when MCTP_FLOWS=n

Jeremy Kerr (3):
mctp: Return new key from mctp_alloc_local_tag
mctp: Add flow extension to skb
mctp: Pass flow data & flow release events to drivers

 include/linux/skbuff.h   |  3 ++
 include/net/mctp.h       | 13 +++++++
 include/net/mctpdevice.h | 16 ++++++++
 net/core/skbuff.c        | 19 +++++++++
 net/mctp/Kconfig         |  7 +++-
 net/mctp/device.c        | 51 ++++++++++++++++++++++++
 net/mctp/route.c         | 83 +++++++++++++++++++++++++++++++++-------
 7 files changed, 177 insertions(+), 15 deletions(-)
Signature · 1 line
2.33.0