patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Wang, FengqinX" <fengqinx.wang@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>,
	Yongseok Koh <yskoh@mellanox.com>, dpdk stable <stable@dpdk.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"pezhang@redhat.com" <pezhang@redhat.com>,
	 "siliu@redhat.com" <siliu@redhat.com>,
	"Chen, Zhaoyan" <zhaoyan.chen@intel.com>,
	"Xu, Qian Q" <qian.q.xu@intel.com>,
	"alialnu@mellanox.com" <alialnu@mellanox.com>,
	"rasland@mellanox.com" <rasland@mellanox.com>
Subject: Re: [dpdk-stable] 17.11.7-rc1 (LTS) patches review and test
Date: Fri, 30 Aug 2019 08:42:11 +0000	[thread overview]
Message-ID: <4A3FBC67CD7DCF48BECD235A28B050330ADA95BA@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <345a5ceb-0dde-bb3b-884f-43b4755da107@intel.com>

Hi Ferruh,

After verify, this fixes works fine after we merge it to stable 17.11.7.
BTW, do we have plan to apply this patch to the stable 17.11.7?

BRs, Vicky

-----Original Message-----
From: Yigit, Ferruh 
Sent: Friday, August 30, 2019 12:11 AM
To: Yongseok Koh <yskoh@mellanox.com>; dpdk stable <stable@dpdk.org>
Cc: dev@dpdk.org; pezhang@redhat.com; siliu@redhat.com; Wang, FengqinX <fengqinx.wang@intel.com>; Chen, Zhaoyan <zhaoyan.chen@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>; alialnu@mellanox.com; rasland@mellanox.com
Subject: Re: [dpdk-stable] 17.11.7-rc1 (LTS) patches review and test

On 8/15/2019 7:05 PM, Yongseok Koh wrote:
> Hi all,
> 
> Here is a list of patches targeted for LTS release 17.11.7. Please 
> help review and test. The planned date for the final release is Aug 
> 23, Before that, please shout if anyone has objections with these patches being applied.
> 
> Also for the companies committed to running regression tests, please 
> run the tests and report any issue before the release date.
> 
> A release candidate tarball can be found at:
> 
>     https://dpdk.org/browse/dpdk-stable/tag/?id=v17.11.7-rc1
> 
> These patches are located at branch 17.11 of dpdk-stable repo:
>     https://dpdk.org/browse/dpdk-stable/


I am getting build error [1] with Fedora 30 and gcc [2], the issue seems fixed in the main repo [3].



[1] [-Werror=address-of-packed-member]

.../lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_eal_tailq_lookup’:
.../lib/librte_eal/common/eal_common_tailqs.c:76:11: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   76 |    return &mcfg->tailq_head[i];
      |           ^~~~~~~~~~~~~~~~~~~~
.../lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_dump_tailq’:
.../lib/librte_eal/common/eal_common_tailqs.c:90:23: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   90 |  rte_rwlock_read_lock(&mcfg->qlock);
      |                       ^~~~~~~~~~~~
.../lib/librte_eal/common/eal_common_tailqs.c:92:40: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   92 |   const struct rte_tailq_head *tailq = &mcfg->tailq_head[i];
      |                                        ^~~~~~~~~~~~~~~~~~~~
.../lib/librte_eal/common/eal_common_tailqs.c:98:25: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
   98 |  rte_rwlock_read_unlock(&mcfg->qlock);
      |                         ^~~~~~~~~~~~
.../lib/librte_eal/common/eal_common_tailqs.c: In function ‘rte_eal_tailq_create’:
.../lib/librte_eal/common/eal_common_tailqs.c:111:10: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  111 |   head = &mcfg->tailq_head[rte_tailqs_count];
      |

[2]
$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 30 (Thirty)
Release:        30
Codename:       Thirty

$ gcc --version
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)


[3]
Fixes: a385972c3675 ("mk: disable warning for packed member pointer")

  reply	other threads:[~2019-09-02  8:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15 18:05 Yongseok Koh
2019-08-19  6:37 ` Pei Zhang
2019-08-25 10:30 ` Ali Alnubani
2019-08-29 16:10 ` Ferruh Yigit
2019-08-30  8:42   ` Wang, FengqinX [this message]
2019-08-30 12:58     ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A3FBC67CD7DCF48BECD235A28B050330ADA95BA@SHSMSX101.ccr.corp.intel.com \
    --to=fengqinx.wang@intel.com \
    --cc=alialnu@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=pezhang@redhat.com \
    --cc=qian.q.xu@intel.com \
    --cc=rasland@mellanox.com \
    --cc=siliu@redhat.com \
    --cc=stable@dpdk.org \
    --cc=yskoh@mellanox.com \
    --cc=zhaoyan.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).