From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E1FEA0547; Thu, 28 Oct 2021 13:22:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FBD641100; Thu, 28 Oct 2021 13:22:14 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 033B440DF4 for ; Thu, 28 Oct 2021 13:22:11 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="253948568" X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="253948568" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 04:22:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,189,1631602800"; d="scan'208";a="597761617" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga004.jf.intel.com with ESMTP; 28 Oct 2021 04:22:10 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 04:22:09 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 19:22:02 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Thu, 28 Oct 2021 19:22:01 +0800 From: "Zhang, Qi Z" To: "Nicolau, Radu" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/iavf: fix build error Thread-Index: AQHXyxokaTtPaqr2Oky2FwMNf25zE6voRbZQ Date: Thu, 28 Oct 2021 11:22:01 +0000 Message-ID: <02b8f50816f74612a5a0f6355f5f86d2@intel.com> References: <20211027095116.2184749-1-radu.nicolau@intel.com> In-Reply-To: <20211027095116.2184749-1-radu.nicolau@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/iavf: fix build error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Nicolau, Radu > Sent: Wednesday, October 27, 2021 5:51 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Nicolau, Radu > > Subject: [PATCH] net/iavf: fix build error >=20 > Fix Freebsd13 and Win10 build error. >=20 > Fixes: 9e84ce6ecd27 ("net/iavf: add iAVF IPsec inline crypto support") >=20 > Signed-off-by: Radu Nicolau > --- > drivers/net/iavf/iavf_ipsec_crypto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D > - conf->ipsec.tunnel.ipv6.dst_addr.s6_addr32; > + (uint32_t *)conf->ipsec.tunnel.ipv6.dst_addr.s6_addr; >=20 > sa_cfg->virtchnl_ip_type =3D VIRTCHNL_IPV6; >=20 > -- > 2.25.1 Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi