numam-dpdk/drivers/net
Ajit Khaparde 77942f509b 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: 6eb3cc2294 ("net/bnxt: add initial Tx code")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
2019-05-27 18:09:07 +02:00
..
af_packet net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
af_xdp net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
ark net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
atlantic net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
avp net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
axgbe net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
bnx2x net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
bnxt net/bnxt: check for error conditions in Tx path 2019-05-27 18:09:07 +02:00
bonding net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
cxgbe net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
dpaa net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
dpaa2 net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
e1000 net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
ena net: add rte prefix to TCP structure 2019-05-24 13:34:46 +02:00
enetc net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
enic net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
failsafe net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
fm10k net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
i40e net/i40e: support MARK and RSS flow action 2019-05-24 14:12:33 +02:00
iavf net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
ice net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
ifc net/ifc: fix used ring update 2019-04-19 14:51:54 +02:00
ipn3ke net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
ixgbe net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
kni net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
liquidio net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mlx4 net/mlx4: use dynamic log type 2019-05-27 10:20:45 +02:00
mlx5 net/mlx5: fix memory free on queue create error 2019-05-27 10:21:04 +02:00
mvneta net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
mvpp2 net: add rte prefix to IP structure 2019-05-24 13:34:46 +02:00
netvsc net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
nfb net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
nfp net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
null net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
octeontx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
pcap net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
qede net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
ring net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
sfc net: add rte prefix to TCP structure 2019-05-24 13:34:46 +02:00
softnic net: add rte prefix to TCP structure 2019-05-24 13:34:46 +02:00
szedata2 net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
tap net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
thunderx net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
vdev_netvsc net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
vhost net: add rte prefix to ether functions 2019-05-24 13:34:45 +02:00
virtio net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
vmxnet3 net: add rte prefix to UDP structure 2019-05-24 13:34:46 +02:00
Makefile net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00
meson.build net/ipn3ke: add new driver 2019-04-19 14:51:54 +02:00