[dpdk-dev] [PATCH] net/iavf: fix build error

Ferruh Yigit ferruh.yigit at intel.com
Thu Oct 28 16:50:26 CEST 2021


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 at 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;
>   
> 



More information about the dev mailing list