[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210615003016.477-1-ryazanov.s.a@gmail.com>
Date: Tue, 15 Jun 2021 03:30:06 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Loic Poulain <loic.poulain@...aro.org>,
Johannes Berg <johannes@...solutions.net>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next 00/10] net: WWAN link creation improvements
This series is intended to make the WWAN network links management easier
for WWAN device drivers.
The series begins with adding support for network links creation to the
WWAN HW simulator to facilitate code testing. Then there are a couple of
changes that prepe the WWAN core code for further modifications. The
following patches (4-6) simplify driver unregistering procedures by
performing the created links cleanup in the WWAN core. 7th patch is to
avoid the odd hold of a driver module. Next patches (8th and 9th) make
it easier for drivers to create a network interface for a default data
channel. Finally, 10th patch adds support for reporting of data link
(aka channel aka context) id to make user aware which network
interface is binded to which WWAN device data channel.
I have a quite busy last week, and I am sorry publishing these changes
so too late, after all frameworks and drivers have been merged to the
net-next tree. On the other hand, it may be good that we have all
drivers in the tree, so we have a more complete picture.
All core changes have been tested with the HW simulator. The MHI and
IOSM drivers were only compile tested as I have no access to this
hardware. So the coresponding patches require ACK from the driver
authors.
Sergey Ryazanov (10):
wwan_hwsim: support network interface creation
wwan: core: relocate ops registering code
wwan: core: require WWAN netdev setup callback existence
wwan: core: multiple netdevs deletion support
wwan: core: remove all netdevs on ops unregistering
net: iosm: drop custom netdev(s) removing
wwan: core: no more hold netdev ops owning module
wwan: core: support default netdev creation
net: mhi_net: create default link via WWAN core
wwan: core: add WWAN common private data for netdev
drivers/net/mhi/net.c | 66 ++-----
drivers/net/mhi/proto_mbim.c | 5 +-
drivers/net/wwan/iosm/iosm_ipc_wwan.c | 30 +--
drivers/net/wwan/wwan_core.c | 258 ++++++++++++++++++--------
drivers/net/wwan/wwan_hwsim.c | 47 +++++
include/linux/wwan.h | 28 ++-
6 files changed, 281 insertions(+), 153 deletions(-)
--
2.26.3
Powered by blists - more mailing lists