Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3805803ybi; Tue, 18 Jun 2019 06:50:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNd2Aw2zd6rS8BXj7TpJfgjFrEWUiDyjQRzurlP2ABX+lrN4dDnnIrYgZ0fRRwa3ux5Pg4 X-Received: by 2002:a17:90a:a008:: with SMTP id q8mr5368262pjp.114.1560865858414; Tue, 18 Jun 2019 06:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560865858; cv=none; d=google.com; s=arc-20160816; b=IAEHpEFpflFNgfnfr1wE+SYa0jPGzamVcxHNZXPvG9mGMWzh0EXXb1uxjYDKislkGn NfM0QcjZjjQFkyt8JqqxaA0CQN6FrHuapnz0ZUve/yZFnANUXZYuaaqWlD4xTXgXD1VJ xG1zdyu5s7Xwm67Bg1Da5UW8fnyGMIp2Nl+13r9cZNDlPx5oy/H0va0WZQPwV1GJRTIU PWsQMygAJ8CHkW1dHKJdOPBGU1NXEbLi//ISXMUcgP6npcrOiDKnwkO5IAytssFqT2ZL 8fE6GsCcr+x1b+++k3zcK3SPhbDyoNzXwUSjWNKe2ECtAy43d0lekd/q10ebzjGgY5oQ l7+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=adlKPrwpF847OzhxpvAIaUJHnKpv+DcgWsB6FU5ma+M=; b=ftM9pQyARWZ9vlzhmZ9OZwhf0iREkEoubJ9Xs5inwFQykHjRaXQ1LDtczqI/uy2FNF nCzXazww4fhybUWmRBQQBHt5TQ82oD6sgntxN2xzI5AluzffMKOA/xrw2A1nwuL+jhS8 sEMwpXljA3Q5OdEZJWD3AEn23LjjZYfiGsPcUN01n7xZWcL6U5ixB1e1FTVNpJDyNfFa 2GDnvRzHWpddWatrjC2Bqco9H3SH6TY0l8pm9OEaNNPWl+1LpkvqxASvVgYTQC5Kd3Vu XFyjbOUaOVg9uqvW/zyzyrL8emUG6gMzjmdtlQ8aidevM7a0kavApYUwD9KMVffmLtsf tZAA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si10908320pll.111.2019.06.18.06.50.43; Tue, 18 Jun 2019 06:50:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729598AbfFRNsx (ORCPT + 99 others); Tue, 18 Jun 2019 09:48:53 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:35096 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbfFRNsw (ORCPT ); Tue, 18 Jun 2019 09:48:52 -0400 Received: by mail-qt1-f194.google.com with SMTP id d23so15363849qto.2; Tue, 18 Jun 2019 06:48:52 -0700 (PDT) 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=adlKPrwpF847OzhxpvAIaUJHnKpv+DcgWsB6FU5ma+M=; b=g28SISNBz50q7A99LjE5M18cWIZlm6vRN+3UCA7OqcaxUDZecvAOeTl4512khAESXt hjq7Qecf9LP2QhYgLS85/oIlUTSm+bX68dGrmSfkbxjPqdY2pGgf9zCh0b7IAaKvpHW/ GPmBIyABkND63KP/u0j82NJmz3+qRBSA+hrjdyPNlXWWKBsnsdGQFUuFI7STv2LnMOqj M7Sd4K8HVmboM532kxixvZ6WwT13c69N9+/gQ3Wx9DSdwuzC2KsG6Z2/pTOYL2cXSrFv 588HvWsbm7sgBzZ4gb0C29CUCFIK3vTrq8qYhzO33ypusWtuSveFB0tciOQeM6HdYjGI SzRg== X-Gm-Message-State: APjAAAX8OaYUjEQMYD6xHb5nzFLkvi8w2xK0ii6NUDdLYyJPGATzt47B t0lJXcmekMcFCQStj0HX/tPMdEi0gTxhXBLXYYNUWsMrYz0= X-Received: by 2002:a0c:8b49:: with SMTP id d9mr26718089qvc.63.1560865731462; Tue, 18 Jun 2019 06:48:51 -0700 (PDT) MIME-Version: 1.0 References: <380a6185-7ad1-6be0-060b-e6e5d4126917@linaro.org> <066e9b39f937586f0f922abf801351553ec2ba1d.camel@sipsolutions.net> In-Reply-To: From: Arnd Bergmann Date: Tue, 18 Jun 2019 15:48:32 +0200 Message-ID: Subject: Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver To: Alex Elder Cc: Johannes Berg , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 3:16 PM Alex Elder wrote: > On 6/17/19 6:28 AM, Johannes Berg wrote: > > On Tue, 2019-06-11 at 13:56 +0200, Arnd Bergmann wrote: > > I'm probably missing something, but I think the checksum > offload could be handled by the IPA driver rather than > rmnet. It seems to be an add-on that is completely > independent of the multiplexing and aggregation capabilities > that QMAP provides. My best guess is that it is part of rmnet simply because this can be done in a generic way for any qmap based back-end, and rmnet was intended as the abstraction for qmap. A better implementation of the checksumming might be to split it out into a library that is in turn used by qmap drivers. Since this should be transparent to the user interface, it can be moved there later. > >>> If true though, then I think this would be the killer argument *in > >>> favour* of *not* merging this - because that would mean we *don't* have > >>> to actually keep the rmnet API around for all foreseeable future. > > This is because it's a user space API? If so I now understand > what you mean. Yes, I think agreeing on the general user interface is (as usual) the one thing that has to be done as a prerequisite. I had originally hoped that by removing the ioctl interface portion of the driver, this could be avoided, but that was before I had any idea on the upper layers. Arnd