From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D4CCC433E0 for ; Tue, 26 Jan 2021 20:59:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8C1522B3F for ; Tue, 26 Jan 2021 20:59:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729524AbhAZE4X (ORCPT ); Mon, 25 Jan 2021 23:56:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727623AbhAYKkS (ORCPT ); Mon, 25 Jan 2021 05:40:18 -0500 Received: from canardo.mork.no (canardo.mork.no [IPv6:2001:4641::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A745BC0613D6 for ; Mon, 25 Jan 2021 00:17:46 -0800 (PST) Received: from miraculix.mork.no (fwa142.mork.no [192.168.9.142]) (authenticated bits=0) by canardo.mork.no (8.15.2/8.15.2) with ESMTPSA id 10P8HQIN002354 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 25 Jan 2021 09:17:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1611562646; bh=R7aulhCCO9sOx8R198iunkSx8yr8OXmBUyFDbNWK+ZA=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=JXfX2u1rBjz4z6yykatnfF1MNf+b9D+14eTnf/rJaGHRQcV3XNpex0LCbH1lQh/NO hYorUPPwpdeDZ26e6MLg0VOysLEILiBTEd7m4cQB0NdrloUIA3Mr5PVXedD6RUjCgC GVTF4jq+9QDmR31dzisqRoB51zEYtIGY5ycHgvWc= Received: from bjorn by miraculix.mork.no with local (Exim 4.94) (envelope-from ) id 1l3x3t-000ChL-BW; Mon, 25 Jan 2021 09:17:25 +0100 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Subash Abhinov Kasiviswanathan Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, stranche@codeaurora.org, aleksander@aleksander.es, dnlplm@gmail.com, stephan@gerhold.net, ejcaruso@google.com, andrewlassalle@google.com Subject: Re: [PATCH net-next v2] net: qmi_wwan: Add pass through mode Organization: m References: <1611560015-20034-1-git-send-email-subashab@codeaurora.org> Date: Mon, 25 Jan 2021 09:17:25 +0100 In-Reply-To: <1611560015-20034-1-git-send-email-subashab@codeaurora.org> (Subash Abhinov Kasiviswanathan's message of "Mon, 25 Jan 2021 00:33:35 -0700") Message-ID: <87pn1tjuqy.fsf@miraculix.mork.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: clamav-milter 0.102.4 at canardo X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Subash Abhinov Kasiviswanathan writes: > Pass through mode is to allow packets in MAP format to be passed > on to the stack. rmnet driver can be used to process and demultiplex > these packets. > > Pass through mode can be enabled when the device is in raw ip mode only. > Conversely, raw ip mode cannot be disabled when pass through mode is > enabled. > > Userspace can use pass through mode in conjunction with rmnet driver > through the following steps- > > 1. Enable raw ip mode on qmi_wwan device > 2. Enable pass through mode on qmi_wwan device > 3. Create a rmnet device with qmi_wwan device as real device using netlink > > Signed-off-by: Subash Abhinov Kasiviswanathan Thanks! Looks good, and takes us at least one small step closer to a shared wwan userspace ABI Acked-by: Bj=C3=B8rn Mork