From: Loic Poulain <loic.poulain@linaro.org>
To: kuba@kernel.org, davem@davemloft.net
Cc: netdev@vger.kernel.org, bjorn@mork.no, dcbw@redhat.com,
carl.yin@quectel.com, mpearson@lenovo.com, cchen50@lenovo.com,
jwjiang@lenovo.com, ivan.zhang@quectel.com,
naveen.kumar@quectel.com, Loic Poulain <loic.poulain@linaro.org>
Subject: [PATCH net-next v3 0/5] Add MBIM over MHI support
Date: Thu, 4 Feb 2021 19:17:36 +0100 [thread overview]
Message-ID: <1612462661-23045-1-git-send-email-loic.poulain@linaro.org> (raw)
This patch adds MBIM decoding/encoding support to mhi-net, using
mhi-net rx and tx_fixup 'proto' callbacks introduced in the series.
v2:
- net.c: mhi_net_dev as rx/tx_fixup parameter
- mbim: Check nth size/sequence in nth16_verify
- mbim: Add netif_dbg message for verbose error
- mbim: Add inline comment for MHI MBIM limitation (no DSS)
- mbim: Fix copyright issue
- mbim: Reword commit message
v3:
- net: dedicated commit for mhi.h
- net: add rx_length_errors stat change
- net: rename rx_fixup to rx
- net: proto rx returns void
- mbim: remove all unecessary parenthesis
- mbim: report errors and rx_length_errors
- mbim: rate_limited errors in rx/tx path
- mbim: create define for NDP signature mask
- mbim: switch-case to if for signature check
- mbim: skb_cow_head() to fix headroom if necessary
Loic Poulain (5):
net: mhi: Add protocol support
net: mhi: Add dedicated folder
net: mhi: Create mhi.h
net: mhi: Add rx_length_errors stat
net: mhi: Add mbim proto
drivers/net/Makefile | 2 +-
drivers/net/mhi/Makefile | 3 +
drivers/net/mhi/mhi.h | 40 +++++
drivers/net/mhi/net.c | 408 +++++++++++++++++++++++++++++++++++++++++++
drivers/net/mhi/proto_mbim.c | 294 +++++++++++++++++++++++++++++++
drivers/net/mhi_net.c | 384 ----------------------------------------
6 files changed, 746 insertions(+), 385 deletions(-)
create mode 100644 drivers/net/mhi/Makefile
create mode 100644 drivers/net/mhi/mhi.h
create mode 100644 drivers/net/mhi/net.c
create mode 100644 drivers/net/mhi/proto_mbim.c
delete mode 100644 drivers/net/mhi_net.c
--
2.7.4
next reply other threads:[~2021-02-04 18:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 18:17 Loic Poulain [this message]
2021-02-04 18:17 ` [PATCH net-next v3 1/5] net: mhi: Add protocol support Loic Poulain
2021-02-04 18:17 ` [PATCH net-next v3 2/5] net: mhi: Add dedicated folder Loic Poulain
2021-02-04 18:17 ` [PATCH net-next v3 3/5] net: mhi: Create mhi.h Loic Poulain
2021-02-04 18:17 ` [PATCH net-next v3 4/5] net: mhi: Add rx_length_errors stat Loic Poulain
2021-02-04 18:17 ` [PATCH net-next v3 5/5] net: mhi: Add mbim proto Loic Poulain
2021-02-04 18:21 ` [PATCH net-next v3 0/5] Add MBIM over MHI support Loic Poulain
2021-02-04 20:37 ` Jakub Kicinski
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=1612462661-23045-1-git-send-email-loic.poulain@linaro.org \
--to=loic.poulain@linaro.org \
--cc=bjorn@mork.no \
--cc=carl.yin@quectel.com \
--cc=cchen50@lenovo.com \
--cc=davem@davemloft.net \
--cc=dcbw@redhat.com \
--cc=ivan.zhang@quectel.com \
--cc=jwjiang@lenovo.com \
--cc=kuba@kernel.org \
--cc=mpearson@lenovo.com \
--cc=naveen.kumar@quectel.com \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).