net/bnxt: refactor Rx ring cleanup for representors
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 26 Oct 2021 05:14:55 +0000 (22:14 -0700)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 27 Oct 2021 01:52:02 +0000 (03:52 +0200)
commit43e7d2a30d9eb93f6876e89f80de338d751fa178
treef7b33dc6b795b863bd4f772616315a33fc7574d4
parentdf07aa22d1eb45f6077473adf967a2941a584cbe
net/bnxt: refactor Rx ring cleanup for representors

Rx ring for representors does not use aggregation rings for Rx.
Instead they use simple software buffers for handling Rx packets.
So there is no need to use the same cleanup routine as done by
the non-representor code path.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_reps.c