Skip to contentSkip to conversation

net/i40e: fix mirror for new FW

PATCH Applied Qi Zhang 3 participants 3 messages Oct 31, 2017 Network drivers

lore
Share & tools
lore
Acked-by on v1 1/1
#1 lore raw
In reply to Qi Zhang
Quoted 31 lines

-----Original Message-----
From: Zhang, Qi Z
Sent: Tuesday, October 31, 2017 10:27 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, Qi Z <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: fix mirror for new FW

Value of I40E_GL_SWR_PRI_JOIN_MAP_0 need to be corrected or mirror does not work on latest firmware 6.0.

Fixes 77370db964f7 ("net/i40e: fix ethertype filter for new FW")
---
 drivers/net/i40e/i40e_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/i40e/i40e_ethdev.c +1 -1
index 5f26e24..3b4dae6 100644
@@ -9238,7 +9238,7 @@ i40e_pctype_to_flowtype(enum i40e_filter_pctype
 pctype)
 
 /* For both X710 and XL710 */
 #define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_1	0x10000200
-#define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_2	0x20000200
+#define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_2	0x203F0200
 #define I40E_GL_SWR_PRI_JOIN_MAP_0		0x26CE00
 
Quoted 3 lines

#define I40E_GL_SWR_PRI_JOIN_MAP_2_VALUE 0x011f0200
--
2.9.5

Qi Zhang

author
#0 lore raw

PATCH 1/1 net/i40e: fix mirror for new FW

Value of I40E_GL_SWR_PRI_JOIN_MAP_0 need to be corrected or mirror does not work on latest firmware 6.0.

Fixes 77370db964f7 ("net/i40e: fix ethertype filter for new FW")
---
 drivers/net/i40e/i40e_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/i40e/i40e_ethdev.c +1 -1
index 5f26e24..3b4dae6 100644
@@ -9238,7 +9238,7 @@ i40e_pctype_to_flowtype(enum i40e_filter_pctype pctype)
 
 /* For both X710 and XL710 */
 #define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_1	0x10000200
-#define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_2	0x20000200
+#define I40E_GL_SWR_PRI_JOIN_MAP_0_VALUE_2	0x203F0200
 #define I40E_GL_SWR_PRI_JOIN_MAP_0		0x26CE00
 
 #define I40E_GL_SWR_PRI_JOIN_MAP_2_VALUE 0x011f0200
Signature · 1 line
2.9.5
Applied
#2 lore raw
In reply to Xing, Beilei
Quoted 10 lines · Beilei
Quoted 10 lines

-----Original Message-----
From: Zhang, Qi Z
Sent: Tuesday, October 31, 2017 10:27 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, Qi Z <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: fix mirror for new FW

Value of I40E_GL_SWR_PRI_JOIN_MAP_0 need to be corrected or mirror does not work on latest firmware 6.0.

Quoted 6 lines
Quoted 4 lines
Fixes 77370db964f7 ("net/i40e: fix ethertype filter for new FW")

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