gve: Rx Buffer Recycling
This patch lets the driver reuse buffers that have been freed by the networking stack. In the raw addressing case, this allows the driver avoid allocating new buffers. In the qpl case, the driver can avoid copies. This patch separates the page refcount tracking mechanism into a function gve_rx_can_recycle_buffer which uses get_page - this will be changed in a future patch to entirely eliminate the use of get_page in tracking page refcounts. Signed-off-by:David Awogbemila <awogbemila@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
ede3fcf5
Please register or sign in to comment