Re: [PATCH] Add Multiple TX/RX Queues Support for WWAN Network Device

From: Xiayu Zhang
Date: Thu Dec 16 2021 - 07:13:38 EST


Hi Sergey and Loic,

Really thank you for these information.

It seems that I need to submit another patch for discussion.

At the meantime, I have some questions below and hope you could do me a
favor.

On Wed, 2021-12-15 at 22:16 +0800, Sergey Ryazanov wrote:

> There are two things that trigger the discussion:
> 1) absence of users of the new API;

Can I choose WWAN device simulator (wwan_hwsim.c) as the in-tree user
for these new APIs? And, Can I submit new APIs and changes for the user
driver in a single patch?

> 2) an attempt to silently correct a user choice instead of explicit
> rejection of a wrong value.

I will try to follow this:
a. If user doesn't specify a number, use WWAN driver's default
number.
b. If user specifies an improper value, reject it explicitly.