DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>
Cc: "Eads, Gage" <gage.eads@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 0/3] Extend port and queue attribute get functions
Date: Sun, 8 Oct 2017 19:23:05 +0530	[thread overview]
Message-ID: <20171008135304.GA28566@jerin> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA650FBE2CC@IRSMSX102.ger.corp.intel.com>

-----Original Message-----
> Date: Wed, 4 Oct 2017 14:12:50 +0000
> From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
> To: "Eads, Gage" <gage.eads@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
> CC: "jerin.jacob@caviumnetworks.com" <jerin.jacob@caviumnetworks.com>
> Subject: RE: [PATCH 0/3] Extend port and queue attribute get functions
> 
> > From: Eads, Gage
> > Sent: Wednesday, September 20, 2017 4:21 PM
> > To: dev@dpdk.org
> > Cc: jerin.jacob@caviumnetworks.com; Van Haaren, Harry
> > <harry.van.haaren@intel.com>
> > Subject: [PATCH 0/3] Extend port and queue attribute get functions
> > 
> > This patchset makes the full queue and port configuration structures
> > accessible
> > through the attribute get functions, adds tests for the new attributes, and
> > fixes one bug in a port attribute get test.
> > 
> > This patchset is based on patches 29019 through 29023.
> > 
> > Gage Eads (3):
> >   eventdev: extend queue attribute get function
> >   eventdev: extend port attribute get function
> >   test/eventdev: fix bug in port enqueue depth test
> > 
> >  lib/librte_eventdev/rte_eventdev.c | 125 ++++++++++++--------------
> >  lib/librte_eventdev/rte_eventdev.h |  26 ++++--
> >  test/test/test_eventdev.c          | 179
> > +++++++++++++++++++++++++++++++++++--
> >  3 files changed, 245 insertions(+), 85 deletions(-)
> 
> Thanks - good to see the attrs API get more value!
> 
> Series-Reviewed-by: Harry van Haaren <harry.van.haaren@intel.com>

Applied after fixing the build issue found in my system(gcc 7.2.0) to dpdk-next-eventdev/master. Thanks.


== Build test/cmdline_test
  CC test_eventdev.o
In file included from
/export/dpdk-next-eventdev/test/test/test_eventdev.c:41:0:
/export/dpdk-next-eventdev/test/test/test_eventdev.c: In function
‘test_eventdev_queue_attr_event_queue_cfg’:
/export/dpdk-next-eventdev/test/test/test.h:149:4: error: ‘i’ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
    printf("TestCase %s() line %d failed (err %d): "     \
    ^~~~~~
/export/dpdk-next-eventdev/test/test/test_eventdev.c:494:6: note: ‘i’
was declared here
  int i, ret;
      ^

➜ [master][dpdk-next-eventdev] $ git diff
diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c
index 1d9e9fe4c..de3a964c2 100644
--- a/test/test/test_eventdev.c
+++ b/test/test/test_eventdev.c
@@ -505,7 +505,7 @@ test_eventdev_queue_attr_event_queue_cfg(void)
                            "Queue count get failed");
 
        ret = rte_event_queue_default_conf_get(TEST_DEV_ID, 0, &qconf);
-       TEST_ASSERT_SUCCESS(ret, "Failed to get queue%d def conf", i);
+       TEST_ASSERT_SUCCESS(ret, "Failed to get queue0 def conf");
 
        qconf.event_queue_cfg = RTE_EVENT_QUEUE_CFG_PARALLEL_ONLY;
 

      reply	other threads:[~2017-10-08 13:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-20 15:21 Gage Eads
2017-09-20 15:21 ` [dpdk-dev] [PATCH 1/3] eventdev: extend queue attribute get function Gage Eads
2017-09-20 15:21 ` [dpdk-dev] [PATCH 2/3] eventdev: extend port " Gage Eads
2017-09-20 15:21 ` [dpdk-dev] [PATCH 3/3] test/eventdev: fix bug in port enqueue depth test Gage Eads
2017-10-04 14:12 ` [dpdk-dev] [PATCH 0/3] Extend port and queue attribute get functions Van Haaren, Harry
2017-10-08 13:53   ` Jerin Jacob [this message]

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=20171008135304.GA28566@jerin \
    --to=jerin.jacob@caviumnetworks.com \
    --cc=dev@dpdk.org \
    --cc=gage.eads@intel.com \
    --cc=harry.van.haaren@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).