Re: [PATCH 1/2] xen/netback: don't do grant copy across page boundary

From: Paul Durrant
Date: Mon Mar 27 2023 - 05:05:15 EST


On 27/03/2023 09:36, Juergen Gross wrote:
Fix xenvif_get_requests() not to do grant copy operations across local
page boundaries. This requires to double the maximum number of copy
operations per queue, as each copy could now be split into 2.

Make sure that struct xenvif_tx_cb doesn't grow too large.

Cc: stable@xxxxxxxxxxxxxxx
Fixes: ad7f402ae4f4 ("xen/netback: Ensure protocol headers don't fall in the non-linear area")
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
---
drivers/net/xen-netback/common.h | 2 +-
drivers/net/xen-netback/netback.c | 25 +++++++++++++++++++++++--
2 files changed, 24 insertions(+), 3 deletions(-)


Reviewed-by: Paul Durrant <paul@xxxxxxx>