mbox series

[net-next,v3,0/2] mctp: Add MCTP-over-USB hardware transport binding

Message ID 20250221-dev-mctp-usb-v3-0-3353030fe9cc@codeconstruct.com.au (mailing list archive)
Headers show
Series mctp: Add MCTP-over-USB hardware transport binding | expand

Message

Jeremy Kerr Feb. 21, 2025, 12:56 a.m. UTC
Add an implementation of the DMTF standard DSP0283, providing an MCTP
channel over high-speed USB.

This is a fairly trivial first implementation, in that we only submit
one tx and one rx URB at a time. We do accept multi-packet transfers,
but do not yet generate them on transmit.

Of course, questions and comments are most welcome, particularly on the
USB interfaces.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
---
Changes in v3:
- Use GPL2 consistently, rather that 2+
- Changes from Jakub Kicinsk: u8 over __u8
- Changes from Jakub Kicinsk: use dstats helpers
- Changes from Jakub Kicinsk: skb_cow_head before skb_push
- recovery mechanism for rx alloc
- Link to v2: https://lore.kernel.org/r/20250212-dev-mctp-usb-v2-0-76e67025d764@codeconstruct.com.au

Changes in v2:
- greg k-h claims that it is 2025; update copyright year
- Add spec references
- Clean up dbg/warn output
- Changes from Oliver Neukum: drop usbdev ref, avoid a GFP_ATOMIC alloc
- Changes from Simon Horman: do rx stats before netif_rx
- Add module metadata
- specify phys binding type
- Link to v1: https://lore.kernel.org/r/20250206-dev-mctp-usb-v1-0-81453fe26a61@codeconstruct.com.au

---
Jeremy Kerr (2):
      usb: Add base USB MCTP definitions
      net: mctp: Add MCTP USB transport driver

 MAINTAINERS                  |   1 +
 drivers/net/mctp/Kconfig     |  10 ++
 drivers/net/mctp/Makefile    |   1 +
 drivers/net/mctp/mctp-usb.c  | 385 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/usb/mctp-usb.h |  30 ++++
 include/uapi/linux/usb/ch9.h |   1 +
 6 files changed, 428 insertions(+)
---
base-commit: be1d2a1b151deb195cd9749988163aa26ad6f616
change-id: 20250206-dev-mctp-usb-c59dea025395

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 22, 2025, 3:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 21 Feb 2025 08:56:56 +0800 you wrote:
> Add an implementation of the DMTF standard DSP0283, providing an MCTP
> channel over high-speed USB.
> 
> This is a fairly trivial first implementation, in that we only submit
> one tx and one rx URB at a time. We do accept multi-packet transfers,
> but do not yet generate them on transmit.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/2] usb: Add base USB MCTP definitions
    https://git.kernel.org/netdev/net-next/c/dcc35baae732
  - [net-next,v3,2/2] net: mctp: Add MCTP USB transport driver
    https://git.kernel.org/netdev/net-next/c/0791c0327a6e

You are awesome, thank you!