DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "Jerin Jacob Kollanukkaran" <jerinj@marvell.com>,
	"Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	 "stefan.sundkvist@ericsson.com" <stefan.sundkvist@ericsson.com>,
	 "Ola.Liljedahl@arm.com" <Ola.Liljedahl@arm.com>,
	ci@dpdk.org
Subject: Re: [dpdk-dev] [EXT] [PATCH 0/8] DSW performance and statistics improvements
Date: Wed, 15 Apr 2020 18:37:10 +0200	[thread overview]
Message-ID: <CAJFAV8wnQwsyL4MC3YRErfJ5eHdOJMLPyR5SLLXpNjaSrfHg5w@mail.gmail.com> (raw)
In-Reply-To: <BYAPR18MB242435E29184618ED4E2E6F0C8C40@BYAPR18MB2424.namprd18.prod.outlook.com>

On Sat, Apr 4, 2020 at 4:35 PM Jerin Jacob Kollanukkaran
<jerinj@marvell.com> wrote:
>
> > -----Original Message-----
> > From: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
> > Sent: Monday, March 9, 2020 12:21 PM
> > To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> > Cc: dev@dpdk.org; stefan.sundkvist@ericsson.com; Ola.Liljedahl@arm.com;
> > Mattias Rönnblom <mattias.ronnblom@ericsson.com>
> > Subject: [EXT] [PATCH 0/8] DSW performance and statistics improvements
> >
> > External Email
> >
> > ----------------------------------------------------------------------
> > Performance and statistics improvements for the distributed software
> > (DSW) event device.
> >
> > Mattias Rönnblom (8):
> >   event/dsw: reduce latency in low-load situations
> >   event/dsw: reduce max flows to speed up load balancing
> >   event/dsw: extend statistics
> >   event/dsw: improve migration mechanism
> >   event/dsw: avoid migration waves in large systems
> >   event/dsw: remove redundant control ring poll
> >   event/dsw: remove unnecessary read barrier
> >   event/dsw: add port busy cycles xstats
>
> Series applied to dpdk-next-eventdev/master. Thanks.

I get a compilation issue on rhel7.
Too bad the CI did not help.
http://patchwork.dpdk.org/project/dpdk/list/?series=8828&state=*


[1583/1808] Compiling C object
'drivers/drivers@@tmp_rte_pmd_dsw_event@sta/event_dsw_dsw_event.c.o'.
../drivers/event/dsw/dsw_event.c: In function ‘dsw_port_consider_emigration’:
../drivers/event/dsw/dsw_event.c:502:27: warning: ‘candidate_qf’ may
be used uninitialized in this function [-Wmaybe-uninitialized]
  target_qfs[*targets_len] = *candidate_qf;
                           ^
../drivers/event/dsw/dsw_event.c:445:25: note: ‘candidate_qf’ was declared here
  struct dsw_queue_flow *candidate_qf;
                         ^
In file included from ../lib/librte_eal/x86/include/rte_atomic.h:16:0,
                 from ../lib/librte_eal/include/generic/rte_rwlock.h:25,
                 from ../lib/librte_eal/x86/include/rte_rwlock.h:12,
                 from ../lib/librte_eal/include/rte_fbarray.h:40,
                 from ../lib/librte_eal/include/rte_memory.h:25,
                 from ../lib/librte_eventdev/rte_event_ring.h:20,
                 from ../drivers/event/dsw/dsw_evdev.h:8,
                 from ../drivers/event/dsw/dsw_event.c:5:
../lib/librte_eal/include/generic/rte_atomic.h:566:22: warning:
‘candidate_flow_load’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
  __sync_fetch_and_add(&v->cnt, inc);
                      ^
../drivers/event/dsw/dsw_event.c:448:10: note: ‘candidate_flow_load’
was declared here
  int16_t candidate_flow_load;
          ^
../drivers/event/dsw/dsw_event.c:505:49: warning: ‘candidate_port_id’
may be used uninitialized in this function [-Wmaybe-uninitialized]
  rte_atomic32_add(&dsw->ports[candidate_port_id].immigration_load,
                                                 ^
../drivers/event/dsw/dsw_event.c:446:10: note: ‘candidate_port_id’ was
declared here
  uint8_t candidate_port_id;
          ^

-- 
David Marchand


  reply	other threads:[~2020-04-15 16:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09  6:50 [dpdk-dev] " Mattias Rönnblom
2020-03-09  6:50 ` [dpdk-dev] [PATCH 1/8] event/dsw: reduce latency in low-load situations Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 2/8] event/dsw: reduce max flows to speed up load balancing Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 3/8] event/dsw: extend statistics Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 4/8] event/dsw: improve migration mechanism Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 5/8] event/dsw: avoid migration waves in large systems Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 6/8] event/dsw: remove redundant control ring poll Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 7/8] event/dsw: remove unnecessary read barrier Mattias Rönnblom
2020-03-09  6:51 ` [dpdk-dev] [PATCH 8/8] event/dsw: add port busy cycles xstats Mattias Rönnblom
2020-04-04 14:35 ` [dpdk-dev] [EXT] [PATCH 0/8] DSW performance and statistics improvements Jerin Jacob Kollanukkaran
2020-04-15 16:37   ` David Marchand [this message]
2020-04-15 17:39     ` Mattias Rönnblom
2020-04-15 17:45       ` [dpdk-dev] [dpdk-ci] " Thomas Monjalon
2020-04-15 18:09         ` Mattias Rönnblom
2020-04-15 18:15           ` [dpdk-dev] [PATCH v2] event/dsw: fix gcc 4.8 false positive warning Mattias Rönnblom
2020-04-15 19:45             ` David Marchand
2020-04-16  6:15               ` Mattias Rönnblom

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=CAJFAV8wnQwsyL4MC3YRErfJ5eHdOJMLPyR5SLLXpNjaSrfHg5w@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=Ola.Liljedahl@arm.com \
    --cc=ci@dpdk.org \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=mattias.ronnblom@ericsson.com \
    --cc=stefan.sundkvist@ericsson.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).