mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "庞苏荣 (Surong Pang)" <surong.pang@unisoc.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"翟京 (Orson Zhai)" <Orson.Zhai@unisoc.com>,
	"刘智勇 (Zhiyong Liu)" <Zhiyong.Liu@unisoc.com>,
	"Surong.Pang@gmail.com" <Surong.Pang@gmail.com>
Subject: Re: [PATCH] usb: gadget: rndis: add multi packages support for rndis
Date: Tue, 26 Mar 2024 10:52:45 +0000	[thread overview]
Message-ID: <4a9042d738d94d5da1457260185c95d6@shmbx05.spreadtrum.com> (raw)

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

             reply	other threads:[~2024-03-26 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-26 10:52 庞苏荣 (Surong Pang) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-26 10:47 庞苏荣 (Surong Pang)
2024-03-26 14:07 ` Greg KH
2024-03-06  5:49 Surong Pang
2024-03-26  9:34 ` Greg KH
2024-03-26  9:36 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a9042d738d94d5da1457260185c95d6@shmbx05.spreadtrum.com \
    --to=surong.pang@unisoc.com \
    --cc=Orson.Zhai@unisoc.com \
    --cc=Surong.Pang@gmail.com \
    --cc=Zhiyong.Liu@unisoc.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®