[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8735ypgg6b.fsf@miraculix.mork.no>
Date: Mon, 25 Jan 2021 17:00:28 +0100
From: Bjørn Mork <bjorn@...k.no>
To: Dan Williams <dcbw@...hat.com>
Cc: Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
stranche@...eaurora.org, aleksander@...ksander.es,
dnlplm@...il.com, stephan@...hold.net, ejcaruso@...gle.com,
andrewlassalle@...gle.com
Subject: Re: [PATCH net-next v2] net: qmi_wwan: Add pass through mode
Dan Williams <dcbw@...hat.com> writes:
> On Mon, 2021-01-25 at 00:33 -0700, Subash Abhinov Kasiviswanathan
> wrote:
>> 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
>
> This option is module-wide, right?
>
> eg, if there are multiple qmi_wwan-driven devices on the system, *all*
> of them must use MAP + passthrough, or none of them can, right?
No, this is a per-netdev setting, just like the raw-ip flag.
BJørn
Powered by blists - more mailing lists