gve: Track RX buffer allocation failures
authorCatherine Sullivan <csully@google.com>
Mon, 11 Oct 2021 15:36:50 +0000 (08:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:31 +0000 (19:16 +0100)
commit6b084516fbc30979a75757f222e96dbbcfe6ff5e
treead776579e65ad94aff4b8a10fb7ce62590fb2e1e
parentfd2c9032b88c7c8524801458fb02091caca3821d
gve: Track RX buffer allocation failures

[ Upstream commit 1b4d1c9bab091ac6e20a3ff80c30c5cefe192bf4 ]

The rx_buf_alloc_fail counter wasn't getting updated.

Fixes: 433e274b8f7b0 ("gve: Add stats for gve.")
Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/google/gve/gve_rx.c