linux/drivers/net/ethernet/google/gve
Catherine Sullivan 58401b2a46 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: ede3fcf5ec ("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>
2021-10-11 23:25:35 +01:00
..
gve_adminq.c ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
gve_adminq.h gve: Update adminq commands to support DQO queues 2021-06-24 12:47:38 -07:00
gve_desc_dqo.h gve: Add dqo descriptors 2021-06-24 12:47:37 -07:00
gve_desc.h gve: Add support for raw addressing in the tx path 2020-12-08 16:06:28 -08:00
gve_dqo.h gve: DQO: Add TX path 2021-06-24 12:47:38 -07:00
gve_ethtool.c gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00
gve_main.c gve: Switch to use napi_complete_done 2021-10-11 23:25:35 +01:00
gve_register.h gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags. 2020-09-11 14:31:54 -07:00
gve_rx_dqo.c gve: DQO: Remove incorrect prefetch 2021-07-02 12:06:17 -07:00
gve_rx.c gve: Add rx buffer pagecnt bias 2021-10-11 23:25:35 +01:00
gve_tx_dqo.c gve: DQO: avoid unused variable warnings 2021-09-28 15:24:36 +01:00
gve_tx.c gve: DQO: avoid unused variable warnings 2021-09-28 15:24:36 +01:00
gve_utils.c gve: DQO: Add RX path 2021-06-24 12:47:38 -07:00
gve_utils.h gve: DQO: Add RX path 2021-06-24 12:47:38 -07:00
gve.h gve: Switch to use napi_complete_done 2021-10-11 23:25:35 +01:00
Makefile gve: DQO: Add core netdev features 2021-06-24 12:47:38 -07:00