* [dpdk-dev] [PATCH] net/i40e/base: fix TX error stats on VF
@ 2017-05-18 3:29 Wenzhuo Lu
2017-05-18 10:32 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Wenzhuo Lu @ 2017-05-18 3:29 UTC (permalink / raw)
To: dev; +Cc: jingjing.wu, Wenzhuo Lu, stable
Unfortunately the datasheet has a mistake. The
address of the TX error counter is wrong.
Fixes: 8db9e2a1b232 ("i40e: base driver")
CC: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
---
drivers/net/i40e/base/i40e_register.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_register.h b/drivers/net/i40e/base/i40e_register.h
index 3a305b6..b150fbd 100644
--- a/drivers/net/i40e/base/i40e_register.h
+++ b/drivers/net/i40e/base/i40e_register.h
@@ -2805,7 +2805,7 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
#define I40E_GLV_RUPP_MAX_INDEX 383
#define I40E_GLV_RUPP_RUPP_SHIFT 0
#define I40E_GLV_RUPP_RUPP_MASK I40E_MASK(0xFFFFFFFF, I40E_GLV_RUPP_RUPP_SHIFT)
-#define I40E_GLV_TEPC(_VSI) (0x00344000 + ((_VSI) * 4)) /* _i=0...383 */ /* Reset: CORER */
+#define I40E_GLV_TEPC(_VSI) (0x00344000 + ((_VSI) * 8)) /* _i=0...383 */ /* Reset: CORER */
#define I40E_GLV_TEPC_MAX_INDEX 383
#define I40E_GLV_TEPC_TEPC_SHIFT 0
#define I40E_GLV_TEPC_TEPC_MASK I40E_MASK(0xFFFFFFFF, I40E_GLV_TEPC_TEPC_SHIFT)
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/i40e/base: fix TX error stats on VF
2017-05-18 3:29 [dpdk-dev] [PATCH] net/i40e/base: fix TX error stats on VF Wenzhuo Lu
@ 2017-05-18 10:32 ` Ferruh Yigit
0 siblings, 0 replies; 2+ messages in thread
From: Ferruh Yigit @ 2017-05-18 10:32 UTC (permalink / raw)
To: Wenzhuo Lu, dev; +Cc: jingjing.wu, stable
On 5/18/2017 4:29 AM, Wenzhuo Lu wrote:
> Unfortunately the datasheet has a mistake. The
> address of the TX error counter is wrong.
>
> Fixes: 8db9e2a1b232 ("i40e: base driver")
> CC: stable@dpdk.org
>
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-18 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18 3:29 [dpdk-dev] [PATCH] net/i40e/base: fix TX error stats on VF Wenzhuo Lu
2017-05-18 10:32 ` 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).