Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4504329ybi; Mon, 3 Jun 2019 12:06:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxKuGs5AgQPb9EqkRYO68XTYA8YHg/s2QCmV6qc+UDbwT5wmz5/tB+AdHP1v0NVHpNiKiR X-Received: by 2002:a63:5d45:: with SMTP id o5mr30808598pgm.40.1559588784950; Mon, 03 Jun 2019 12:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559588784; cv=none; d=google.com; s=arc-20160816; b=cs/evLUwlRmLkdVmugmOAgPql4RXyTiDtNnUYGxo1VK4GBWBigHipTbHmytw7NkfMM t5/veRoH5B280/PyrkuzIRXBSFL5aY891wb88XpzemClinA1FyAZqpi27T9KBx4HtEcP sQqS3oF27vOYhDa8i29HWlyXfMim3AjobdaxmNk9mJW96YUSSqAN+JfbAfuWenUPH0OI 7sIYNUE9SISPZrPsFFwOUiZ/fahW5Ld6wGkUBElHVG5tGwhRoVutrpCOHjH9Rgsu6XEJ /xLa2cAe3qSNjXdIluZfgw5lm7mco8b4wQ/j86MUnqPHF9PmAfNWwl8nPhbqPlDpiiEn G1HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=IcJzQTYVj9Ic4mn1z5gddNmxSEjYAS8OpYa3neVLtsQ=; b=0P8+KGZDs0/yBYBzm3tUrDf9/hy/o9DOdrLeHRecPMVMmb0hhEbznsY52o5iK/D8M6 M1gam4FAKuBxoaAQxOlxXtK6Lsf4I8U2CN6TnVNYMmln7UlQi5dk7YjGtZAKrMXD6TX5 pl7ws417uCDi5HVhLCG2zxlRilYXfiHg+72x72Q1TBCsEB61fnmMwnU+DHJBa+Se99/q syrbFQo1IM9SC48jbYHFGJ35OqGXCTp0xlROL0Zts4DIYwO0u0BJClaLjjTxJv9O3Rc4 pfK6twT9oViNdAIPTu5+YAA050vRUzfl1aaCh/TFWgtHvMJ79kJkEudXRWRkCMe2ITJB 8XdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=e9asATus; dkim=pass header.i=@codeaurora.org header.s=default header.b=MoQ3CkC5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i195si22682198pfe.20.2019.06.03.12.06.09; Mon, 03 Jun 2019 12:06:24 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=e9asATus; dkim=pass header.i=@codeaurora.org header.s=default header.b=MoQ3CkC5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbfFCTEo (ORCPT + 99 others); Mon, 3 Jun 2019 15:04:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36876 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbfFCTEm (ORCPT ); Mon, 3 Jun 2019 15:04:42 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BFD07607C3; Mon, 3 Jun 2019 19:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559588681; bh=2fFF2UZ1IMZoss2BdlfTKftG1dBbtIAex7bZx7hQCNA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=e9asATusPcw0LSbghmIwPQkwJg+oAHwQGTHydazcY9tQ/gFD4R4zc69ZFUkWTLl6N EHfjekEeWo6jkd01rCHpfPFf36FY5lJUx6ICYxQfcrni/SbnVoNcA+J0/XNEgUpG03 tI4hqzXe7SRakYnfbSamFoqjH5/ujpYtpSMAF6DI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 639956020A; Mon, 3 Jun 2019 19:04:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559588677; bh=2fFF2UZ1IMZoss2BdlfTKftG1dBbtIAex7bZx7hQCNA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MoQ3CkC5zUj8smO9TgVqkewwzN+bMdSvy1hwgvlG1qi8GDPxO9pSlf2g2VzGuEgZ7 iW1JFRDNNyJGMxrHj2N2KKQJ1R9sOPUWSN2u7qkqOAa3Cy9TTjpL7rWs/BRNAqeBdM IM1gEWYa2IWjjsaxCuJWM6r5brDVUnpN2UWV4XPM= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 03 Jun 2019 13:04:37 -0600 From: Subash Abhinov Kasiviswanathan To: Dan Williams 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 Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver In-Reply-To: <0fc29577a5c69530145b6095fa1ac1a51949ba8e.camel@redhat.com> 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> Message-ID: X-Sender: subashab@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> 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. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project