Skip to contentSkip to conversation

net/ice/base: fix FDIR rule completion report value

PATCH Applied Simei Su 4 participants 4 messages May 8, 2020 Network drivers

lore
Share & tools
lore

Simei Su

author
#0 lore raw

PATCH 1/1 net/ice/base: fix FDIR rule completion report value

IAVF FDIR needs to check program status from FD completion descriptors for both successful and failed case, rather than only ask for completion on error. This patch corrects completion report value so that the called can determine whether to report completion on error or other cases.

Fixes 55daca4e45fc ("net/ice/base: change function to static")
---
 drivers/net/ice/base/ice_fdir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ice/base/ice_fdir.c +1 -1
index 33a1732..f899641 100644
@@ -488,7 +488,7 @@
 		ICE_FXD_FLTR_QW1_PCMD_REMOVE;
 	fdir_fltr_ctx.swap = ICE_FXD_FLTR_QW1_SWAP_NOT_SET;
 	fdir_fltr_ctx.comp_q = ICE_FXD_FLTR_QW0_COMP_Q_ZERO;
-	fdir_fltr_ctx.comp_report = ICE_FXD_FLTR_QW0_COMP_REPORT_SW_FAIL;
+	fdir_fltr_ctx.comp_report = ICE_FXD_FLTR_QW0_COMP_REPORT_SW;
 	fdir_fltr_ctx.fdid_prio = input->fdid_prio;
 	fdir_fltr_ctx.desc_prof = 1;
 	fdir_fltr_ctx.desc_prof_prio = 3;
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Su, Simei <[email protected]>
Sent: Friday, May 8, 2020 9:37 AM
To: Zhang, Qi Z <[email protected]>; Ye, Xiaolong <[email protected]>
Cc: [email protected]; Cao, Yahui <[email protected]>; Su, Simei <[email protected]>
Subject: [PATCH] net/ice/base: fix FDIR rule completion report value

Quoted 8 lines

IAVF FDIR needs to check program status from FD completion descriptors for both successful and failed case, rather than only ask for completion on error. This patch corrects completion report value so that the called can determine whether to report completion on error or other cases.

Fixes 55daca4e45fc ("net/ice/base: change function to static")
Applied
#2 lore raw
Quoted 15 lines · Qi Z
Quoted 15 lines

-----Original Message-----
From: Su, Simei <[email protected]>
Sent: Friday, May 8, 2020 9:37 AM
To: Zhang, Qi Z <[email protected]>; Ye, Xiaolong <[email protected]>
Cc: [email protected]; Cao, Yahui <[email protected]>; Su, Simei <[email protected]>
Subject: [PATCH] net/ice/base: fix FDIR rule completion report value

IAVF FDIR needs to check program status from FD completion descriptors for both successful and failed case, rather than only ask for completion on error. This patch corrects completion report value so that the called can determine whether to report completion on error or other cases.

Quoted 7 lines
Quoted 3 lines
Fixes 55daca4e45fc ("net/ice/base: change function to static")

Applied to dpdk-next-net-intel, Thanks.

Tested-by
#3 lore raw

Best regards,
Zeng,xiaoxiao

Quoted 36 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Ye, Xiaolong
Sent: Friday, May 8, 2020 10:35 AM
To: Zhang, Qi Z <[email protected]>
Cc: Su, Simei <[email protected]>; [email protected]; Cao, Yahui <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] net/ice/base: fix FDIR rule completion report value

Quoted 11 lines · Qi Z
Quoted 11 lines

-----Original Message-----
From: Su, Simei <[email protected]>
Sent: Friday, May 8, 2020 9:37 AM
To: Zhang, Qi Z <[email protected]>; Ye, Xiaolong <[email protected]>
Cc: [email protected]; Cao, Yahui <[email protected]>; Su, Simei <[email protected]>
Subject: [PATCH] net/ice/base: fix FDIR rule completion report value

Quoted 2 lines
Quoted 2 lines

IAVF FDIR needs to check program status from FD completion descriptors for both successful and failed case, rather than only ask for

completion on error.

Quoted 10 lines
Quoted 6 lines

This patch corrects completion report value so that the called can determine whether to report completion on error or other cases.

Fixes 55daca4e45fc ("net/ice/base: change function to static")

Applied to dpdk-next-net-intel, Thanks.