[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1612462661-23045-1-git-send-email-loic.poulain@linaro.org>
Date: Thu, 4 Feb 2021 19:17:36 +0100
From: Loic Poulain <loic.poulain@...aro.org>
To: kuba@...nel.org, davem@...emloft.net
Cc: netdev@...r.kernel.org, bjorn@...k.no, dcbw@...hat.com,
carl.yin@...ctel.com, mpearson@...ovo.com, cchen50@...ovo.com,
jwjiang@...ovo.com, ivan.zhang@...ctel.com,
naveen.kumar@...ctel.com, Loic Poulain <loic.poulain@...aro.org>
Subject: [PATCH net-next v3 0/5] Add MBIM over MHI support
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
Powered by blists - more mailing lists