net/bnxt: fix non-vector fast mbuf free offload
authorLance Richardson <lance.richardson@broadcom.com>
Fri, 9 Oct 2020 16:36:42 +0000 (12:36 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:47:58 +0000 (19:47 +0200)
commitfc544b5460491195a2cdd1c75da9bbba3f6e0d98
tree6e4c24f6d34c776042717a267bb7c9015550110b
parentb1088fccb503b88ad47f8f785e2a1b9a4b7a3c75
net/bnxt: fix non-vector fast mbuf free offload

The fast mbuf free offload for non-vector mode requires
additional checks in order to handle long tx buffer
descriptors, so dedicated functions are needed for
vector- and non-vector-modes.

Fixes: 369f6077c515 ("net/bnxt: support fast mbuf free")

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxtx_vec_common.h
drivers/net/bnxt/bnxt_rxtx_vec_neon.c
drivers/net/bnxt/bnxt_rxtx_vec_sse.c
drivers/net/bnxt/bnxt_txr.c
drivers/net/bnxt/bnxt_txr.h