summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorCatherine Sullivan <csully@google.com>2021-10-11 08:36:45 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-11 23:25:35 +0100
commit58401b2a46e7d5090873e7725ac786685475d638 (patch)
treec1646970e8ffb91c964b48d183c6efd880bea52b /drivers/virtio
parent2cb67ab153d59473d67713c709a198922b7e87a3 (diff)
downloadlinux-stable-58401b2a46e7d5090873e7725ac786685475d638.tar.gz
linux-stable-58401b2a46e7d5090873e7725ac786685475d638.tar.bz2
linux-stable-58401b2a46e7d5090873e7725ac786685475d638.zip
gve: Add rx buffer pagecnt bias
Add a pagecnt bias field to rx buffer info struct to eliminate needing to increment the atomic page ref count on every pass in the rx hotpath. Also prefetch two packet pages ahead. Fixes: ede3fcf5ec67f ("gve: Add support for raw addressing to the rx path") Signed-off-by: Yanchun Fu <yangchun@google.com> Signed-off-by: Nathan Lewis <npl@google.com> Signed-off-by: Catherine Sullivan <csully@google.com> Signed-off-by: David Awogbemila <awogbemila@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions