octeontx2-pf: Fix rx buffer page refcount
authorSunil Goutham <sgoutham@marvell.com>
Wed, 25 Mar 2020 11:41:16 +0000 (17:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2020 19:20:00 +0000 (12:20 -0700)
commite88b288ec2bfb96997e56e4b63c50af4e6fe7736
tree45e809ee06b19c2239ba1058acb1df4f32a82ada
parent1455ea1d8afba6eb9a4886d3836bd58b83a2b416
octeontx2-pf: Fix rx buffer page refcount

Fixed an issue wherein while refilling receive buffers
for the last page allocated, recount is not being updated.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c