On Mon, 21 Mar 2005, Matthew Helsley wrote:

> On Wed, 2005-03-16 at 23:15, Vivek Kashyap wrote: 
> > Signed-off-by: Vivek Kashyap <[EMAIL PROTECTED]>
> >                                                                             
> >                 
> > --- a/include/linux/tcp.h   2005-01-21 17:48:00.000000000 -0800
> > +++ b/include/linux/tcp.h   2005-02-22 11:55:42.000000000 -0800
> > @@ -127,6 +127,7 @@ enum { 
> >  #define TCP_WINDOW_CLAMP   10      /* Bound advertised window */
> >  #define TCP_INFO           11      /* Information about this connection. */
> >  #define TCP_QUICKACK               12      /* Block/reenable quick acks */
> > +#define TCP_ACCEPTQ_SHARE  13      /* Set/get accept queue share */
> >  
> >  #define TCPI_OPT_TIMESTAMPS        1
> >  #define TCPI_OPT_SACK              2
> > @@ -190,6 +191,18 @@ struct tcp_info
> >     __u32   tcpi_total_retrans;
> >  };
> >  
> > +#define NUM_ACCEPT_QUEUES      (1 << CONFIG_ACCEPT_QUEUES)
> > +#define NUM_ACCEPT_QUEUES_BITS (NUM_ACCEPT_QUEUES-1)
> > +#define ACCEPTQ_PERCENTILE     10      /* ratio in 1/10 increments */
> > +
> > +struct tcp_acceptq_info {
> > +       unsigned char acceptq_shares;
> > +       unsigned long acceptq_wait_time;
> > +       unsigned int acceptq_qcount;
> > +       unsigned int acceptq_count;
> > +};
> > +
> > +
> 
>       How about changing acceptq_shares to an int? The two alternative

Yes, that will be good.  I'll send an update.

Vivek



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to