Re: [PATCH] vmxnet3: prevent receive getting out of sequence on napi poll

2015-07-08 Thread David Miller
From: Neil Horman Date: Tue, 7 Jul 2015 14:02:18 -0400 > vmxnet3's current napi path is built to count every rx descriptor we recieve, > and use that as a count of the napi budget. That means its possible to return > from a napi poll halfway through recieving a fragmented packet accross > mult

Re: [PATCH] vmxnet3: prevent receive getting out of sequence on napi poll

2015-07-07 Thread Neil Horman
On Tue, Jul 07, 2015 at 02:10:50PM -0400, Andy Gospodarek wrote: > On Tue, Jul 07, 2015 at 02:02:18PM -0400, Neil Horman wrote: > > vmxnet3's current napi path is built to count every rx descriptor we > > recieve, > > and use that as a count of the napi budget. That means its possible to > > ret

Re: [PATCH] vmxnet3: prevent receive getting out of sequence on napi poll

2015-07-07 Thread Andy Gospodarek
On Tue, Jul 07, 2015 at 02:02:18PM -0400, Neil Horman wrote: > vmxnet3's current napi path is built to count every rx descriptor we recieve, > and use that as a count of the napi budget. That means its possible to return > from a napi poll halfway through recieving a fragmented packet accross > m

[PATCH] vmxnet3: prevent receive getting out of sequence on napi poll

2015-07-07 Thread Neil Horman
vmxnet3's current napi path is built to count every rx descriptor we recieve, and use that as a count of the napi budget. That means its possible to return from a napi poll halfway through recieving a fragmented packet accross multiple dma descriptors. If that happens, the next napi poll will sta