numam-dpdk/drivers
Raslan Darawsheh 9396ad3346 net/tap: fix reported number of Tx packets
When writev fails to send packets it doesn't update the
number of Tx packets, but it still num_tx is updated.

The value that should be returned is the actual number
of sent packets which is num_packets.

Fixes: 02f96a0a82 ("net/tap: add TUN/TAP device PMD")
CC: stable@dpdk.org

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
2018-10-18 10:24:39 +02:00
..
baseband baseband/null: add in meson build 2018-09-18 22:53:35 +02:00
bus eal: allow probing a device again 2018-10-18 01:49:52 +02:00
common common/qat: fix failure to create PMD 2018-10-17 12:23:40 +02:00
compress common/qat: support GEN3 devices 2018-10-17 12:23:40 +02:00
crypto crypto/caam_jr: add security offload 2018-10-17 12:23:40 +02:00
event event/dpaa2: support crypto adapter 2018-10-17 12:23:40 +02:00
mempool bus/fslmc: upgrade mc FW APIs to 10.10.0 2018-10-16 14:54:25 +02:00
net net/tap: fix reported number of Tx packets 2018-10-18 10:24:39 +02:00
raw bus/fslmc: upgrade mc FW APIs to 10.10.0 2018-10-16 14:54:25 +02:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build baseband/null: add in meson build 2018-09-18 22:53:35 +02:00