Re: [PATCH net-next v3 2/2] xen-netback: Grant copy the header instead of map and memcpy

2014-04-03 Thread David Miller
From: Zoltan Kiss Date: Wed, 2 Apr 2014 18:04:58 +0100 > An old inefficiency of the TX path that we are grant mapping the first slot, > and then copy the header part to the linear area. Instead, doing a grant copy > for that header straight on is more reasonable. Especially because there are > on

Re: [PATCH net-next v3 2/2] xen-netback: Grant copy the header instead of map and memcpy

2014-04-03 Thread Ian Campbell
ernel.org; > > Jonathan Davies; Zoltan Kiss > > Subject: [PATCH net-next v3 2/2] xen-netback: Grant copy the header > > instead of map and memcpy > > > > An old inefficiency of the TX path that we are grant mapping the first slot, > > and then copy the header part

RE: [PATCH net-next v3 2/2] xen-netback: Grant copy the header instead of map and memcpy

2014-04-03 Thread Paul Durrant
> -Original Message- > From: Zoltan Kiss > Sent: 02 April 2014 18:05 > To: Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org > Cc: Paul Durrant; net...@vger.kernel.org; linux-kernel@vger.kernel.org; > Jonathan Davies; Zoltan Kiss > Subject: [PATCH net-next v3 2/

[PATCH net-next v3 2/2] xen-netback: Grant copy the header instead of map and memcpy

2014-04-02 Thread Zoltan Kiss
An old inefficiency of the TX path that we are grant mapping the first slot, and then copy the header part to the linear area. Instead, doing a grant copy for that header straight on is more reasonable. Especially because there are ongoing efforts to make Xen avoiding TLB flush after unmap when the