From: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
To: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>,
"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev][PATCH 2/2] test/eventdev: fix producer core validity checks
Date: Tue, 2 Jul 2019 05:29:13 +0000 [thread overview]
Message-ID: <BYAPR18MB242449EBBD5F495335D672E5C8F80@BYAPR18MB2424.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20190630175240.1126-2-pbhagavatula@marvell.com>
> -----Original Message-----
> From: pbhagavatula@marvell.com <pbhagavatula@marvell.com>
> Sent: Sunday, June 30, 2019 11:23 PM
> To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula
> <pbhagavatula@marvell.com>; stable@dpdk.org
> Subject: [dpdk-dev][PATCH 2/2] test/eventdev: fix producer core validity
> checks
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> When producer type is event timer adapter producer lcore checks are
> skipped. Since, timer adapter relies on SW to arm timers producer lcore is
> essential for its functionality.
> Verify producer lcore validity when producer type is event timer adapter.
>
> Cc: stable@dpdk.org
> Fixes: b01974da9f25 ("app/eventdev: add ethernet device producer option")
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
> app/test-eventdev/test_perf_common.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/app/test-eventdev/test_perf_common.c b/app/test-
> eventdev/test_perf_common.c
> index 01f782820..2e9e83e88 100644
> --- a/app/test-eventdev/test_perf_common.c
> +++ b/app/test-eventdev/test_perf_common.c
> @@ -562,7 +562,8 @@ perf_opt_check(struct evt_options *opt, uint64_t
> nb_queues)
> return -1;
> }
>
> - if (opt->prod_type == EVT_PROD_TYPE_SYNT) {
> + if (opt->prod_type == EVT_PROD_TYPE_SYNT ||
> + opt->prod_type ==
> EVT_PROD_TYPE_EVENT_TIMER_ADPTR) {
> /* Validate producer lcores */
> if (evt_lcores_has_overlap(opt->plcores,
> rte_get_master_lcore())) {
> --
> 2.21.0
next prev parent reply other threads:[~2019-07-02 5:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-30 17:52 [dpdk-stable] [dpdk-dev][PATCH 1/2] app/eventdev: fix order test port creation pbhagavatula
2019-06-30 17:52 ` [dpdk-stable] [dpdk-dev][PATCH 2/2] test/eventdev: fix producer core validity checks pbhagavatula
2019-07-02 5:29 ` Jerin Jacob Kollanukkaran [this message]
2019-07-02 14:20 ` [dpdk-stable] [dpdk-dev] [PATCH " Jerin Jacob Kollanukkaran
2019-07-02 5:28 ` [dpdk-stable] [dpdk-dev][PATCH 1/2] app/eventdev: fix order test port creation Jerin Jacob Kollanukkaran
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=BYAPR18MB242449EBBD5F495335D672E5C8F80@BYAPR18MB2424.namprd18.prod.outlook.com \
--to=jerinj@marvell.com \
--cc=dev@dpdk.org \
--cc=pbhagavatula@marvell.com \
--cc=stable@dpdk.org \
/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).