From: Jeremy Kerr <jk@codeconstruct.com.au>
To: Matt Johnston <matt@codeconstruct.com.au>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org, linux-usb@vger.kernel.org,
Santosh Puranik <spuranik@nvidia.com>
Subject: [PATCH net-next v3 0/2] mctp: Add MCTP-over-USB hardware transport binding
Date: Fri, 21 Feb 2025 08:56:56 +0800 [thread overview]
Message-ID: <20250221-dev-mctp-usb-v3-0-3353030fe9cc@codeconstruct.com.au> (raw)
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>
next reply other threads:[~2025-02-21 0:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 0:56 Jeremy Kerr [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250221-dev-mctp-usb-v3-0-3353030fe9cc@codeconstruct.com.au \
--to=jk@codeconstruct.com.au \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=kuba@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=spuranik@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox