net/bnxt: fix Rx burst size constraint
authorLance Richardson <lance.richardson@broadcom.com>
Mon, 24 May 2021 18:59:50 +0000 (14:59 -0400)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 7 Jun 2021 21:36:02 +0000 (23:36 +0200)
commit008feb839f4e2829db8510719f5a393da803fc1b
tree68fa554f038651716ff2d17b1dfe18db5f84c4d9
parent1aa8a8c7b98923d0dfe33ab56d85c3bae425e337
net/bnxt: fix Rx burst size constraint

The burst receive function should return all packets currently
present in the receive ring up to the requested burst size,
update vector mode receive functions accordingly.

Fixes: 398358341419 ("net/bnxt: support NEON")
Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxtx_vec_neon.c
drivers/net/bnxt/bnxt_rxtx_vec_sse.c