summaryrefslogtreecommitdiffstats
path: root/src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-07-31 11:16:27 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-07-31 11:21:40 +0300
commitdceb010b01e9f8a0e9c905370d39f149f01cab7e (patch)
tree562201fb20db07440462f27e4d8b95ad3ce84611 /src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c
parent81c896604a50486d8b658dc559f7b98492d778e5 (diff)
dpdk 16.07 - merges of final version changes
Diffstat (limited to 'src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c')
-rw-r--r--src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c b/src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c
index 05cb415e..51fb282a 100644
--- a/src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c
+++ b/src/dpdk/drivers/net/i40e/i40e_rxtx_vec.c
@@ -269,7 +269,7 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
* D. fill info. from desc to mbuf
*/
- for (pos = 0, nb_pkts_recd = 0; pos < RTE_I40E_VPMD_RX_BURST;
+ for (pos = 0, nb_pkts_recd = 0; pos < nb_pkts;
pos += RTE_I40E_DESCS_PER_LOOP,
rxdp += RTE_I40E_DESCS_PER_LOOP) {
__m128i descs[RTE_I40E_DESCS_PER_LOOP];