From: Ajit Khaparde Date: Wed, 15 May 2019 18:08:14 +0000 (-0700) Subject: net/bnxt: check for error conditions in Tx path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=77942f509b09c934320e1226d82797b3c80eb968;hp=77942f509b09c934320e1226d82797b3c80eb968;p=dpdk.git net/bnxt: check for error conditions in Tx path The HW can have limits on the minimum packet size it can support, or the maximum number of segments it can support. Check for such possibilities. Also check if we are going to have a 0 length buffer. Fixes: 6eb3cc2294fd ("net/bnxt: add initial Tx code") Cc: stable@dpdk.org Signed-off-by: Ajit Khaparde Reviewed-by: Somnath Kotur Signed-off-by: Sriharsha Basavapatna ---