From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
To: "Mattias Rönnblom" <hofors@lysator.liu.se>,
"Marchand, David" <david.marchand@redhat.com>
Cc: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>,
"dev@dpdk.org" <dev@dpdk.org>,
"Stefan Sundkvist" <stefan.sundkvist@ericsson.com>,
"Ruane, Sean" <sean.ruane@intel.com>
Subject: Re: [PATCH v2] service: extend service function call statistics
Date: Thu, 3 Oct 2024 09:53:04 +0000 [thread overview]
Message-ID: <PH8PR11MB6803CC15830EF6B339AE0B21D7712@PH8PR11MB6803.namprd11.prod.outlook.com> (raw)
In-Reply-To: <593704a9-fb19-4d95-895a-af019e70b7c9@lysator.liu.se>
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
> From: Mattias Rönnblom <hofors@lysator.liu.se>
> Sent: Wednesday, October 2, 2024 8:43 PM
> To: Marchand, David <david.marchand@redhat.com>
> Cc: Mattias Rönnblom <mattias.ronnblom@ericsson.com>; dev@dpdk.org <dev@dpdk.org>; Van Haaren, Harry <harry.van.haaren@intel.com>; Stefan Sundkvist <stefan.sundkvist@ericsson.com>
> Subject: Re: [PATCH v2] service: extend service function call statistics
>
> On 2024-10-02 21:08, David Marchand wrote:
> > On Wed, Oct 2, 2024 at 8:57 PM Mattias Rönnblom <hofors@lysator.liu.se> wrote:
> >>> Coverity flagged this patch with issue #445158.
> >>> rte_delay_ms() is now unreachable.
> >>>
> >>> I suppose this delay is not that important for the unit test and we
> >>> can remove it, but as I am not sure I'll let you have a look and send
> >>> a fix.
> >>>
> >>
> >> It works without it I think, but I would keep it, and add it to the
> >> "case 0" branch.
> >>
> >> Let me know if you want a v2.
> >
> > Unfortunately, coverity is run only for merged stuff.
> > So the report we got is for merged patch in the main repo.
> >
> > Please send a fix.
> >
>
> Done.
>
> I decided I could just as well reintroduce the old behavior. You could
> refactor away all this sleeping business I think, but that is for
> another day.
Thanks for sending the patch Mattias - Coverity flagged me too, was intending on
having a look with colleague Sean here today - instead we'll review your patch shortly.
The delays were introduced so thread-spawns in the CI have some time to take affect,
and to (intentionally) introduce some jitter so we cover all cases of one-thread-before-the-other
checking poll counts and correct behaviour; this is useful as service-cores is inherently racy in
terms of things running in parallel, hence the service_dummy() function has the delay.
All this to say, lets leave the rte_delay_ms() in.
Expect a response (hopefully Tested/Acked-by) soon! Regards -Harry
[-- Attachment #2: Type: text/html, Size: 6774 bytes --]
prev parent reply other threads:[~2024-10-03 9:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 19:15 [RFC] " Mattias Rönnblom
2024-01-25 23:19 ` Morten Brørup
2024-01-26 8:28 ` Mattias Rönnblom
2024-01-26 10:07 ` Morten Brørup
2024-01-27 19:31 ` Mattias Rönnblom
2024-01-29 12:50 ` Van Haaren, Harry
2024-01-30 7:16 ` Mattias Rönnblom
2024-08-09 20:25 ` [PATCH] " Mattias Rönnblom
2024-09-09 19:11 ` [PATCH v2] " Mattias Rönnblom
2024-09-10 1:19 ` fengchengwen
2024-09-10 7:19 ` Mattias Rönnblom
2024-09-12 9:18 ` Van Haaren, Harry
2024-10-01 15:24 ` David Marchand
2024-10-02 18:26 ` David Marchand
2024-10-02 18:56 ` Mattias Rönnblom
2024-10-02 19:08 ` David Marchand
2024-10-02 19:43 ` Mattias Rönnblom
2024-10-03 9:53 ` Van Haaren, Harry [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=PH8PR11MB6803CC15830EF6B339AE0B21D7712@PH8PR11MB6803.namprd11.prod.outlook.com \
--to=harry.van.haaren@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=hofors@lysator.liu.se \
--cc=mattias.ronnblom@ericsson.com \
--cc=sean.ruane@intel.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).