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 5604445B14; Fri, 11 Oct 2024 19:48:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3EEA40DC9; Fri, 11 Oct 2024 19:48:24 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id 70C4D40BA2 for ; Fri, 11 Oct 2024 19:48:22 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-7e9ad969a4fso1636225a12.3 for ; Fri, 11 Oct 2024 10:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728668901; x=1729273701; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ESuNJ18cyZGnc2k8Y2YJI5gC+IMyEPoiw7JzylTtsec=; b=gPqyxFwO1Xryb6YhaRR05gyYtUqeT8YSC4V5QNYFh9lnlq1AjdcKkLff0u6083ejdg 8nOiC7tIQfT/ApWaSRDwPfWjrnc5pvkqnc+xqRCUeiBy8gtCI9tp4qmOcouQutYnDu+q rv6WPJ5oATerc/xNTLQzCfuMiGAkmJViugQapSblo0Dwh6xzCpTaPmliUcGZ8SodubnJ 7NPA4Acv1e5/c+8NHlYBJeD9JYKrbIEAUzozRdsSdkvThWTEqRFnGK/HIX4L4DtJPTDH 7c9+OcPN16LqpW85DTi6vg+IKPrjiV6FrB+hSXwMbEjTcewxHVHlOd/0OXJRI9R7KWgS qyKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728668901; x=1729273701; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ESuNJ18cyZGnc2k8Y2YJI5gC+IMyEPoiw7JzylTtsec=; b=wuSddjHDuxY9uuVlDFBvHFiIPvfE/puFB1Bc7h2VpfoJK0ggj2hlKJslJ5OXCRQNxm 1xXPF2K2MlhKIOOdH/7WWIsSIryYT10gb3ta4/4Z+It1Tnrm8aXDgX02a1Lw6wvlwCyN Sqk9LPd6vPiqooWDxdjp3bbfEpL5wYJEpsKCuIVW/TY1NKv+FnRfpIDyTFGyd5InUvOQ kt3iWyqj35l0OOY5oHaquM6eT/+lajEodggvO7DN213T4cKsEHpC6hH6/REeWkuUaG7Y hMcGTPtcJtnr9AF4XbKqbI4zih1ijVuLo+7enDQs7Vt74dCJvb+9PaRfoDadbWcSG40n KiVA== X-Forwarded-Encrypted: i=1; AJvYcCWi6EO/K5RoSBm5GyCb2hwLkxQG00s+OKPhNTyNk5tP6OqAo5hKAMjHYu3evip/0zU6X0g=@dpdk.org X-Gm-Message-State: AOJu0Yz/baIJ+DvWDUfrBPSGd962CIbxoKSHNruMvLNfYoksNnAVZvI4 lQg3YxY9dQMy+NRM6cav/2CHRwgDebMitkHMiwWvH02zPBqy9nwdhUuNSqbDjD8= X-Google-Smtp-Source: AGHT+IEewvYZoGsQBxd5mqoBG1G8BPMxn83ozMsa0FFd5/dpgy7joYL4ODdclukduzAPe7bkaGduYg== X-Received: by 2002:a05:6a21:1743:b0:1d1:13de:68c6 with SMTP id adf61e73a8af0-1d8bcf49a89mr6359483637.29.1728668900599; Fri, 11 Oct 2024 10:48:20 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e44855ca4sm933614b3a.192.2024.10.11.10.48.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 10:48:20 -0700 (PDT) Date: Fri, 11 Oct 2024 10:48:17 -0700 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: "Ferruh Yigit" , "Robin Jarry" , , "Wathsala Vithanage" , "Min Zhou" , "David Christensen" , "Stanislaw Kardach" , , , "Vipin Varghese" , "Thomas Monjalon" , "Jerin Jacob" Subject: Re: [dpdk-dev] [PATCH 1/2] mk: fix build for clang 4 Message-ID: <20241011104817.3cabcbe4@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F7C6@smartserver.smartshare.dk> References: <20170417143559.11701-1-ferruh.yigit@intel.com> <98CBD80474FA8B44BF855DF32C47DC35E9F7C6@smartserver.smartshare.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Fri, 11 Oct 2024 19:36:08 +0200 Morten Br=C3=B8rup wrote: > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit > > Sent: Monday, 17 April 2017 16.36 > >=20 > > clang 4 gives "taking address of packed member may result in an > > unaligned pointer value" warnings in a few locations [1]. > >=20 > > Disabled "-Waddress-of-packed-member" warning for clang >=3D 4 > >=20 > > [1] build errors: > > .../lib/librte_eal/common/eal_common_memzone.c:275:25: > > error: taking address of packed member 'mlock' of class or structure > > 'rte_mem_config' may result in an unaligned pointer value > > [-Werror,-Waddress-of-packed-member] > > rte_rwlock_write_lock(&mcfg->mlock); > > ^~~~~~~~~~~ > >=20 > > .../lib/librte_ip_frag/rte_ipv4_reassembly.c:139:31: > > error: taking address of packed member 'src_addr' of class or structure > > 'ipv4_hdr' may result in an unaligned pointer value > > [-Werror,-Waddress-of-packed-member] > > psd =3D (unaligned_uint64_t *)&ip_hdr->src_addr; > > ^~~~~~~~~~~~~~~~ > >=20 > > .../lib/librte_vhost/vhost_user.c:1037:34: > > error: taking address of packed member 'payload' of class or structure > > 'VhostUserMsg' may result in an unaligned pointer value > > [-Werror,-Waddress-of-packed-member] > > vhost_user_set_vring_num(dev, &msg.payload.state); > > ^~~~~~~~~~~~~~~~~ > >=20 > > Signed-off-by: Ferruh Yigit > > --- > > mk/toolchain/clang/rte.vars.mk | 5 +++++ > > 1 file changed, 5 insertions(+) > >=20 > > diff --git a/mk/toolchain/clang/rte.vars.mk > > b/mk/toolchain/clang/rte.vars.mk > > index 7749b99..af34c10 100644 > > --- a/mk/toolchain/clang/rte.vars.mk > > +++ b/mk/toolchain/clang/rte.vars.mk > > @@ -79,5 +79,10 @@ include > > $(RTE_SDK)/mk/toolchain/$(RTE_TOOLCHAIN)/rte.toolchain-compat.mk > > # workaround clang bug with warning "missing field initializer" for "= =3D > > {0}" > > WERROR_FLAGS +=3D -Wno-missing-field-initializers > >=20 > > +# disable packed member unalign warnings > > +ifeq ($(shell test $(CLANG_MAJOR_VERSION) -ge 4 && echo 1), 1) > > +WERROR_FLAGS +=3D -Wno-address-of-packed-member > > +endif > > + > > export CC AS AR LD OBJCOPY OBJDUMP STRIP READELF > > export TOOLCHAIN_CFLAGS TOOLCHAIN_LDFLAGS TOOLCHAIN_ASFLAGS > > -- > > 2.9.3 > > =20 >=20 > Revisiting an old patch... >=20 > Maybe the code causing the warnings should have been fixed instead of dis= abling the compiler warning? >=20 > We would probably handle this differently today... I wonder how many warn= ings it spews out with the warning enabled? >=20 > -Morten >=20 With gcc-14 and re-enable packed-member and no-zero-length-bounds, lots and= lots of warnings. The ones related to locks are particularly concerning. Since many cpu's can= 't do locked operation on unaligned fields. Mlx5 driver seems particularly bad. 190/3024] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_= qbman_qman.c.o ../drivers/bus/dpaa/base/qbman/qman.c: In function =E2=80=98qman_ern_poll_f= ree=E2=80=99: ../drivers/bus/dpaa/base/qbman/qman.c:813:30: warning: taking address of pa= cked member of =E2=80=98struct =E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 813 | hw_fd_to_cpu(&swapped_msg.ern.fd); | ^~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/qman.c:815:22: warning: taking address of pa= cked member of =E2=80=98struct =E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 815 | fd =3D &swapped_msg.ern.fd; | ^~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/qman.c: In function =E2=80=98__poll_portal_s= low=E2=80=99: ../drivers/bus/dpaa/base/qbman/qman.c:857:25: warning: taking address of pa= cked member of =E2=80=98struct qm_mcr_querycongestion=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 857 | &mcr->querycongestion.state, &p->cgrs[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/qman.c:884:30: warning: taking address of pa= cked member of =E2=80=98struct =E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 884 | hw_fd_to_cpu(&swapped_msg.ern.fd); | ^~~~~~~~~~~~~~~~~~~ [287/3024] Compiling C object lib/librte_ip_frag.a.p/ip_frag_rte_ipv4_reass= embly.c.o ../lib/ip_frag/rte_ipv4_reassembly.c: In function =E2=80=98rte_ipv4_frag_re= assemble_packet=E2=80=99: ../lib/ip_frag/rte_ipv4_reassembly.c:113:37: warning: taking address of pac= ked member of =E2=80=98struct rte_ipv4_hdr=E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 113 | psd =3D (unaligned_uint64_t *)&ip_hdr->src_addr; | ^~~~~~~~~~~~~~~~~ [323/3024] Compiling C object drivers/libtmp_rte_bus_ifpga.a.p/bus_ifpga_if= pga_bus.c.o ../drivers/bus/ifpga/ifpga_bus.c: In function =E2=80=98ifpga_probe_all_driv= ers=E2=80=99: ../drivers/bus/ifpga/ifpga_bus.c:318:31: warning: taking address of packed = member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an unaligne= d pointer value [-Waddress-of-packed-member] 318 | if (rte_dev_is_probed(&afu_dev->device)) { | ^~~~~~~~~~~~~~~~ ../drivers/bus/ifpga/ifpga_bus.c: In function =E2=80=98ifpga_find_device=E2= =80=99: ../drivers/bus/ifpga/ifpga_bus.c:455:25: warning: taking address of packed = member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an unaligne= d pointer value [-Waddress-of-packed-member] 455 | if (cmp(&afu_dev->device, data) =3D=3D 0) | ^~~~~~~~~~~~~~~~ ../drivers/bus/ifpga/ifpga_bus.c:456:32: warning: taking address of packed = member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an unaligne= d pointer value [-Waddress-of-packed-member] 456 | return &afu_dev->device; | ^~~~~~~~~~~~~~~~ [413/3024] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_vm= bus_bufring.c.o ../drivers/bus/vmbus/vmbus_bufring.c: In function =E2=80=98vmbus_txbr_write= =E2=80=99: ../drivers/bus/vmbus/vmbus_bufring.c:161:37: warning: taking address of pac= ked member of =E2=80=98struct vmbus_bufring=E2=80=99 may result in an unali= gned pointer value [-Waddress-of-packed-member] 161 | while (!rte_atomic32_cmpset(&vbr->windex, old_windex, next_= windex)) | ^~~~~~~~~~~~ [415/3024] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_vm= bus_channel.c.o ../drivers/bus/vmbus/vmbus_channel.c: In function =E2=80=98vmbus_set_monito= r=E2=80=99: ../drivers/bus/vmbus/vmbus_channel.c:37:24: warning: taking address of pack= ed member of =E2=80=98struct vmbus_mon_trig=E2=80=99 may result in an unali= gned pointer value [-Waddress-of-packed-member] 37 | monitor_addr =3D &channel->monitor_page->trigs[trigger_inde= x].pending; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~ [421/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common_mp.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_log.h:8, from ../drivers/common/mlx5/mlx5_common_mp.c:13: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [422/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common_pci.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_log.h:8, from ../drivers/common/mlx5/mlx5_common_pci.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [423/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c: In function =E2=80=98mlx5_dev_mempool= _subscribe=E2=80=99: ../drivers/common/mlx5/mlx5_common.c:593:31: warning: taking address of pac= ked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in an= unaligned pointer value [-Waddress-of-packed-member] 593 | rte_rwlock_write_lock(&cdev->mr_scache.mprwlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c:605:33: warning: taking address of pac= ked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in an= unaligned pointer value [-Waddress-of-packed-member] 605 | rte_rwlock_write_unlock(&cdev->mr_scache.mprwlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c: In function =E2=80=98mlx5_common_dev_= dma_map=E2=80=99: ../drivers/common/mlx5/mlx5_common.c:1110:31: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1110 | rte_rwlock_write_lock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c:1129:41: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1129 | rte_rwlock_write_unlock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c:1142:33: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1142 | rte_rwlock_write_unlock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c: In function =E2=80=98mlx5_common_dev_= dma_unmap=E2=80=99: ../drivers/common/mlx5/mlx5_common.c:1177:30: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1177 | rte_rwlock_read_lock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c:1180:40: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1180 | rte_rwlock_read_unlock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common.c:1199:32: warning: taking address of pa= cked member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in a= n unaligned pointer value [-Waddress-of-packed-member] 1199 | rte_rwlock_read_unlock(&dev->mr_scache.rwlock); | ^~~~~~~~~~~~~~~~~~~~~~ [424/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_malloc.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_log.h:8, from ../drivers/common/mlx5/mlx5_malloc.c:11: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [425/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_linux_mlx5_common_auxiliary.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_utils.h:11, from ../drivers/common/mlx5/linux/mlx5_common_auxiliary.c:= 15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [426/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common_devx.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_log.h:8, from ../drivers/common/mlx5/mlx5_common_devx.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [428/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common_utils.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_utils.h:11, from ../drivers/common/mlx5/mlx5_common_utils.c:11: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [433/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_linux_mlx5_common_verbs.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_utils.h:11, from ../drivers/common/mlx5/linux/mlx5_common_verbs.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [434/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_linux_mlx5_common_os.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/linux/mlx5_common_os.c:21: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [435/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_common_mr.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_mr.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_garba= ge_collect=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:533:31: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 533 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:537:33: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 537 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_expan= d_cache=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:619:31: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 619 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:627:33: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 627 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_creat= e_secondary=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:666:30: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 666 | rte_rwlock_read_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:671:32: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 671 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_creat= e_primary=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:824:31: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 824 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:838:41: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 838 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:895:41: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 895 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:933:33: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 933 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:937:33: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in= an unaligned pointer value [-Waddress-of-packed-member] 937 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mr_lookup_cac= hes=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1021:30: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1021 | rte_rwlock_read_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1026:40: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1026 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1035:32: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1035 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_relea= se_cache=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1104:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1104 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1117:33: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1117 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_creat= e_cache=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1137:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1137 | mlx5_os_set_reg_mr_cb(&share_cache->reg_mr_cb, | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1138:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1138 | &share_cache->dereg_mr_cb); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1139:25: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1139 | rte_rwlock_init(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1140:25: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1140 | rte_rwlock_init(&share_cache->mprwlock); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_free_mr_= by_addr=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1255:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1255 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1303:33: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1303 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_mempo= ol_register_primary=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1685:30: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1685 | rte_rwlock_read_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1687:32: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1687 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1713:39: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1713 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1724:41: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1724 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1758:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1758 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1771:33: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1771 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_mempo= ol_unregister_primary=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1831:31: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1831 | rte_rwlock_write_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1844:33: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1844 | rte_rwlock_write_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_lookup_m= empool_regs=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1955:30: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1955 | rte_rwlock_read_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1959:32: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1959 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c: In function =E2=80=98mlx5_mr_mempo= ol_populate_cache=E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.c:1997:30: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1997 | rte_rwlock_read_lock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ ../drivers/common/mlx5/mlx5_common_mr.c:1999:32: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 1999 | rte_rwlock_read_unlock(&share_cache->rwlock); | ^~~~~~~~~~~~~~~~~~~~ [436/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_linux_mlx5_nl.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/linux/mlx5_nl.h:13, from ../drivers/common/mlx5/linux/mlx5_nl.c:22: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [447/3024] Compiling C object drivers/libtmp_rte_common_mlx5.a.p/common_mlx= 5_mlx5_devx_cmds.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/common/mlx5/mlx5_common_log.h:8, from ../drivers/common/mlx5/mlx5_devx_cmds.c:13: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [515/3024] Compiling C object drivers/libtmp_rte_net_ipn3ke.a.p/net_ipn3ke_= ipn3ke_ethdev.c.o ../drivers/net/ipn3ke/ipn3ke_ethdev.c: In function =E2=80=98ipn3ke_vswitch_= probe=E2=80=99: ../drivers/net/ipn3ke/ipn3ke_ethdev.c:491:35: warning: taking address of pa= cked member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 491 | rte_spinlock_init(&afu_dev->shared.lock); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ipn3ke/ipn3ke_ethdev.c:533:45: warning: taking address of pa= cked member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 533 | retval =3D rte_eth_dev_create(&afu_dev->device, nam= e, | ^~~~~~~~~~~~~~~~ [653/3024] Compiling C object drivers/libtmp_rte_net_atlantic.a.p/net_atlan= tic_hw_atl_hw_atl_utils.c.o ../drivers/net/atlantic/hw_atl/hw_atl_utils.c: In function =E2=80=98aq_fw1x= _set_wol=E2=80=99: ../drivers/net/atlantic/hw_atl/hw_atl_utils.c:872:50: warning: taking addre= ss of packed member of =E2=80=98struct hw_aq_atl_utils_fw_rpc=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 872 | (struct rte_ether_addr *)&prpc->msg_wol.wol= _pattern); | ^~~~~~~~~~~~~~~~~~= ~~~~~~~~ [683/3024] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt= _hwrm.c.o ../drivers/net/bnxt/bnxt_hwrm.c: In function =E2=80=98bnxt_hwrm_func_backin= g_store_qcaps_v2=E2=80=99: ../drivers/net/bnxt/bnxt_hwrm.c:6363:33: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_qcaps_v2_output=E2=80=99 = may result in an unaligned pointer value [-Waddress-of-packed-member] 6363 | for (i =3D 0, p =3D &resp->split_entry_0; i < ctxm-= >split_entry_cnt; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c: In function =E2=80=98bnxt_hwrm_func_backin= g_store_cfg_v2=E2=80=99: ../drivers/net/bnxt/bnxt_hwrm.c:6577:33: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_v2_input=E2=80=99 may= result in an unaligned pointer value [-Waddress-of-packed-member] 6577 | for (k =3D 0, p =3D &req.split_entry_0; k < ctxm->s= plit_entry_cnt; k++) | ^~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6588:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_v2_input=E2=80=99 may= result in an unaligned pointer value [-Waddress-of-packed-member] 6588 | &req.page_dir); | ^~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c: In function =E2=80=98bnxt_hwrm_func_backin= g_store_cfg=E2=80=99: ../drivers/net/bnxt/bnxt_hwrm.c:6633:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6633 | &req.qpc_page_dir); | ^~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6644:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6644 | &req.srq_page_dir); | ^~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6655:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6655 | &req.cq_page_dir); | ^~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6667:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6667 | &req.vnic_page_dir); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6676:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6676 | &req.stat_page_dir); | ^~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6680:23: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6680 | num_entries =3D &req.tqm_sp_num_entries; | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6682:18: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6682 | pg_dir =3D &req.tqm_sp_page_dir; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnxt/bnxt_hwrm.c:6704:39: warning: taking address of packed = member of =E2=80=98struct hwrm_func_backing_store_cfg_input=E2=80=99 may re= sult in an unaligned pointer value [-Waddress-of-packed-member] 6704 | &req.tqm_ring8_page_dir); | ^~~~~~~~~~~~~~~~~~~~~~~ [749/3024] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf= _vchnl.c.o ../drivers/net/iavf/iavf_vchnl.c: In function =E2=80=98iavf_handle_virtchnl= _msg=E2=80=99: ../drivers/net/iavf/iavf_vchnl.c:556:73: warning: taking address of packed = member of =E2=80=98struct inline_ipsec_msg=E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 556 | = imsg->ipsec_data.event; | = ^~~~ [785/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _ethdev.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_rxtx.h:21, from ../drivers/net/mlx5/mlx5_ethdev.c:25: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_ethdev.c:26: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_ethdev.c:27: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [788/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _mac.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_mac.c:17: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [789/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= .c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5.c:30: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5.c:39: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5.c:40: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5.c:43: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ [790/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rss.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_rss.c:17: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rss.c:19: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [791/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_flex.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_flex.c:7: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_flex.c:8: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [792/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_meter.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_meter.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_meter.c:16: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [794/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rxmode.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_rxmode.c:13: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [795/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_aso.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_aso.c:13: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_aso.c:14: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_aso.c:15: ../drivers/net/mlx5/mlx5_hws_cnt.h: In function =E2=80=98mlx5_hws_age_cnt_g= et=E2=80=99: ../drivers/net/mlx5/mlx5_hws_cnt.h:672:45: warning: taking address of packe= d member of =E2=80=98struct mlx5_hws_age_param=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 672 | ¶m->own_cnt_index, = age_idx) < 0) | ^~~~~~~~~~~~~~~~~~~~~ [797/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _stats.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_stats.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_stats.c:19: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_stats.c:20: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [798/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rxtx.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_rxtx.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rxtx.c:27: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rxtx.c:28: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [799/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _trigger.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_trigger.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_trigger.c:17: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_trigger.c:18: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [800/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rxq.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_rxq.c:24: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rxq.c:29: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rxq.c: In function =E2=80=98mlx5_rxq_new=E2=80=99: ../drivers/net/mlx5/mlx5_rxq.c:1839:31: warning: taking address of packed m= ember of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in an unal= igned pointer value [-Waddress-of-packed-member] 1839 | &priv->sh->cdev->mr_scache.dev_gen, s= ocket)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [801/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _tx.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_tx.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_tx.c:27: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [802/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rx.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_rx.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rx.c:30: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [803/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.c:28: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow.c:29: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.c:30: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ In file included from ../drivers/net/mlx5/mlx5_flow.c:31: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [804/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _txq.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_txq.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_txq.c:27: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ ../drivers/net/mlx5/mlx5_txq.c: In function =E2=80=98mlx5_txq_new=E2=80=99: ../drivers/net/mlx5/mlx5_txq.c:1085:31: warning: taking address of packed m= ember of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result in an unal= igned pointer value [-Waddress-of-packed-member] 1085 | &priv->sh->cdev->mr_scache.dev_gen, s= ocket)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [805/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _vlan.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_vlan.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_vlan.c:19: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [806/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _txpp.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_txpp.c:18: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_txpp.c:19: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_txpp.c:20: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ ../drivers/net/mlx5/mlx5_txpp.c: In function =E2=80=98mlx5_txpp_fill_wqe_re= arm_queue=E2=80=99: ../drivers/net/mlx5/mlx5_txpp.c:191:22: warning: taking address of packed m= ember of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned point= er value [-Waddress-of-packed-member] 191 | cs =3D &wqe[i + 0].cseg; | ^~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_txpp.c:204:22: warning: taking address of packed m= ember of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned point= er value [-Waddress-of-packed-member] 204 | cs =3D &wqe[i + 1].cseg; | ^~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_txpp.c: In function =E2=80=98mlx5_txpp_fill_wqe_cl= ock_queue=E2=80=99: ../drivers/net/mlx5/mlx5_txpp.c:289:36: warning: taking address of packed m= ember of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned point= er value [-Waddress-of-packed-member] 289 | struct mlx5_wqe_cseg *cs =3D &wqe->cseg; | ^~~~~~~~~~ [807/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _nta_rss.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_nta_rss.c:8: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_nta_rss.c:10: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_nta_rss.c:11: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [808/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _devx.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_devx.c:21: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_devx.c:23: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_devx.c:24: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_devx.c:28: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ [809/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _utils.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_utils.h:20, from ../drivers/net/mlx5/mlx5_utils.c:9: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [810/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_geneve.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_geneve.c:11: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_geneve.c:12: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [811/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_quota.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_utils.h:20, from ../drivers/net/mlx5/mlx5_flow_quota.c:8: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_quota.c:9: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [812/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _tx_mpw.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_tx.h:18, from ../drivers/net/mlx5/mlx5_tx_mpw.c:6: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [813/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_verbs.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_verbs.c:24: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_verbs.c:25: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_verbs.c:26: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_verbs.c:27: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ ../drivers/net/mlx5/mlx5_flow_verbs.c: In function =E2=80=98flow_verbs_remo= ve=E2=80=99: ../drivers/net/mlx5/mlx5_flow_verbs.c:2016:53: warning: taking address of p= acked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an = unaligned pointer value [-Waddress-of-packed-member] 2016 | mlx5_vlan_vmwa_release(dev, &handle->vf_vla= n); | ^~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_verbs.c: In function =E2=80=98flow_verbs_appl= y=E2=80=99: ../drivers/net/mlx5/mlx5_flow_verbs.c:2124:53: warning: taking address of p= acked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an = unaligned pointer value [-Waddress-of-packed-member] 2124 | mlx5_vlan_vmwa_acquire(dev, &handle->vf_vla= n); | ^~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_verbs.c:2139:53: warning: taking address of p= acked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an = unaligned pointer value [-Waddress-of-packed-member] 2139 | mlx5_vlan_vmwa_release(dev, &handle->vf_vla= n); | ^~~~~~~~~~~~~~~~ [814/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_socket.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_utils.h:20, from ../drivers/net/mlx5/linux/mlx5_socket.c:18: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [815/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _rxtx_vec.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_rxtx_vec.c:19: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_rxtx_vec.c:22: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [816/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_os.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/linux/mlx5_os.c:35: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_os.c:45: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_os.c:46: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [817/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _hws_cnt.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_utils.h:20, from ../drivers/net/mlx5/mlx5_hws_cnt.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_hws_cnt.h:10, from ../drivers/net/mlx5/mlx5_hws_cnt.c:17: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ ../drivers/net/mlx5/mlx5_hws_cnt.h: In function =E2=80=98mlx5_hws_age_cnt_g= et=E2=80=99: ../drivers/net/mlx5/mlx5_hws_cnt.h:672:45: warning: taking address of packe= d member of =E2=80=98struct mlx5_hws_age_param=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 672 | ¶m->own_cnt_index, = age_idx) < 0) | ^~~~~~~~~~~~~~~~~~~~~ [818/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_ethdev_os.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/linux/mlx5_ethdev_os.c:41: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [819/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_verbs.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/linux/mlx5_verbs.c:22: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_verbs.c:25: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_verbs.c:26: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [820/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_mp_os.c.o In file included from ../drivers/net/mlx5/linux/mlx5_mp_os.c:14: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_mp_os.c:19: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/linux/mlx5_mp_os.c:20: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [821/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_vlan_os.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/linux/mlx5_vlan_os.c:22: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [822/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linu= x_mlx5_flow_os.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/linux/mlx5_flow_os.h:8, from ../drivers/net/mlx5/linux/mlx5_flow_os.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ [823/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_dv.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_dv.c:35: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_dv.c:37: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_dv.c:38: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ In file included from ../drivers/net/mlx5/mlx5_flow_dv.c:39: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_convert_mo= dify_action=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:414:49: warning: taking address of packe= d member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may r= esult in an unaligned pointer value [-Waddress-of-packed-member] 414 | struct mlx5_modification_cmd *actions =3D resource->actions; | ^~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_convert_ac= tion_modify_vlan_vid=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:677:49: warning: taking address of packe= d member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may r= esult in an unaligned pointer value [-Waddress-of-packed-member] 677 | struct mlx5_modification_cmd *actions =3D resource->actions; | ^~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_convert_ac= tion_set_reg=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:1030:49: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 1030 | struct mlx5_modification_cmd *actions =3D resource->actions; | ^~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_modify_create= _cb=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:6270:43: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 6270 | .data =3D (__be64 *)ref->actions | ^~~ ../drivers/net/mlx5/mlx5_flow_dv.c:6289:59: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 6289 | data_len, &entry->a= ction); | ^~~~~~~~~= ~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c:6299:16: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 6299 | return &entry->entry; | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_modify_clone_= cb=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:6323:16: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 6323 | return &entry->entry; | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_modify_hdr= _resource_register=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:6664:17: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_handle_dv=E2=80=99 may result in an = unaligned pointer value [-Waddress-of-packed-member] 6664 | &dev_flow->handle->dvh.modify_hdr, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_apply=E2= =80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:15952:61: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 15952 | dv->actions, &dh->dr= v_flow); | ^~~~~~~= ~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c:15972:53: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 15972 | mlx5_vlan_vmwa_acquire(dev, &dh->vf_vlan); | ^~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c:15989:53: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 15989 | mlx5_vlan_vmwa_release(dev, &dh->vf_vlan); | ^~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_modify_hdr= _resource_release=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:16142:61: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may= result in an unaligned pointer value [-Waddress-of-packed-member] 16142 | return mlx5_hlist_unregister(priv->sh->modify_cmds, &entry-= >entry); | ^~~~~~~= ~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_remove=E2= =80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:16423:53: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 16423 | mlx5_vlan_vmwa_release(dev, &dh->vf_vlan); | ^~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_dv.c: In function =E2=80=98flow_dv_discover_p= riorities=E2=80=99: ../drivers/net/mlx5/mlx5_flow_dv.c:20410:51: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_handle=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 20410 | flow.dv.actions, &flow.handle->drv= _flow); | ^~~~~~~~~~~~~~~~~= ~~~~~ [824/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_context.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_context.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [825/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_table.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_table.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [826/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_buddy.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_buddy.c:7: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [827/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_matcher.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_matcher.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [828/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_rule.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_rule.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [829/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_pool.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_pool.c:8: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [830/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_send.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_send.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [831/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_cmd.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_cmd.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [832/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_pat_arg.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_pat_arg.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [834/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_debug.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_debug.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [835/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_action.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_action.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [837/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_crc32.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_crc32.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [838/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_bwc.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_bwc.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [846/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_= mlx5dr_definer.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow.h:19, from ../drivers/net/mlx5/hws/mlx5dr_internal.h:25, from ../drivers/net/mlx5/hws/mlx5dr_definer.c:5: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [849/3024] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_if= pga_rawdev.c.o ../drivers/raw/ifpga/ifpga_rawdev.c: In function =E2=80=98ifpga_fill_afu_de= v=E2=80=99: ../drivers/raw/ifpga/ifpga_rawdev.c:597:40: warning: taking address of pack= ed member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an unali= gned pointer value [-Waddress-of-packed-member] 597 | struct rte_mem_resource *res =3D afu_dev->mem_resource; | ^~~~~~~ [850/3024] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_af= u_pmd_core.c.o ../drivers/raw/ifpga/afu_pmd_core.c: In function =E2=80=98afu_rawdev_create= =E2=80=99: ../drivers/raw/ifpga/afu_pmd_core.c:312:26: warning: taking address of pack= ed member of =E2=80=98struct rte_afu_device=E2=80=99 may result in an unali= gned pointer value [-Waddress-of-packed-member] 312 | rawdev->device =3D &afu_dev->device; | ^~~~~~~~~~~~~~~~ [891/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _tx_txpp.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_tx.h:18, from ../drivers/net/mlx5/mlx5_tx_txpp.c:6: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [892/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _tx_empw.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_tx.h:18, from ../drivers/net/mlx5/mlx5_tx_empw.c:6: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [894/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _flow_hw.c.o In file included from ../drivers/net/mlx5/mlx5.h:28, from ../drivers/net/mlx5/mlx5_flow_hw.c:11: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow.h:22, from ../drivers/net/mlx5/mlx5_flow_hw.c:14: ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_hw.c:15: ../drivers/net/mlx5/linux/mlx5_flow_os.h: In function =E2=80=98mlx5_flow_os= _create_flow_action_modify_header=E2=80=99: ../drivers/net/mlx5/linux/mlx5_flow_os.h:231:67: warning: taking address of= packed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99= may result in an unaligned pointer value [-Waddress-of-packed-member] 231 | actions_len, (uint64_t *)r= es->actions); | ^= ~~ In file included from ../drivers/net/mlx5/mlx5_flow_hw.c:16: ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_addr2mr=E2=80= =99: ../drivers/net/mlx5/mlx5_rx.h:337:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 337 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_rx.h: In function =E2=80=98mlx5_rx_mb2mr=E2=80=99: ../drivers/net/mlx5/mlx5_rx.h:366:52: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 366 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ In file included from ../drivers/net/mlx5/mlx5_flow_hw.c:19: ../drivers/net/mlx5/mlx5_hws_cnt.h: In function =E2=80=98mlx5_hws_age_cnt_g= et=E2=80=99: ../drivers/net/mlx5/mlx5_hws_cnt.h:672:45: warning: taking address of packe= d member of =E2=80=98struct mlx5_hws_age_param=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 672 | ¶m->own_cnt_index, = age_idx) < 0) | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_hw.c: In function =E2=80=98flow_hw_converted_= mhdr_cmds_append=E2=80=99: ../drivers/net/mlx5/mlx5_flow_hw.c:1495:53: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 1495 | struct mlx5_modification_cmd *src =3D &resource->ac= tions[idx]; | ^~~~~~~~~~~~~~~= ~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_hw.c: In function =E2=80=98flow_hw_modify_fie= ld_compile=E2=80=99: ../drivers/net/mlx5/mlx5_flow_hw.c:1620:45: warning: taking address of pack= ed member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may = result in an unaligned pointer value [-Waddress-of-packed-member] 1620 | if (flow_hw_should_insert_nop(mhdr, &resource->actions[0]))= { | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_hw.c: In function =E2=80=98flow_hw_shared_act= ion_construct=E2=80=99: ../drivers/net/mlx5/mlx5_flow_hw.c:3205:51: warning: taking address of pack= ed member of =E2=80=98struct mlx5_hws_age_param=E2=80=99 may result in an u= naligned pointer value [-Waddress-of-packed-member] 3205 | ¶m->queue_id,= &age_cnt, | ^~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_flow_hw.c: In function =E2=80=98flow_hw_destroy=E2= =80=99: ../drivers/net/mlx5/mlx5_flow_hw.c:13809:25: warning: taking address of pac= ked member of =E2=80=98struct mlx5_flow_dv_modify_hdr_resource=E2=80=99 may= result in an unaligned pointer value [-Waddress-of-packed-member] 13809 | &flow->nt2hws->modify_hdr->entry); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [896/3024] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5= _tx_nompw.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/net/mlx5/mlx5_tx.h:18, from ../drivers/net/mlx5/mlx5_tx_nompw.c:6: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.h: In function =E2=80=98mlx5_tx_cseg_init=E2=80= =99: ../drivers/net/mlx5/mlx5_tx.h:811:51: warning: taking address of packed mem= ber of =E2=80=98struct mlx5_wqe=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 811 | struct mlx5_wqe_cseg *__rte_restrict cs =3D &wqe->cseg; | ^~~~~~~~~~ [948/3024] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o ../lib/vhost/vhost_user.c: In function =E2=80=98vhost_user_set_vring_addr= =E2=80=99: ../lib/vhost/vhost_user.c:980:41: warning: taking address of packed member = of =E2=80=98struct VhostUserMsg=E2=80=99 may result in an unaligned pointer= value [-Waddress-of-packed-member] 980 | struct vhost_vring_addr *addr =3D &ctx->msg.payload.addr; | ^~~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost_user.c: In function =E2=80=98vhost_user_postcopy_registe= r=E2=80=99: ../lib/vhost/vhost_user.c:1248:18: warning: taking address of packed member= of =E2=80=98struct VhostUserMsg=E2=80=99 may result in an unaligned pointe= r value [-Waddress-of-packed-member] 1248 | memory =3D &ctx->msg.payload.memory; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost_user.c: In function =E2=80=98vhost_user_set_mem_table=E2= =80=99: ../lib/vhost/vhost_user.c:1390:42: warning: taking address of packed member= of =E2=80=98struct VhostUserMsg=E2=80=99 may result in an unaligned pointe= r value [-Waddress-of-packed-member] 1390 | struct VhostUserMemory *memory =3D &ctx->msg.payload.memory; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost_user.c: In function =E2=80=98vhost_user_iotlb_msg=E2=80= =99: ../lib/vhost/vhost_user.c:2707:40: warning: taking address of packed member= of =E2=80=98struct VhostUserMsg=E2=80=99 may result in an unaligned pointe= r value [-Waddress-of-packed-member] 2707 | struct vhost_iotlb_msg *imsg =3D &ctx->msg.payload.iotlb; | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/vhost/vhost_user.c: In function =E2=80=98read_vhost_message=E2=80=99: ../lib/vhost/vhost_user.c:2919:20: warning: taking address of packed member= of =E2=80=98struct vhu_msg_context=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 2919 | ctx->fds, VHOST_MEMORY_MAX_NREGIONS, &ctx->fd_num); | ~~~^~~~~ ../lib/vhost/vhost_user.c:2919:54: warning: taking address of packed member= of =E2=80=98struct vhu_msg_context=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 2919 | ctx->fds, VHOST_MEMORY_MAX_NREGIONS, &ctx->fd_num); | ^~~~~~~~~~~~ ../lib/vhost/vhost_user.c: In function =E2=80=98send_vhost_message=E2=80=99: ../lib/vhost/vhost_user.c:2960:57: warning: taking address of packed member= of =E2=80=98struct vhu_msg_context=E2=80=99 may result in an unaligned poi= nter value [-Waddress-of-packed-member] 2960 | VHOST_USER_HDR_SIZE + ctx->msg.size, ctx->fds, ctx-= >fd_num); | ~~~^~~~~ [991/3024] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o ../lib/vhost/vhost_crypto.c: In function =E2=80=98vhost_crypto_msg_post_han= dler=E2=80=99: ../lib/vhost/vhost_crypto.c:458:33: warning: taking address of packed membe= r of =E2=80=98struct VhostUserMsg=E2=80=99 may result in an unaligned point= er value [-Waddress-of-packed-member] 458 | &ctx->msg.payload.crypto_session); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [1088/3024] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_a= ction.c.o ../lib/pipeline/rte_table_action.c: In function =E2=80=98mtr_apply=E2=80=99: ../lib/pipeline/rte_table_action.c:278:49: warning: taking address of packe= d member of =E2=80=98struct mtr_trtcm_data=E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 278 | status =3D rte_meter_trtcm_config(&data_tc->trtcm, | ^~~~~~~~~~~~~~~ ../lib/pipeline/rte_table_action.c: In function =E2=80=98pkt_work_mtr=E2=80= =99: ../lib/pipeline/rte_table_action.c:325:17: warning: taking address of packe= d member of =E2=80=98struct mtr_trtcm_data=E2=80=99 may result in an unalig= ned pointer value [-Waddress-of-packed-member] 325 | &data->trtcm, | ^~~~~~~~~~~~ [1093/3024] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioa= t_dmadev.c.o ../drivers/dma/ioat/ioat_dmadev.c: In function =E2=80=98ioat_dmadev_create= =E2=80=99: ../drivers/dma/ioat/ioat_dmadev.c:648:26: warning: taking address of packed= member of =E2=80=98struct ioat_registers=E2=80=99 may result in an unalign= ed pointer value [-Waddress-of-packed-member] 648 | ioat->doorbell =3D &ioat->regs->dmacount; | ^~~~~~~~~~~~~~~~~~~~~ [1102/3024] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_e= thdev_rx.c.o ../drivers/net/ark/ark_ethdev_rx.c: In function =E2=80=98eth_ark_recv_pkts= =E2=80=99: ../drivers/net/ark/ark_ethdev_rx.c:332:45: warning: taking address of packe= d member of =E2=80=98struct ark_rx_meta=E2=80=99 may result in an unaligned= pointer value [-Waddress-of-packed-member] 332 | rx_user_meta_hook(mbuf, meta->user_meta, queue->ext= _user_data); | ~~~~^~~~~~~~~~~ [1183/3024] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_eni= c_fm_flow.c.o ../drivers/net/enic/enic_fm_flow.c: In function =E2=80=98enic_fm_copy_item_= vlan=E2=80=99: ../drivers/net/enic/enic_fm_flow.c:461:28: warning: taking address of packe= d member of =E2=80=98union =E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 461 | eth_mask =3D (void *)&fm_mask->l2.eth; | ^~~~~~~~~~~~~~~~ ../drivers/net/enic/enic_fm_flow.c:462:27: warning: taking address of packe= d member of =E2=80=98union =E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 462 | eth_val =3D (void *)&fm_data->l2.eth; | ^~~~~~~~~~~~~~~~ [1246/3024] Compiling C object drivers/libtmp_rte_net_ionic.a.p/net_ionic_i= onic_ethdev.c.o ../drivers/net/ionic/ionic_ethdev.c: In function =E2=80=98ionic_dev_info_ge= t=E2=80=99: ../drivers/net/ionic/ionic_ethdev.c:405:39: warning: taking address of pack= ed member of =E2=80=98struct =E2=80=99 may result in an unaligne= d pointer value [-Waddress-of-packed-member] 405 | union ionic_lif_config *cfg =3D &ident->lif.eth.config; | ^~~~~~~~~~~~~~~~~~~~~~ [1249/3024] Compiling C object drivers/libtmp_rte_net_ionic.a.p/net_ionic_i= onic_lif.c.o ../drivers/net/ionic/ionic_lif.c: In function =E2=80=98ionic_lif_configure= =E2=80=99: ../drivers/net/ionic/ionic_lif.c:1921:39: warning: taking address of packed= member of =E2=80=98struct =E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 1921 | union ionic_lif_config *cfg =3D &ident->lif.eth.config; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ionic/ionic_lif.c: In function =E2=80=98ionic_lif_identify= =E2=80=99: ../drivers/net/ionic/ionic_lif.c:2094:39: warning: taking address of packed= member of =E2=80=98struct =E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 2094 | union ionic_lif_config *cfg =3D &ident->lif.eth.config; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ionic/ionic_lif.c: In function =E2=80=98ionic_lifs_size=E2= =80=99: ../drivers/net/ionic/ionic_lif.c:2136:39: warning: taking address of packed= member of =E2=80=98struct =E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 2136 | union ionic_lif_config *cfg =3D &ident->lif.eth.config; | ^~~~~~~~~~~~~~~~~~~~~~ [1260/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4.c.o In file included from ../drivers/net/mlx4/mlx4.c:49: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1261/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_intr.c.o In file included from ../drivers/net/mlx4/mlx4_intr.c:32: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1263/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_mp.c.o In file included from ../drivers/net/mlx4/mlx4_mp.c:16: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1265/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_flow.c.o In file included from ../drivers/net/mlx4/mlx4_flow.c:40: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_flow.c: In function =E2=80=98mlx4_flow_internal=E2= =80=99: ../drivers/net/mlx4/mlx4_flow.c:1364:17: warning: taking address of packed = member of =E2=80=98struct rte_vlan_hdr=E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 1364 | &vlan_spec.hdr.vlan_tci : | ^~~~~~~~~~~~~~~~~~~~~~~ [1267/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_ethdev.c.o In file included from ../drivers/net/mlx4/mlx4_ethdev.c:46: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1268/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_mr.c.o In file included from ../drivers/net/mlx4/mlx4_mr.c:37: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1270/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_txq.c.o In file included from ../drivers/net/mlx4/mlx4_txq.c:38: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1271/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_rxq.c.o In file included from ../drivers/net/mlx4/mlx4_rxq.c:38: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1275/3024] Compiling C object drivers/libtmp_rte_net_mlx4.a.p/net_mlx4_mlx= 4_rxtx.c.o In file included from ../drivers/net/mlx4/mlx4_rxtx.c:33: ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_rx_addr2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:208:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 208 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/net/mlx4/mlx4_rxtx.h: In function =E2=80=98mlx4_tx_mb2mr=E2=80= =99: ../drivers/net/mlx4/mlx4_rxtx.h:240:53: warning: taking address of packed m= ember of =E2=80=98struct mlx4_mr_ctrl=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 240 | lkey =3D mlx4_mr_lookup_cache(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1422/3024] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_rte_e= th_tap.c.o ../drivers/net/tap/rte_eth_tap.c: In function =E2=80=98tap_write_mbufs=E2= =80=99: ../drivers/net/tap/rte_eth_tap.c:619:44: warning: taking address of packed = member of =E2=80=98struct rte_udp_hdr=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 619 | l4_cksum =3D &udp_hdr->dgram_cksum; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/tap/rte_eth_tap.c:625:44: warning: taking address of packed = member of =E2=80=98struct rte_tcp_hdr=E2=80=99 may result in an unaligned p= ointer value [-Waddress-of-packed-member] 625 | l4_cksum =3D &tcp_hdr->cksum; | ^~~~~~~~~~~~~~~ [1444/3024] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio= _virtio_user_vhost_user.c.o ../drivers/net/virtio/virtio_user/vhost_user.c: In function =E2=80=98vhost_= user_set_memory_table=E2=80=99: ../drivers/net/virtio/virtio_user/vhost_user.c:474:17: warning: taking addr= ess of packed member of =E2=80=98struct vhost_user_msg=E2=80=99 may result = in an unaligned pointer value [-Waddress-of-packed-member] 474 | wa.vm =3D &msg.payload.memory; | ^~~~~~~~~~~~~~~~~~~ [1485/3024] Compiling C object drivers/libtmp_rte_crypto_ionic.a.p/crypto_i= onic_ionic_crypto_cmds.c.o ../drivers/crypto/ionic/ionic_crypto_cmds.c: In function =E2=80=98iocpt_dev= _identify=E2=80=99: ../drivers/crypto/ionic/ionic_crypto_cmds.c:346:39: warning: taking address= of packed member of =E2=80=98struct =E2=80=99 may result in an = unaligned pointer value [-Waddress-of-packed-member] 346 | union iocpt_lif_config *cfg =3D &ident->config; | ^~~~~~~~~~~~~~ [1494/3024] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_ml= x5_mlx5_crypto.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/crypto/mlx5/mlx5_crypto.c:14: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1496/3024] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_ml= x5_mlx5_crypto_xts.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/crypto/mlx5/mlx5_crypto_xts.c:14: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/crypto/mlx5/mlx5_crypto_xts.c: In function =E2=80=98mlx5_crypto_= xts_wqe_set=E2=80=99: ../drivers/crypto/mlx5/mlx5_crypto_xts.c:262:38: warning: taking address of= packed member of =E2=80=98struct mlx5_umr_wqe=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 262 | struct mlx5_wqe_cseg *cseg =3D &umr->ctr; | ^~~~~~~~~ ../drivers/crypto/mlx5/mlx5_crypto_xts.c: In function =E2=80=98mlx5_crypto_= xts_queue_pair_setup=E2=80=99: ../drivers/crypto/mlx5/mlx5_crypto_xts.c:517:45: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 517 | if (mlx5_mr_ctrl_init(&qp->mr_ctrl, &priv->cdev->mr_scache.= dev_gen, | ^~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~ [1499/3024] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_ml= x5_mlx5_crypto_dek.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/crypto/mlx5/mlx5_crypto_utils.h:8, from ../drivers/crypto/mlx5/mlx5_crypto_dek.c:13: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1507/3024] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto= _caam_jr_caam_jr.c.o ../drivers/crypto/caam_jr/caam_jr.c: In function =E2=80=98hw_poll_job_ring= =E2=80=99: ../drivers/crypto/caam_jr/caam_jr.c:584:29: warning: taking address of pack= ed member of =E2=80=98struct sec_outring_entry=E2=80=99 may result in an un= aligned pointer value [-Waddress-of-packed-member] 584 | temp_addr =3D &(job_ring->output_ring[job_ring->cid= x].desc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~ [1508/3024] Compiling C object drivers/libtmp_rte_crypto_mlx5.a.p/crypto_ml= x5_mlx5_crypto_gcm.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/crypto/mlx5/mlx5_crypto_gcm.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/crypto/mlx5/mlx5_crypto_gcm.c: In function =E2=80=98mlx5_crypto_= gcm_qp_setup=E2=80=99: ../drivers/crypto/mlx5/mlx5_crypto_gcm.c:345:45: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 345 | if (mlx5_mr_ctrl_init(&qp->mr_ctrl, &priv->cdev->mr_scache.= dev_gen, | ^~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~ [1520/3024] Compiling C object drivers/libtmp_rte_compress_mlx5.a.p/compres= s_mlx5_mlx5_compress.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/compress/mlx5/mlx5_compress.c:15: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/compress/mlx5/mlx5_compress.c: In function =E2=80=98mlx5_compres= s_qp_setup=E2=80=99: ../drivers/compress/mlx5/mlx5_compress.c:181:45: warning: taking address of= packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result i= n an unaligned pointer value [-Waddress-of-packed-member] 181 | if (mlx5_mr_ctrl_init(&qp->mr_ctrl, &priv->cdev->mr_scache.= dev_gen, | ^~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~ [1522/3024] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5= _mlx5_regex_devx.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/regex/mlx5/mlx5_regex.h:13, from ../drivers/regex/mlx5/mlx5_regex_devx.c:12: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1524/3024] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5= _mlx5_regex.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/regex/mlx5/mlx5_regex.c:14: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1525/3024] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5= _mlx5_rxp.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/regex/mlx5/mlx5_regex.h:13, from ../drivers/regex/mlx5/mlx5_rxp.c:18: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1527/3024] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5= _mlx5_regex_control.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/regex/mlx5/mlx5_regex_control.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ ../drivers/regex/mlx5/mlx5_regex_control.c: In function =E2=80=98mlx5_regex= _qp_setup=E2=80=99: ../drivers/regex/mlx5/mlx5_regex_control.c:250:47: warning: taking address = of packed member of =E2=80=98struct mlx5_mr_share_cache=E2=80=99 may result= in an unaligned pointer value [-Waddress-of-packed-member] 250 | ret =3D mlx5_mr_ctrl_init(&qp->mr_ctrl, &priv->cdev->mr_sca= che.dev_gen, | ^~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~ [1532/3024] Compiling C object drivers/libtmp_rte_regex_mlx5.a.p/regex_mlx5= _mlx5_regex_fastpath.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/regex/mlx5/mlx5_regex_fastpath.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1543/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_event.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_event.c:19: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1544/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa.c:20: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1545/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_lm.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_utils.h:8, from ../drivers/vdpa/mlx5/mlx5_vdpa_lm.c:7: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1547/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_mem.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_mem.c:12: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1548/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_virtq.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_virtq.c:12: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1552/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_steer.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_steer.c:10: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1553/3024] Compiling C object drivers/libtmp_rte_vdpa_mlx5.a.p/vdpa_mlx5_m= lx5_vdpa_cthread.c.o In file included from ../drivers/common/mlx5/mlx5_common.h:27, from ../drivers/vdpa/mlx5/mlx5_vdpa_cthread.c:16: ../drivers/common/mlx5/mlx5_common_mr.h: In function =E2=80=98mlx5_mr_mb2mr= =E2=80=99: ../drivers/common/mlx5/mlx5_common_mr.h:201:52: warning: taking address of = packed member of =E2=80=98struct mlx5_mr_ctrl=E2=80=99 may result in an una= ligned pointer value [-Waddress-of-packed-member] 201 | lkey =3D mlx5_mr_lookup_lkey(mr_ctrl->cache, &mr_ctrl->mru, | ^~~~~~~~~~~~~ [1776/3024] Compiling C object lib/librte_efd.a.p/efd_rte_efd.c.o ../lib/efd/rte_efd.c: In function =E2=80=98efd_lookup_internal=E2=80=99: ../lib/efd/rte_efd.c:1295:56: warning: taking address of packed member of = =E2=80=98struct efd_online_group_entry=E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 1295 | return efd_lookup_internal_scalar(group->hash_idx, | ~~~~~^~~~~~~~~~ ../lib/efd/rte_efd.c:1296:46: warning: taking address of packed member of = =E2=80=98struct efd_online_group_entry=E2=80=99 may result in an unaligned = pointer value [-Waddress-of-packed-member] 1296 | group->lookup_table, | ~~~~~^~~~~~~~~~~~~~ [3024/3024] Linking target app/dpdk-test ~/DPDK/main $=20