From: Shahed Shaikh Date: Wed, 13 Feb 2019 17:53:33 +0000 (-0800) Subject: net/qede: fix Tx packet prepare for tunnel packets X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=60f9a634578320e344d25be789afc7b462450201;p=dpdk.git net/qede: fix Tx packet prepare for tunnel packets This patch fixes a regression introduced by commit 49d3978d5723 ("net/qede: fix Tx tunnel offload support mask") in which qede_xmit_prep_pkts() breaks the loop for successful check of Tunneling offload flags instead of continuing, resulting in tx_pkt_prepare return a failure. Fixes: 49d3978d5723 ("net/qede: fix Tx tunnel offload support mask") Cc: stable@dpdk.org Signed-off-by: Shahed Shaikh --- diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index eda19b2b17..70c32e3fcb 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1819,7 +1819,7 @@ qede_xmit_prep_pkts(__rte_unused void *p_txq, struct rte_mbuf **tx_pkts, temp == PKT_TX_TUNNEL_GENEVE || temp == PKT_TX_TUNNEL_MPLSINUDP || temp == PKT_TX_TUNNEL_GRE) - break; + continue; } rte_errno = -ENOTSUP;