* [dpdk-dev] [PATCH] net/iavf: fix build error
@ 2021-10-27 9:51 Radu Nicolau
2021-10-28 11:22 ` Zhang, Qi Z
2021-10-28 14:50 ` Ferruh Yigit
0 siblings, 2 replies; 3+ messages in thread
From: Radu Nicolau @ 2021-10-27 9:51 UTC (permalink / raw)
To: Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang, Radu Nicolau
Fix Freebsd13 and Win10 build error.
Fixes: 9e84ce6ecd27 ("net/iavf: add iAVF IPsec inline crypto support")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c
index 4d4830f4c9..a8022f8ed7 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -509,7 +509,7 @@ iavf_ipsec_crypto_security_association_add(struct iavf_adapter *adapter,
htonl(conf->ipsec.tunnel.ipv4.dst_ip.s_addr);
} else {
uint32_t *v6_dst_addr =
- conf->ipsec.tunnel.ipv6.dst_addr.s6_addr32;
+ (uint32_t *)conf->ipsec.tunnel.ipv6.dst_addr.s6_addr;
sa_cfg->virtchnl_ip_type = VIRTCHNL_IPV6;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/iavf: fix build error
2021-10-27 9:51 [dpdk-dev] [PATCH] net/iavf: fix build error Radu Nicolau
@ 2021-10-28 11:22 ` Zhang, Qi Z
2021-10-28 14:50 ` Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2021-10-28 11:22 UTC (permalink / raw)
To: Nicolau, Radu, Wu, Jingjing, Xing, Beilei; +Cc: dev
> -----Original Message-----
> From: Nicolau, Radu <radu.nicolau@intel.com>
> Sent: Wednesday, October 27, 2021 5:51 PM
> To: Wu, Jingjing <jingjing.wu@intel.com>; Xing, Beilei <beilei.xing@intel.com>
> Cc: dev@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>; Nicolau, Radu
> <radu.nicolau@intel.com>
> Subject: [PATCH] net/iavf: fix build error
>
> Fix Freebsd13 and Win10 build error.
>
> Fixes: 9e84ce6ecd27 ("net/iavf: add iAVF IPsec inline crypto support")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> ---
> drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c
> b/drivers/net/iavf/iavf_ipsec_crypto.c
> index 4d4830f4c9..a8022f8ed7 100644
> --- a/drivers/net/iavf/iavf_ipsec_crypto.c
> +++ b/drivers/net/iavf/iavf_ipsec_crypto.c
> @@ -509,7 +509,7 @@ iavf_ipsec_crypto_security_association_add(struct
> iavf_adapter *adapter,
> htonl(conf->ipsec.tunnel.ipv4.dst_ip.s_addr);
> } else {
> uint32_t *v6_dst_addr =
> - conf->ipsec.tunnel.ipv6.dst_addr.s6_addr32;
> + (uint32_t *)conf->ipsec.tunnel.ipv6.dst_addr.s6_addr;
>
> sa_cfg->virtchnl_ip_type = VIRTCHNL_IPV6;
>
> --
> 2.25.1
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/iavf: fix build error
2021-10-27 9:51 [dpdk-dev] [PATCH] net/iavf: fix build error Radu Nicolau
2021-10-28 11:22 ` Zhang, Qi Z
@ 2021-10-28 14:50 ` Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2021-10-28 14:50 UTC (permalink / raw)
To: Radu Nicolau, Jingjing Wu, Beilei Xing; +Cc: dev, qi.z.zhang
On 10/27/2021 10:51 AM, Radu Nicolau wrote:
> Fix Freebsd13 and Win10 build error.
>
> Fixes: 9e84ce6ecd27 ("net/iavf: add iAVF IPsec inline crypto support")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Can you please squash this fix to the original set, in its new version?
> ---
> drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c
> index 4d4830f4c9..a8022f8ed7 100644
> --- a/drivers/net/iavf/iavf_ipsec_crypto.c
> +++ b/drivers/net/iavf/iavf_ipsec_crypto.c
> @@ -509,7 +509,7 @@ iavf_ipsec_crypto_security_association_add(struct iavf_adapter *adapter,
> htonl(conf->ipsec.tunnel.ipv4.dst_ip.s_addr);
> } else {
> uint32_t *v6_dst_addr =
> - conf->ipsec.tunnel.ipv6.dst_addr.s6_addr32;
> + (uint32_t *)conf->ipsec.tunnel.ipv6.dst_addr.s6_addr;
>
> sa_cfg->virtchnl_ip_type = VIRTCHNL_IPV6;
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-28 14:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 9:51 [dpdk-dev] [PATCH] net/iavf: fix build error Radu Nicolau
2021-10-28 11:22 ` Zhang, Qi Z
2021-10-28 14:50 ` 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).