summaryrefslogtreecommitdiff
path: root/drivers/net/qede/qede_rxtx.c
diff options
context:
space:
mode:
authorShahed Shaikh <shshaikh@marvell.com>2019-02-13 09:53:33 -0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-02-20 16:41:43 +0100
commit60f9a634578320e344d25be789afc7b462450201 (patch)
treef53a5a060bf9fcb54788d0fd37316f58f2e9e2ec /drivers/net/qede/qede_rxtx.c
parenta3a4aba4b5c54e2a81daa792f49bb9743142c444 (diff)
downloaddpdk-60f9a634578320e344d25be789afc7b462450201.zip
dpdk-60f9a634578320e344d25be789afc7b462450201.tar.gz
dpdk-60f9a634578320e344d25be789afc7b462450201.tar.xz
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 <shshaikh@marvell.com>
Diffstat (limited to 'drivers/net/qede/qede_rxtx.c')
-rw-r--r--drivers/net/qede/qede_rxtx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index eda19b2..70c32e3 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;