Skip to contentSkip to conversation

net/iavf: remove the extra symbol '+'

PATCH Applied Haiyue Wang 4 participants 4 messages Dec 16, 2021 – Jan 2, 2022 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/iavf: remove the extra symbol '+'

This extra symbol '+' should be added when patch was reapplied, and the compiler treats it as unsigned type, so the code still runs well.

Fixes 84108425054a ("net/iavf: support asynchronous virtual channel message")
---
 drivers/net/iavf/iavf_vchnl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_vchnl.c +1 -1
index 145b059837..8fdd6f6d91 100644
@@ -502,7 +502,7 @@ iavf_get_vf_resource(struct iavf_adapter *adapter)
 		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
 		VIRTCHNL_VF_LARGE_NUM_QPAIRS |
 		VIRTCHNL_VF_OFFLOAD_QOS |
-+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
 
 	args.in_args = (uint8_t *)∩︀
 	args.in_args_size = sizeof(caps);
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 38 lines

-----Original Message-----
From: Wang, Haiyue <[email protected]>
Sent: Thursday, December 16, 2021 12:44 PM
To: [email protected]
Cc: Wang, Haiyue <[email protected]>; [email protected]; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Sinha, Abhijit <[email protected]>; Doherty, Declan <[email protected]>; Nicolau, Radu <[email protected]>
Subject: [PATCH v1] net/iavf: remove the extra symbol '+'

This extra symbol '+' should be added when patch was reapplied, and the compiler treats it as unsigned type, so the code still runs well.

Fixes 84108425054a ("net/iavf: support asynchronous virtual channel

message")
Cc: [email protected]

---
 drivers/net/iavf/iavf_vchnl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_vchnl.c index renamed from drivers/net/iavf/iavf_vchnl.c +0 -0

145b059837..8fdd6f6d91 100644

drivers/net/iavf/iavf_vchnl.c +1 -2
@@ -502,7 +502,7 @@ iavf_get_vf_resource(struct iavf_adapter *adapter)
 		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
 		VIRTCHNL_VF_LARGE_NUM_QPAIRS |
 		VIRTCHNL_VF_OFFLOAD_QOS |
-+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
 
 	args.in_args = (uint8_t *)&caps;
 	args.in_args_size = sizeof(caps);
--
Quoted 1 line

2.34.1

Applied
#2 lore raw
Quoted 48 lines

-----Original Message-----
From: Xing, Beilei <[email protected]>
Sent: Thursday, December 16, 2021 1:49 PM
To: Wang, Haiyue <[email protected]>; [email protected]
Cc: [email protected]; Wu, Jingjing <[email protected]>; Sinha, Abhijit <[email protected]>; Doherty, Declan <[email protected]>; Nicolau, Radu <[email protected]>
Subject: RE: [PATCH v1] net/iavf: remove the extra symbol '+'

Quoted 35 lines

-----Original Message-----
From: Wang, Haiyue <[email protected]>
Sent: Thursday, December 16, 2021 12:44 PM
To: [email protected]
Cc: Wang, Haiyue <[email protected]>; [email protected]; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Sinha, Abhijit <[email protected]>; Doherty, Declan <[email protected]>; Nicolau, Radu <[email protected]>
Subject: [PATCH v1] net/iavf: remove the extra symbol '+'

This extra symbol '+' should be added when patch was reapplied, and the compiler treats it as unsigned type, so the code still runs well.

Fixes 84108425054a ("net/iavf: support asynchronous virtual channel

message")
Cc: [email protected]

---
 drivers/net/iavf/iavf_vchnl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/net/iavf/iavf_vchnl.c index
145b059837..8fdd6f6d91 100644

drivers/net/iavf/iavf_vchnl.c +1 -1
@@ -502,7 +502,7 @@ iavf_get_vf_resource(struct iavf_adapter *adapter)
 		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
 		VIRTCHNL_VF_LARGE_NUM_QPAIRS |
 		VIRTCHNL_VF_OFFLOAD_QOS |
-+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
 
Quoted 6 lines
Quoted 4 lines
drivers/net/iavf/iavf_vchnl.c +0 -1
 	args.in_args = (uint8_t *)&caps;
 	args.in_args_size = sizeof(caps);
--

2.34.1

Applied to dpdk-next-net-intel.

Thanks
Qi

Acked-by on v1 1/1
#3 lore raw
In reply to Haiyue Wang
Quoted 16 lines · Haiyue Wang

This extra symbol '+' should be added when patch was reapplied, and the compiler treats it as unsigned type, so the code still runs well.

Fixes 84108425054a ("net/iavf: support asynchronous virtual channel message")
---
  drivers/net/iavf/iavf_vchnl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_vchnl.c +0 -0
index 145b059837..8fdd6f6d91 100644

drivers/net/iavf/iavf_vchnl.c iavf_get_vf_resource(struct iavf_adapter *adapter) · line 508

Quoted 8 lines
drivers/net/iavf/iavf_vchnl.c +1 -1
@@ -502,7 +502,7 @@ iavf_get_vf_resource(struct iavf_adapter *adapter)
  		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
  		VIRTCHNL_VF_LARGE_NUM_QPAIRS |
  		VIRTCHNL_VF_OFFLOAD_QOS |
-+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
+		VIRTCHNL_VF_OFFLOAD_INLINE_IPSEC_CRYPTO;
 
  	args.in_args = (uint8_t *)&caps;
  	args.in_args_size = sizeof(caps);