summaryrefslogtreecommitdiff
path: root/drivers/net/qede/qede_rxtx.c
diff options
context:
space:
mode:
authorRasesh Mody <rasesh.mody@cavium.com>2018-05-19 17:15:44 -0700
committerFerruh Yigit <ferruh.yigit@intel.com>2018-05-23 00:35:00 +0200
commit917481cad8695f4241f9c018d403e860007e5140 (patch)
tree8703b251c24250b07a9f40b6f996bc45a32cac79 /drivers/net/qede/qede_rxtx.c
parent413ecf29425174f25383ea43fba003fd651ddc89 (diff)
downloaddpdk-917481cad8695f4241f9c018d403e860007e5140.zip
dpdk-917481cad8695f4241f9c018d403e860007e5140.tar.gz
dpdk-917481cad8695f4241f9c018d403e860007e5140.tar.xz
net/qede: fix missing loop index in Tx SG mode
Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling") Cc: stable@dpdk.org Signed-off-by: Harish Patil <harish.patil@cavium.com> Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Diffstat (limited to 'drivers/net/qede/qede_rxtx.c')
-rw-r--r--drivers/net/qede/qede_rxtx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 2b9db32..48c6d81 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -1632,6 +1632,7 @@ qede_encode_sg_bd(struct qede_tx_queue *p_txq, struct rte_mbuf *m_seg,
QEDE_BD_SET_ADDR_LEN(tx_bd, mapping, m_seg->data_len);
PMD_TX_LOG(DEBUG, txq, "BD len %04x", m_seg->data_len);
}
+ start_seg++;
m_seg = m_seg->next;
}