DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Trahe, Fiona" <fiona.trahe@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Trybula, ArturX" <arturx.trybula@intel.com>,
	"Trahe, Fiona" <fiona.trahe@intel.com>,
	"Dybkowski, AdamX" <adamx.dybkowski@intel.com>,
	"Cel, TomaszX" <tomaszx.cel@intel.com>,
	"akhil.goyal@nxp.com" <akhil.goyal@nxp.com>
Subject: [dpdk-dev] [PATCH] app/compress-perf: add info about socket id used by app and by the driver
Date: Tue, 30 Apr 2019 17:10:14 +0000	[thread overview]
Message-ID: <348A99DA5F5B7549AA880327E580B4358974F68C@IRSMSX101.ger.corp.intel.com> (raw)
In-Reply-To: <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com>

Added info about socket id used by compression perf test process and by the driver

Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
---
Target 19.08 release

 app/test-compress-perf/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c
index c2a45d1..21ed12e 100644
--- a/app/test-compress-perf/main.c
+++ b/app/test-compress-perf/main.c
@@ -533,6 +533,9 @@ main(int argc, char **argv)
 	else
 		level = test_data->level.list[0];
 
+	printf("App uses socket: %u\n", rte_socket_id());
+	printf("Driver uses socket: %u\n",
+	       rte_compressdev_socket_id(test_data->cdev_id));
 	printf("Burst size = %u\n", test_data->burst_sz);
 	printf("File size = %zu\n", test_data->input_data_sz);
 
-- 
2.7.4

       reply	other threads:[~2019-04-30 17:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1556634100-17286-1-git-send-email-tomaszx.cel@intel.com>
2019-04-30 17:10 ` Trahe, Fiona [this message]
2019-04-30 17:10   ` Trahe, Fiona
2019-05-28  9:03   ` Trybula, ArturX
2019-06-19 15:01     ` Akhil Goyal

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=348A99DA5F5B7549AA880327E580B4358974F68C@IRSMSX101.ger.corp.intel.com \
    --to=fiona.trahe@intel.com \
    --cc=adamx.dybkowski@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=arturx.trybula@intel.com \
    --cc=dev@dpdk.org \
    --cc=tomaszx.cel@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).