Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5556777ybi; Tue, 4 Jun 2019 08:23:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqykk/4+dOfbChhK19i0hqCfY3fCJvPWyYNNDiAQkJouw1FkXir9XCUZ5Jq3ES+XORmEFbni X-Received: by 2002:a63:3d0b:: with SMTP id k11mr37108617pga.349.1559661826459; Tue, 04 Jun 2019 08:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559661826; cv=none; d=google.com; s=arc-20160816; b=K77DNAR7SLyRdpFo9yMobYpfxTA2rm3/C/dg2/4GlUwLy+DIrTxPsDn4fRHzLTxbCv cCXm0NLFWSn3PXFWmsj3ghbnDGnsDD8eCyOEf1ZMMXu+ldYH5/7H+Xz4AZqAV4GRLvBa DYppi75YUC0iirA2BVv1Uh/+WCIVJ19VAPv4atfLeZ8iS1RnGq9QY7NkgwebKQF3xbom kJO0wh8JT9j27zAeaIFK38gQqWzVgFmzDJHclaJdQnrXxVDzrxBSPhiiAzFGpKMLmOhm Fn2y/fBJhc5dCxVJDX/U7o+AfTqWtKlM7iE7FsM16KgMDgVPuNuOGD7d927lPF/ORLff 6ZLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=grnl/391vnzAiaGm8Z0Q7oThHawsCmHD5GgJe7cvo5A=; b=XUg3+E72VPM9m1KI9FkPB+ZK8JUkrxVT3Cdmbi0NBxrjIRGiavXDh35HF+lWK2n33e Bgod9hGVxlW7AKAHVF7CzlVo8Pcl0GR13RWPkcUxO43MK+dyqI3QDqc44BSl1ahCVGHD qjQ4pghQei9wQOpyQ8vpxbxDtn0yCfaun6pALUm87V1ml27BvD178hYxROOoDNSOUaia YYKT3suBlfixB+E/1XLTd9QxRkf2QFAH7buauneAxZ6jq12B2RaB1F6DWMrwN8Vfodyh Byp7LgdomWGBDtCw9xk/pt+baFm+Bukh2hrIg+T85QsBk8wXW7zhQNmLY9dDhfQb3I3k Ehsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si16634963pju.25.2019.06.04.08.23.28; Tue, 04 Jun 2019 08:23:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728214AbfFDPVw (ORCPT + 99 others); Tue, 4 Jun 2019 11:21:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56478 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbfFDPVw (ORCPT ); Tue, 4 Jun 2019 11:21:52 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 87F6D2F8BC8; Tue, 4 Jun 2019 15:21:46 +0000 (UTC) Received: from ovpn-112-67.rdu2.redhat.com (ovpn-112-67.rdu2.redhat.com [10.10.112.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 23E621001947; Tue, 4 Jun 2019 15:21:41 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver From: Dan Williams To: Subash Abhinov Kasiviswanathan Cc: Alex Elder , Arnd Bergmann , David Miller , Bjorn Andersson , Ilias Apalodimas , evgreen@chromium.org, Ben Chan , Eric Caruso , cpratapa@codeaurora.org, syadagir@codeaurora.org, abhishek.esse@gmail.com, Networking , DTML , Linux Kernel Mailing List , linux-soc@vger.kernel.org, Linux ARM , linux-arm-msm@vger.kernel.org Date: Tue, 04 Jun 2019 10:21:41 -0500 In-Reply-To: References: <20190531035348.7194-1-elder@linaro.org> <065c95a8-7b17-495d-f225-36c46faccdd7@linaro.org> <3b1e12b145a273dd3ded2864d976bdc5fa90e68a.camel@redhat.com> <87f98f81-8f77-3bc5-374c-f498e07cb1bd@linaro.org> <0fc29577a5c69530145b6095fa1ac1a51949ba8e.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 04 Jun 2019 15:21:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-06-03 at 13:04 -0600, Subash Abhinov Kasiviswanathan wrote: > > > I can't (or won't) comment right now on whether IPA needs its own > > > netdev for rmnet to use. The IPA endpoints used for the modem > > > network interfaces are enabled when the netdev is opened and > > > disabled when closed. Outside of that, TX and RX are pretty > > > much immediately passed through to the layer below or above. > > > IPA currently has no other net device operations. > > > > I don't really have issues with the patchset underneath the netdev > > layer. I'm interested in how the various bits present themselves to > > userspace, which is why I am trying to tie this in with Johannes' > > conversation about WWAN devices, netdevs, channels, and how the > > various > > drivers present API for creating data channels that map to > > different > > modem contexts. > > > > So let me rephrase. If the control plane has set up the default > > context > > and sent a QMI Start Network message (or the network attached the > > default one) and the resulting IP details are applied to the IPA > > netdev > > can things just start sending data? Or do we need to create an > > rmnet on > > top to get that working? > > > > Dan > > Hi Dan > > All data from the hardware will have the MAP headers. > We still need to create rmnet devs over the IPA netdev and use it > for > the > data path. > The IPA netdev will pass on the packets which it receives from the > hardware > and queue it to network stack where it will be intercepted by the > rmnet rx handler. Ok, so IPA only needs a netdev so that rmnet has something to send/receive packets to/from? This gets even closer to the discussion in "cellular modem driver APIs - take 2" from last week. Dan