gve: Allow pageflips on larger pages
authorJordan Kim <jrkim@google.com>
Mon, 11 Oct 2021 15:36:49 +0000 (08:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Oct 2021 22:25:36 +0000 (23:25 +0100)
commitea5d3455adf1f3d47130604e6d353b23c3ee4a50
tree8556808c2767ac5f9d912a01507018b4dc3a5ad7
parent4edf8249bcd1c554b1a34166ca4ea5630031ecf5
gve: Allow pageflips on larger pages

Half pages are just used for small enough packets. This change allows
this to also apply for systems with pages larger than 4 KB.

Fixes: 02b0e0c18ba75 ("gve: Rx Buffer Recycling")
Signed-off-by: Jordan Kim <jrkim@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_rx.c