Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp810260pxf; Thu, 8 Apr 2021 13:07:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfaAN7JPn5Mmxjg8kobN82C2XOvlneey/iwG6V+J6PGDU7XcfbPpmml9//49Gwi4tmsQeJ X-Received: by 2002:a05:6402:c8:: with SMTP id i8mr14114070edu.57.1617912461874; Thu, 08 Apr 2021 13:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617912461; cv=none; d=google.com; s=arc-20160816; b=Zpz8lIcC2F8LGUnIeEgPCcmoB4EkLs6j5GRALdQTi6/hPqdY4ylIuv2H7i1Bh6958u /i1zJcSmunxQrjI9ZFBixWPVPHXn/gCMGuPyZRsH+6kdJ8hiXi1a2wQCcuKZ9GQCSDMZ PHCO298vjaL2Zbxe3+0IUZDmPCnO0HLCK6HPQoZs6NLTmZTux8Z0fjeQfq2hSq+w8pl7 +PncgFiZc4/FyXw4Rf2gM2Lwz36CUw4JwSnc4p2/BPCaDW4M8JX1ClL+9yGXSf3WPbhF IUBGCgA1LmFu9HUilKx3Dtubtxo+9xNfQO2323cMIOzV86db7gdc9ldbtYyAd8WSHiKv sQ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tMNaMbTulZVWFzBX43p/fXwF2BC09PvT07FCozD76VU=; b=0iZDjspJiVSD8ciQICC3kiBkJiCAXRN7fUqqOz6kueQ372/8OUMXFc7y8p0rwkuXmy JtCElbWipGDXBp0Vu4CWSH/DYaRZeVs43Fz5Y4MTdfvbv+Hv5ccDAe62N1I49hdiwWqh 02+aqClC7tIy1kKZGblfn97uG+8ra6I7lWU0XvXI2erXOSG3H8aomkVuu5tLiuJMVKS/ sDMlDYN/n9b6fXsgzw/C9cMRMcGWMqKx/O+PoqP3BnIeUkWZZZelBxO9BD5X7Im+guXu DHtnFkxuHlSiugEZ56pBdIRaGLMbNAPQKAeIFzs2mL9yQiXVS5p//OWPzh3bDt4YgVEJ fsZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aleksander-es.20150623.gappssmtp.com header.s=20150623 header.b=wTQsR+4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s22si267614ejo.518.2021.04.08.13.07.18; Thu, 08 Apr 2021 13:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aleksander-es.20150623.gappssmtp.com header.s=20150623 header.b=wTQsR+4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232085AbhDHUGO (ORCPT + 99 others); Thu, 8 Apr 2021 16:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231451AbhDHUGO (ORCPT ); Thu, 8 Apr 2021 16:06:14 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28EA8C061760 for ; Thu, 8 Apr 2021 13:06:01 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id h6-20020a0568300346b02901b71a850ab4so3534314ote.6 for ; Thu, 08 Apr 2021 13:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleksander-es.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tMNaMbTulZVWFzBX43p/fXwF2BC09PvT07FCozD76VU=; b=wTQsR+4POzo16nXanctMMf2DY1pekJQorxnW8aa+rOq7fwPpmiyovyCeKhrHO0vpX/ 7DQdwXurJvdQj+IkuBbgJAbDaLZV/QKWsUWQLYRsShywUzf1cY0J7fqpXZL0lmoJzRAG tbW5zQC/IzJzksdHFL7gl5QH+uB4UrDJGlFfH9z3PrCQJb0hfA//fONntwDGLDc0NDME +KGGwqrXbKmD0LFcYRYXWe/AwPsCTGSRRLTLQLwM/w8gfkMwZPOSp0MYxcDObVc7nPUu ZazRA3CZOPqVHZOsfZH6IEC24WNXoOk60V7nBxRc1BJ6j2aKmAcbDBN4615xdM/jetri c8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tMNaMbTulZVWFzBX43p/fXwF2BC09PvT07FCozD76VU=; b=QFW4YObO6XO8RRwOE3q4rdAcENgctCV+sNXewTkx3T7vddmniATnFco/LRjXIKzv01 I/L+P08m9kb7KCZNyq3heQl8SL4eCwuPyS7z2azT7KiSg0WCSE+7xm2KwEl0BJm38Iew 4EKQwJ3ZDQhdkIoIP6AqeCP9qpM3/FOBYQ0+pGrUCd37VP7ruo7gjI/3wPMosSaLjBL/ LCwKoVY+ZEmrCD6NkTkdz/2yTYantYgBRz5+hJlkxJYzTs1gAz8eszFq4o89BWMU0+Nv Z0CtYuC4n6Mx4+rfTvC8r8lnGlVtpesicIUuoeKeUrnJkHdqFC5hKvoqNLvX2GYrqj+Z SWsg== X-Gm-Message-State: AOAM5303SsJILC+v9+iJtMBsxeL7Wg1NBal0cFZ2yXncNE375M187viY WoyqsL5HOIkMYA7N0VcSI5T27I8kGeDwZ+B283p+jg== X-Received: by 2002:a05:6830:210e:: with SMTP id i14mr9235389otc.229.1617912360590; Thu, 08 Apr 2021 13:06:00 -0700 (PDT) MIME-Version: 1.0 References: <1617616369-27305-1-git-send-email-loic.poulain@linaro.org> In-Reply-To: From: Aleksander Morgado Date: Thu, 8 Apr 2021 22:05:49 +0200 Message-ID: Subject: Re: [PATCH net-next v9 1/2] net: Add a WWAN subsystem To: Loic Poulain Cc: Dan Williams , Greg Kroah-Hartman , Jakub Kicinski , David Miller , linux-arm-msm , open list , Network Development , Bjorn Andersson , Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey, > > * Note: Userspace tools like ModemManager are able to link control > ports and netdev by looking at the sysfs hierarchy, it's fine for > simple connection management, but probably not enough for 'multi PDN' > support for which devices may have multiple netdev and ports > targetting different 'PDN contexts'... > ModemManager is happy with those devices exposing multiple netdevs (even connecting different net ports to different contexts/bearers and such), as long as we can bind all those ports together to the same "modem device". The sysfs hierarchy has been enough for now for that purpose; or better said, without the sysfs hierarchy it would not have worked properly. E.g. there are some drivers out there allowing to instantiate virtual net ports from a master net port; without proper links in sysfs to link those virtual net ports to the master net port, the setup would be extremely unstable. -- Aleksander https://aleksander.es