From: Rasesh Mody Date: Sun, 20 May 2018 00:15:44 +0000 (-0700) Subject: net/qede: fix missing loop index in Tx SG mode X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=917481cad8695f4241f9c018d403e860007e5140;p=dpdk.git 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 Signed-off-by: Rasesh Mody --- diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index 2b9db3292c..48c6d81379 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; }