DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/1] net/qede: fix tx_pkt_prepare for tunnel packets
@ 2019-02-13 17:53 Shahed Shaikh
  2019-02-18 18:12 ` Ferruh Yigit
  0 siblings, 1 reply; 2+ messages in thread
From: Shahed Shaikh @ 2019-02-13 17:53 UTC (permalink / raw)
  To: dev; +Cc: rmody, ferruh.yigit, stable

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>
---
 drivers/net/qede/qede_rxtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 9bf93c2e1..01b6ffd6e 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -1970,7 +1970,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;
-- 
2.14.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH 1/1] net/qede: fix tx_pkt_prepare for tunnel packets
  2019-02-13 17:53 [dpdk-dev] [PATCH 1/1] net/qede: fix tx_pkt_prepare for tunnel packets Shahed Shaikh
@ 2019-02-18 18:12 ` Ferruh Yigit
  0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2019-02-18 18:12 UTC (permalink / raw)
  To: Shahed Shaikh, dev; +Cc: rmody, stable

On 2/13/2019 5:53 PM, Shahed Shaikh wrote:
> 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>

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-18 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13 17:53 [dpdk-dev] [PATCH 1/1] net/qede: fix tx_pkt_prepare for tunnel packets Shahed Shaikh
2019-02-18 18:12 ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).