net/qede: fix tx_pkt_prepare for tunnel packets
PATCH 1/1 net/qede: fix tx_pkt_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")
Signed-off-by Shahed Shaikh <[email protected]>
--- drivers/net/qede/qede_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/qede/qede_rxtx.c +1 -1
@@ -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 ;
Signature · 1 line
2.14.1
Ferruh Yigit
AppliedQuoted 10 lines · Shahed Shaikh
This patch fixes a regression introduced by
commit 49d3978d5723("net/qede: fix Tx tunnel offload support mask") in whichqede_xmit_prep_pkts()breaks the loop for successful check of Tunneling offload flags instead of continuing, resulting intx_pkt_preparereturn a failure.Fixes 49d3978d5723 ("net/qede: fix Tx tunnel offload support mask")Signed-off-by Shahed Shaikh <[email protected]>
Applied to dpdk-next-net/master, thanks.