net/iavf: remove the extra symbol '+'
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.
--- drivers/net/iavf/iavf_vchnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 *)∩︀ args.in_args_size =sizeof (caps);
Signature · 1 line
2.34.1
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 channelmessage")
Cc: [email protected]Signed-off-by Haiyue Wang <[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..8fdd6f6d91100644drivers/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 *)∩︀ args.in_args_size =sizeof (caps); --
Quoted 1 line
2.34.1
Zhang, Qi Z
AppliedQuoted 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 channelmessage")
Cc: [email protected]Signed-off-by Haiyue Wang <[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.cindex145b059837..8fdd6f6d91100644drivers/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
-1args.in_args = (uint8_t *)∩︀ args.in_args_size =sizeof (caps); --2.34.1
Acked-by Beilei Xing <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi
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")Signed-off-by Haiyue Wang<[email protected]>--- drivers/net/iavf/iavf_vchnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/iavf/iavf_vchnl.c +0
-0
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 *)∩︀ args.in_args_size =sizeof (caps);