commit | 207a1633094526697729f322269b937f841aaf47 | [log] [tgz] |
---|---|---|
author | Benoît Ganne <bganne@cisco.com> | Tue Jan 07 13:40:17 2020 +0100 |
committer | Damjan Marion <dmarion@me.com> | Tue Jan 14 15:49:10 2020 +0000 |
tree | 8c10bfd2b1e40d512b17f17e932b1bf61c27764f | |
parent | fec52edb3c64ca4c725669ce432120a605a86f6a [diff] |
dpdk: enforce max tx retries n_retry was never decremented and so never enforced. Type: fix Change-Id: I71d60a72c156286f7e5b82b1c77a723361317c69 Signed-off-by: Benoît Ganne <bganne@cisco.com>
diff --git a/src/plugins/dpdk/device/device.c b/src/plugins/dpdk/device/device.c index 3b41e93..3231490 100644 --- a/src/plugins/dpdk/device/device.c +++ b/src/plugins/dpdk/device/device.c
@@ -199,6 +199,7 @@ { /* no wrap, transmit in one burst */ n_sent = rte_eth_tx_burst (xd->port_id, queue_id, mb, n_left); + n_retry--; } else {