RE: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-17 Thread Haiyang Zhang
> driverdev-devel@linuxdriverproject.org > Subject: Re: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive > Side Scaling (vRSS) > > On Sat, 2014-03-15 at 10:18 -0700, Haiyang Zhang wrote: > [...] > > #define RING_SIZE_MIN 64 > > -static int ring_size =

RE: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-17 Thread Haiyang Zhang
inuxdriverproject.org > Subject: Re: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive > Side Scaling (vRSS) > > From: Haiyang Zhang > Date: Sat, 15 Mar 2014 10:18:07 -0700 > > > - if (netif_queue_stopped(ndev) && !net_device->start_remov

Re: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-17 Thread Ben Hutchings
On Sat, 2014-03-15 at 10:18 -0700, Haiyang Zhang wrote: [...] > #define RING_SIZE_MIN 64 > -static int ring_size = 128; > +int ring_size = 128; > module_param(ring_size, int, S_IRUGO); > MODULE_PARM_DESC(ring_size, "Ring buffer size (# of pages)"); You have to add some driver-specific prefix to

Re: [PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-17 Thread David Miller
From: Haiyang Zhang Date: Sat, 15 Mar 2014 10:18:07 -0700 > - if (netif_queue_stopped(ndev) && !net_device->start_remove && > - (hv_ringbuf_avail_percent(&device->channel->outbound) > - > RING_AVAIL_PERCENT_HIWATER || > - num