public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] mctp: Add MCTP-over-USB hardware transport binding
@ 2025-02-21  0:56 Jeremy Kerr
  2025-02-21  0:56 ` [PATCH net-next v3 1/2] usb: Add base USB MCTP definitions Jeremy Kerr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jeremy Kerr @ 2025-02-21  0:56 UTC (permalink / raw)
  To: Matt Johnston, Greg Kroah-Hartman, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-usb, Santosh Puranik

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,
-- 
Jeremy Kerr <jk@codeconstruct.com.au>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-22  3:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-21  0:56 [PATCH net-next v3 0/2] mctp: Add MCTP-over-USB hardware transport binding Jeremy Kerr
2025-02-21  0:56 ` [PATCH net-next v3 1/2] usb: Add base USB MCTP definitions Jeremy Kerr
2025-02-21  0:56 ` [PATCH net-next v3 2/2] net: mctp: Add MCTP USB transport driver Jeremy Kerr
2025-02-22  3:30 ` [PATCH net-next v3 0/2] mctp: Add MCTP-over-USB hardware transport binding patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox