patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] net/qede: fix to increment Tx packets
@ 2017-04-29  0:38 Rasesh Mody
  2017-05-01  9:35 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Rasesh Mody @ 2017-04-29  0:38 UTC (permalink / raw)
  To: dev; +Cc: Rasesh Mody, Dept-EngDPDKDev, stable

Inadvertently we failed to increment tx_pkts pointer while addressing
coverity issue, this patch fixes that.

Fixes: 41b52b732ec5 ("net/qede/base: fix code flow and remove unused code")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.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 83e1bc4..baea1bb 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -1471,7 +1471,7 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags)
 		bd3 = NULL;
 		hdr_size = 0;
 
-		mbuf = *tx_pkts;
+		mbuf = *tx_pkts++;
 		assert(mbuf);
 
 		/* Check minimum TX BDS availability against available BDs */
-- 
1.7.10.3

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

* Re: [dpdk-stable] [dpdk-dev] [PATCH] net/qede: fix to increment Tx packets
  2017-04-29  0:38 [dpdk-stable] [PATCH] net/qede: fix to increment Tx packets Rasesh Mody
@ 2017-05-01  9:35 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-05-01  9:35 UTC (permalink / raw)
  To: Rasesh Mody; +Cc: dev, Dept-EngDPDKDev, stable

29/04/2017 02:38, Rasesh Mody:
> Inadvertently we failed to increment tx_pkts pointer while addressing
> coverity issue, this patch fixes that.
> 
> Fixes: 41b52b732ec5 ("net/qede/base: fix code flow and remove unused code")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>

Squashed, thanks

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

end of thread, other threads:[~2017-05-01  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-29  0:38 [dpdk-stable] [PATCH] net/qede: fix to increment Tx packets Rasesh Mody
2017-05-01  9:35 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon

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).