Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2812243ybd; Mon, 24 Jun 2019 13:09:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZnl+oXqXBJydinJoJhuQjzkgAG3XaZEqqgByIB276nm1lQMPTi3xBI3fuyKGrOU3HFPN0 X-Received: by 2002:a17:90a:3ac2:: with SMTP id b60mr27298816pjc.74.1561406956015; Mon, 24 Jun 2019 13:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561406956; cv=none; d=google.com; s=arc-20160816; b=t4ZEjL7rdcBiSbiDLfMEWyBy9Xz/KZx2pTBiG6Bwz6Bw9gsVPNI0iz4CKTXJAlaTPU g6KD0kHODC6Fd9ZnlKR0vfLRngGeYyryu25xyLVhABAdn0aXCxtXMLEYIaoqNeNc4gR9 8ibarmutSU5ECYzq40QyOYNJoJdNcpPEmPN46jmC+/JaxsPMLGbNP95JSfd4HIXpu8RO q+nnCoA/HbEoanf5ls7IUC3uvMycn/hIfNTDy8Z3cN2Qh666rVal/Ti83xgeUE1LNBRm 2r5tuktevTg8gJVTKc6N0zR9dw36mooe3tOExNww34jOasOnBwKgP2+YWXJRdlNlhI5Z 37ug== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=EO8eeZ48f6EoVfLk0+Ia7DkcWqdLXYNwWud7QgwjUxA=; b=WjQ1JV4umFL83uu75AiYayQ+hCSGfQHQRWMST627rGPXlmw7m8zmNkLRYg3+PKloQx 6e94tsZv/rzbn2yb0Cx/lU2SQnESyGdFuClIz7D68LGGdTvfPgHlCV/EvvB/OSCQXRuI 0Ro2cAOf1yIfwa+8yRhd7v870kAnWmsvtcHufZkYq12vAsNbD4Fse9dRix/kRhyj9Csr TL+uxrS0FD+totrbws4lSmltIx5gqTY2WQikno4xDcl8DgfI2TQ5SXol2MRRKeGDJnv/ EIdrmuN2xUCMmZHWupYdbhhis33mJTNomPCM/guuZ+GTSu28T4cvUcIBSvr/0X1OYkCN S4EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j/ELAhg2"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i18si11228062pfd.64.2019.06.24.13.09.00; Mon, 24 Jun 2019 13:09:15 -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=@linaro.org header.s=google header.b="j/ELAhg2"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728028AbfFXQV4 (ORCPT + 99 others); Mon, 24 Jun 2019 12:21:56 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:33646 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732035AbfFXQVx (ORCPT ); Mon, 24 Jun 2019 12:21:53 -0400 Received: by mail-io1-f67.google.com with SMTP id u13so1759970iop.0 for ; Mon, 24 Jun 2019 09:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EO8eeZ48f6EoVfLk0+Ia7DkcWqdLXYNwWud7QgwjUxA=; b=j/ELAhg2UmVVT/WszfKjP0eVP6XomPXTVwyKZdSvtL+ZfxzgYeaOtX9ahKvHpdamwH yVYSC/sOcvC8M2NmLy8DvQG5D7Z/9PyPVOM9lRo7OPF78WmueHL0Jgp1zGC2hWPlPP4l hTKVN++WoXD0aVpQikgglS80GZqpeLwsNlRnC3v8TH9LiWO6KIVVwG513TZgIvq6yUod bz50kbawIi6oofsSlwp9FymUCenj4mpFg7X7Uv9wYKx04iWTbcLMvqdhMU/A6/BaGxR+ Uv4bT5iOViDyTKoOUWZaxUnDw0W0DlptJe0+0yKvAjAmhuuHpCDLUYaCza9GBCGYL7XJ R2aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EO8eeZ48f6EoVfLk0+Ia7DkcWqdLXYNwWud7QgwjUxA=; b=pbag3YHDeXe4Le2a7+tj6VD28fVuZBuLx40F+/BFe34UguzH9gEMVRNGBzDQaoUg7b Qa9fzZCNUsC4p/7S2irvlJfSAjQ5Un/76egy/+bBX+iAuk6Y759L4NfiveqQ5IH93ewa EgQHGP3Y30oGqHjaDX60YIew+mmBcuZX2xvalOxbsYbUQbTIo5rbzOtGeH2DMDfawsUF PK8mW1XeyFjc59dGqMIODnQm+RAM+c+jqNqZVcrtHusd8/j+mmzJLUTM5ZzsrqtpFriJ ZsvERuej5808yNfYnqJDdnoyBH9RFRTo+RYeC0ilYIGqFw+LNNys0jaujc87MLNBRCK5 rjkw== X-Gm-Message-State: APjAAAV5S5OMKr/8ecexl68gQ/9HFkkqh10nauKxGQ1VZMxLL55N1hnA ozfOXxGeTVeffs0nSzmImsIgaw== X-Received: by 2002:a5e:9308:: with SMTP id k8mr266555iom.143.1561393312086; Mon, 24 Jun 2019 09:21:52 -0700 (PDT) Received: from [172.22.22.26] (c-71-195-29-92.hsd1.mn.comcast.net. [71.195.29.92]) by smtp.googlemail.com with ESMTPSA id l11sm14545587ioj.32.2019.06.24.09.21.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 09:21:51 -0700 (PDT) Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver To: Johannes Berg , Arnd Bergmann Cc: abhishek.esse@gmail.com, Ben Chan , Bjorn Andersson , cpratapa@codeaurora.org, David Miller , Dan Williams , DTML , Eric Caruso , evgreen@chromium.org, Ilias Apalodimas , Linux ARM , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , linux-soc@vger.kernel.org, Networking , Subash Abhinov Kasiviswanathan , syadagir@codeaurora.org References: <380a6185-7ad1-6be0-060b-e6e5d4126917@linaro.org> <583907409fad854bd3c18be688ec2724ad7a60e9.camel@sipsolutions.net> <31c2c94c-c6d3-595b-c138-faa54d0bfc00@linaro.org> From: Alex Elder Message-ID: <5ffbcce1-f93d-5746-5037-9dcc03cd73f0@linaro.org> Date: Mon, 24 Jun 2019 11:21:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/18/19 2:22 PM, Johannes Berg wrote: > On Tue, 2019-06-18 at 09:00 -0500, Alex Elder wrote: . . . > Anyway, I think for now we could probably live with not having this > configurable for the IPA driver, and if it *does* need to be > configurable, it seems like it should be a driver configuration, not a > channel configuration - so something like a debugfs hook if you really > just need to play with it for performance testing, or a module > parameter, or something else? > > Or even, in the WWAN framework, a knob that we provide there for the > WWAN device, rather than for the (newly created) channel. Agreed. I think a knob is appropriate, it's just a question of how that control exposed. Same answer to your question below. -Alex >> The hardware is capable of aggregating QMAP packets >> arriving on a connection into a single buffer, so this provides >> a way of requesting it do that. >> >>>> #define RMNET_FLAGS_INGRESS_MAP_COMMANDS (1U << 1) >>> >>> Similar here? If you have flow control you probably want to use it? >> >> I agree with that, though perhaps there are cases where it >> is pointless, or can't be supported, so one might want to >> simply *not* implement/advertise the feature. I don't know. > > Sure, but then that's likely something the driver would need to know, > not necessarily userspace? > > johannes >