All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/10] net: WWAN link creation improvements
@ 2021-06-21 22:50 Sergey Ryazanov
  2021-06-21 22:50 ` [PATCH net-next v2 01/10] wwan_hwsim: support network interface creation Sergey Ryazanov
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Sergey Ryazanov @ 2021-06-21 22:50 UTC (permalink / raw)
  To: Loic Poulain, Johannes Berg, David S. Miller, Jakub Kicinski; +Cc: netdev

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 bound to which WWAN device data channel.

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.

Changelog:
  v1 -> v2:
    * rebased on top of latest net-next
    * patch that reworks the creation of mhi_net default netdev was
      dropped; as Loic explained, this network device has different
      purpose depending on a driver mode; Loic has a plan to rework the
      mhi_net driver, so we will defer the default netdev creation
      reworkings
    * add a new patch that creates a default network interface for IOSM
      modems
    * 7th, 8th, 10th patches have a minor updates (see the patches for
      details)

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: iosm: create default link via WWAN core
  wwan: core: add WWAN common private data for netdev

 drivers/net/mhi/net.c                     |  18 +-
 drivers/net/mhi/proto_mbim.c              |   5 +-
 drivers/net/wwan/iosm/iosm_ipc_imem_ops.h |   3 +
 drivers/net/wwan/iosm/iosm_ipc_wwan.c     |  31 +--
 drivers/net/wwan/wwan_core.c              | 258 ++++++++++++++++------
 drivers/net/wwan/wwan_hwsim.c             |  47 ++++
 include/linux/wwan.h                      |  28 ++-
 7 files changed, 282 insertions(+), 108 deletions(-)

-- 
2.26.3


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

end of thread, other threads:[~2021-06-22 17:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 22:50 [PATCH net-next v2 00/10] net: WWAN link creation improvements Sergey Ryazanov
2021-06-21 22:50 ` [PATCH net-next v2 01/10] wwan_hwsim: support network interface creation Sergey Ryazanov
2021-06-21 22:50 ` [PATCH net-next v2 02/10] wwan: core: relocate ops registering code Sergey Ryazanov
2021-06-21 22:50 ` [PATCH net-next v2 03/10] wwan: core: require WWAN netdev setup callback existence Sergey Ryazanov
2021-06-22 13:47   ` Loic Poulain
2021-06-21 22:50 ` [PATCH net-next v2 04/10] wwan: core: multiple netdevs deletion support Sergey Ryazanov
2021-06-22 13:48   ` Loic Poulain
2021-06-21 22:50 ` [PATCH net-next v2 05/10] wwan: core: remove all netdevs on ops unregistering Sergey Ryazanov
2021-06-22 13:50   ` Loic Poulain
2021-06-21 22:50 ` [PATCH net-next v2 06/10] net: iosm: drop custom netdev(s) removing Sergey Ryazanov
2021-06-21 22:50 ` [PATCH net-next v2 07/10] wwan: core: no more hold netdev ops owning module Sergey Ryazanov
2021-06-22 13:51   ` Loic Poulain
2021-06-21 22:50 ` [PATCH net-next v2 08/10] wwan: core: support default netdev creation Sergey Ryazanov
2021-06-22 14:04   ` Loic Poulain
2021-06-22 15:18     ` Sergey Ryazanov
2021-06-22 17:11       ` Loic Poulain
2021-06-21 22:50 ` [PATCH net-next v2 09/10] net: iosm: create default link via WWAN core Sergey Ryazanov
2021-06-21 22:51 ` [PATCH net-next v2 10/10] wwan: core: add WWAN common private data for netdev Sergey Ryazanov
2021-06-22 17:20 ` [PATCH net-next v2 00/10] net: WWAN link creation improvements patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.