net/bnxt: improve CPR handling in vector path
authorLance Richardson <lance.richardson@broadcom.com>
Fri, 4 Oct 2019 03:49:03 +0000 (20:49 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:32 +0000 (12:14 +0200)
commit483e0691f051a2f93bc0f83a5d81494e77f73782
treec9979e5275d06de939970ff26bed5c9bbd66b685
parent94d4afd2d167886f9eb4833443478e048cd60588
net/bnxt: improve CPR handling in vector path

Reduce overhead of CPR descriptor validity checking in vector
receive and transmit functions.

Preserve raw cpr consumer index in vector transmit completion
function.

Remove an unneeded prefetch (per benchmarking) from vector
transmit completion function.

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_sse.c