DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v8] eal: make lcore_config private
Date: Tue, 22 Oct 2019 11:05:01 +0200	[thread overview]
Message-ID: <CAJFAV8zUh8Gn40DWRGE03Q_qor6Stk_oK6nB6+dsNSKdoXSL9g@mail.gmail.com> (raw)
In-Reply-To: <20191002194024.28782-1-stephen@networkplumber.org>

On Wed, Oct 2, 2019 at 9:40 PM Stephen Hemminger
<stephen@networkplumber.org> wrote:
> +struct lcore_config {
> +       pthread_t thread_id;       /**< pthread identifier */
> +       int pipe_master2slave[2];  /**< communication pipe with master */
> +       int pipe_slave2master[2];  /**< communication pipe with master */
> +
> +       lcore_function_t * volatile f; /**< function to call */
> +       void * volatile arg;       /**< argument of function */
> +       volatile int ret;          /**< return value of function */
> +
> +       uint32_t core_id;          /**< core number on socket for this lcore */
> +       uint32_t core_index;       /**< relative index, starting from 0 */
> +       uint16_t socket_id;        /**< physical socket id for this lcore */
> +       uint8_t core_role;         /**< role of core eg: OFF, RTE, SERVICE */
> +       uint8_t detected;          /**< true if lcore was detected */
> +       volatile enum rte_lcore_state_t state; /**< lcore state */
> +       rte_cpuset_t cpuset;       /**< cpu set which the lcore affinity to */
> +};

There are still changes on the core_id, core_index, socket_id that I
am not confortable with (at this point).

I prepared a series for -rc1 on ABI changes in EAL (that I will send shortly).
I took your patch without the changes on core_id, core_index and socket_id.


We can discuss those changes later, thanks.

-- 
David Marchand


  reply	other threads:[~2019-10-22  9:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-25 16:10 [dpdk-dev] [PATCH v7] " Stephen Hemminger
2019-10-02  8:15 ` David Marchand
2019-10-02 19:40 ` [dpdk-dev] [PATCH v8] " Stephen Hemminger
2019-10-22  9:05   ` David Marchand [this message]
2019-10-22 16:30     ` Stephen Hemminger
2019-10-22 16:49       ` David Marchand

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=CAJFAV8zUh8Gn40DWRGE03Q_qor6Stk_oK6nB6+dsNSKdoXSL9g@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.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).