numam-dpdk/drivers/net/mlx5
Shahaf Shuler 9f9a48eb29 net/mlx5: fix Tx stats error counter definition
The current Tx error counter counts, according to its description,
the total number of packets not sent when TX ring full. It is reported
to application as part of oerrors field.

The drop due to full ring is not the statistic that should be set on
oerrors field. Such number can be counted by the application using the
return value of the Tx burst function.
The number that should be set there is the number of packets the device
could not transmit in any way, even when it has resources.

Therefore, replace this counter to count the total number of failed
transmitted packets.

Fixes: 87011737b7 ("mlx5: add software counters")
Cc: stable@dpdk.org

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-10-06 02:49:48 +02:00
..
Makefile net/mlx5: remove multiple drop RSS queues 2017-10-06 02:49:47 +02:00
mlx5_defs.h net/mlx5: add vectorized Rx/Tx burst for x86 2017-07-07 11:56:03 +02:00
mlx5_ethdev.c net/mlx5: support device removal event 2017-10-06 02:49:48 +02:00
mlx5_fdir.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_flow.c net/mlx5: remove multiple drop RSS queues 2017-10-06 02:49:47 +02:00
mlx5_mac.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_mr.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_prm.h net/mlx5: remove old MLNX OFED 3.3 verification 2017-10-06 02:49:47 +02:00
mlx5_rss.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_rxmode.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_rxq.c net/mlx5: fix non working secondary process by removing it 2017-10-06 02:49:47 +02:00
mlx5_rxtx_vec_sse.c net/mlx5: fix num seg assumption in SSE Tx 2017-10-06 02:49:48 +02:00
mlx5_rxtx.c net/mlx5: fix calculating TSO inline size 2017-10-06 02:49:48 +02:00
mlx5_rxtx.h net/mlx5: fix Tx stats error counter definition 2017-10-06 02:49:48 +02:00
mlx5_stats.c net/mlx5: fix Tx stats error counter definition 2017-10-06 02:49:48 +02:00
mlx5_trigger.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5_txq.c net/mlx5: fix non working secondary process by removing it 2017-10-06 02:49:47 +02:00
mlx5_utils.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
mlx5_vlan.c net/mlx5: remove pedantic pragma 2017-10-06 02:49:47 +02:00
mlx5.c net/mlx5: support device removal event 2017-10-06 02:49:48 +02:00
mlx5.h net/mlx5: remove old MLNX OFED 3.3 verification 2017-10-06 02:49:47 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00