Sriharsha Basavapatna 220de9869b net/bnxt: optimize Tx batching
This patch adds a few optimizations to Tx batching. Instead of
specifying 'cmpl_next' to bnxt_start_xmit() as a hint to enable
completion for a given packet, request for completion on the last
successfully enqueued TxBD. This takes care of both success and
error cases. It eliminates 'cmpl_next' arg and related per-packet
condition checks around it.

Fixes: 5735eb241947 ("net/bnxt: support Tx batching")
Cc: stable@dpdk.org

Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-05-27 18:09:07 +02:00
..
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:45 +02:00
2019-05-27 18:09:07 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-04-19 14:51:54 +02:00
2019-05-24 13:34:45 +02:00
2019-05-27 10:20:45 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-05-24 13:34:46 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00