Re: [PATCH] usb: gadget: rndis: add multi packages support for rndis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Greg,

These values are just used to recorded water mask of received packages per transfer.
Just to print the water mask information, they can be deleted.

Anyway, if rndis will be deleted entirely, this patch can be abandoned.

> 
> 
> On Wed, Mar 06, 2024 at 01:49:49PM +0800, Surong Pang wrote:
> > --- a/drivers/usb/gadget/function/rndis.c
> > +++ b/drivers/usb/gadget/function/rndis.c
> > @@ -39,6 +39,8 @@
> >
> >  #include "rndis.h"
> >
> > +static int max_out_pkts_per_xfer;
> > +static int max_out_size_per_xfer;
> 
> Note, this will not work, you can't have device-specific variables as a single entry, otherwise multiple devices at the same time will not
> work at all.
> 
> thanks,
> 
> greg k-h




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux