Re: [PATCH net-next v2] xen-netback: make copy batch size configurable

2018-01-04 Thread Joao Martins
On 12/26/2017 10:22 PM, David Miller wrote: > From: Joao Martins > Date: Thu, 21 Dec 2017 17:24:28 + > >> Commit eb1723a29b9a ("xen-netback: refactor guest rx") refactored Rx >> handling and as a result decreased max grant copy ops from 4352 to 64. >> Before this commit it would drain the rx_

Re: [PATCH net-next v2] xen-netback: make copy batch size configurable

2017-12-26 Thread David Miller
From: Joao Martins Date: Thu, 21 Dec 2017 17:24:28 + > Commit eb1723a29b9a ("xen-netback: refactor guest rx") refactored Rx > handling and as a result decreased max grant copy ops from 4352 to 64. > Before this commit it would drain the rx_queue (while there are > enough slots in the ring to

RE: [PATCH net-next v2] xen-netback: make copy batch size configurable

2017-12-21 Thread Paul Durrant
> -Original Message- > From: Joao Martins [mailto:joao.m.mart...@oracle.com] > Sent: 21 December 2017 17:24 > To: netdev@vger.kernel.org > Cc: Joao Martins ; Wei Liu > ; Paul Durrant ; xen- > de...@lists.xenproject.org > Subject: [PATCH net-next v2] xen-netba

[PATCH net-next v2] xen-netback: make copy batch size configurable

2017-12-21 Thread Joao Martins
Commit eb1723a29b9a ("xen-netback: refactor guest rx") refactored Rx handling and as a result decreased max grant copy ops from 4352 to 64. Before this commit it would drain the rx_queue (while there are enough slots in the ring to put packets) then copy to all pages and write responses on the ring