net/bnxt: refactor mbuf pointer reset
authorLance Richardson <lance.richardson@broadcom.com>
Tue, 2 Mar 2021 15:16:08 +0000 (10:16 -0500)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 12 Mar 2021 06:13:27 +0000 (07:13 +0100)
commit0f4d2afb09d1a4605ae8b636f3e11edccf3c9f07
treec763ac82077bdeb48f6b17b76e4e5d4410add2fd
parent25fefa2b1760a5feb8762fa12845982b98d91f3d
net/bnxt: refactor mbuf pointer reset

Remove code for setting consumed mbuf pointers to NULL from the
vector receive functions as a minor performance optimization.

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c
drivers/net/bnxt/bnxt_rxtx_vec_neon.c
drivers/net/bnxt/bnxt_rxtx_vec_sse.c