[dpdk-stable] patch 'net/mrvl: fix shadow queue tail and size calculations' has been queued to LTS release 17.11.1
Yuanhan Liu
yliu at fridaylinux.org
Wed Jan 24 16:32:49 CET 2018
Hi,
FYI, your patch has been queued to LTS release 17.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 01/26/18. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From a8a65286a1f32c10045e4d1d46800d2934593c97 Mon Sep 17 00:00:00 2001
From: Natalie Samsonov <nsamsono at marvell.com>
Date: Thu, 11 Jan 2018 16:35:42 +0100
Subject: [PATCH] net/mrvl: fix shadow queue tail and size calculations
[ upstream commit b2e5d0868ee7445ebb26e47e10a0a52409428ebe ]
Reset skip_buf after use to avoid wrong tail and size calculations.
Fixes: afb4d0d0bf91 ("net/mrvl: add Rx/Tx support")
Signed-off-by: Natalie Samsonov <nsamsono at marvell.com>
---
drivers/net/mrvl/mrvl_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mrvl/mrvl_ethdev.c b/drivers/net/mrvl/mrvl_ethdev.c
index d1ecbf8..a85a565 100644
--- a/drivers/net/mrvl/mrvl_ethdev.c
+++ b/drivers/net/mrvl/mrvl_ethdev.c
@@ -1896,6 +1896,7 @@ skip:
sq->tail = (sq->tail + num) & MRVL_PP2_TX_SHADOWQ_MASK;
sq->size -= num;
num = 0;
+ skip_bufs = 0;
}
if (likely(num)) {
--
2.7.4
More information about the stable
mailing list