DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinj@marvell.com>
To: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"Mattias Rönnblom" <hofors@lysator.liu.se>
Subject: RE: [EXTERNAL] [PATCH v2] eventdev: make flag types consistent with API
Date: Fri, 27 Jun 2025 06:46:55 +0000	[thread overview]
Message-ID: <BY3PR18MB4785386799B92AE5D763DB40C845A@BY3PR18MB4785.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20250626141844.168970-1-mattias.ronnblom@ericsson.com>



> -----Original Message-----
> From: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
> Sent: Thursday, June 26, 2025 7:49 PM
> To: Jerin Jacob <jerinj@marvell.com>
> Cc: dev@dpdk.org; Mattias Rönnblom <hofors@lysator.liu.se>; Mattias
> Rönnblom <mattias.ronnblom@ericsson.com>
> Subject: [EXTERNAL] [PATCH v2] eventdev: make flag types consistent with API
> 
> Make RTE_EVENT_DEV_CAP_* flags' type consistent with the
> rte_event_dev_info. event_dev_cap's type. Make
> RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT consistent with
> rte_event_dev_config. event_dev_cfg. Make RTE_EVENT_QUEUE_CFG_*
> consistent with rte_event_queue_conf. event_queue_cfg.
> ZjQcmQRYFpfptBannerStart Prioritize security for external emails:
> Confirm sender and content safety before clicking links or opening attachments
> <https://us-phishalarm-
> ewt.proofpoint.com/EWT/v1/CRVmXkqW!ts3Z1f8UAnUatM-
> cOfxa7o5TEJ5_ESrFodeuUmP-LDt8WyHeBy6iQNTRjY0ARSdwSD-
> aXy_SlFdQEn8cMtiJdlzWks4ySLxEclA-S8gCKA$>
> Report Suspicious
> 
> ZjQcmQRYFpfptBannerEnd
> Make RTE_EVENT_DEV_CAP_* flags' type consistent with the
> rte_event_dev_info.event_dev_cap's type.
> 
> Make RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT consistent with
> rte_event_dev_config.event_dev_cfg.
> 
> Make RTE_EVENT_QUEUE_CFG_* consistent with
> rte_event_queue_conf.event_queue_cfg.
> 
> Make RTE_EVENT_PORT_CFG_* consistent with
> rte_event_port_conf.event_port_cfg.
> 
> Make RTE_EVENT_TIMER_ADAPTER_CAP_* consistent with the caps parameter
> in rte_event_eth_rx_adapter_caps_get().
> 
> The flags were all unsigned long longs (64 bits), but the event_dev_cap,
> event_dev_cfg, event_queue_cfg, and event_port_cfg fields and the caps
> parameter are all uint32_t. This change makes the flags uint32_ts.
> 
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>

Reviewed-by: Jerin Jacob <jerinj@marvell.com>

Updated the git commit as follows and applied to dpdk-next-net-eventdev/for-main. Thanks

    eventdev: fix flag types consistency

    Make RTE_EVENT_DEV_CAP_* flags' type consistent with the
    rte_event_dev_info.event_dev_cap's type.

    Make RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT consistent with
    rte_event_dev_config.event_dev_cfg.

    Make RTE_EVENT_QUEUE_CFG_* consistent with
    rte_event_queue_conf.event_queue_cfg.

    Make RTE_EVENT_PORT_CFG_* consistent with
    rte_event_port_conf.event_port_cfg.

    Make RTE_EVENT_TIMER_ADAPTER_CAP_* consistent with the caps parameter
    in rte_event_eth_rx_adapter_caps_get().

    The flags were all unsigned long longs (64 bits), but the
    event_dev_cap, event_dev_cfg, event_queue_cfg, and event_port_cfg
    fields and the caps parameter are all uint32_t. This change makes the
    flags uint32_ts.

    Fixes: 71f238432865 ("eventdev: introduce event driven programming model")
    Fixes: 73e6b8c93dca ("eventdev: introduce burst mode capability")
    Fixes: ec36d881f56d ("eventdev: add implicit release disable capability")
    Fixes: 29653a7bfec1 ("eventdev: extend capability flags")
    Fixes: bd99189724b8 ("eventdev: negate maintenance capability flag")
    Fixes: d007a7f39de3 ("eventdev: introduce link profiles")
    Fixes: acc65ee307f7 ("eventdev: introduce event pre-scheduling")
    Fixes: c1bdd86d04d1 ("eventdev: add event port pre-schedule modify")
    Fixes: acc65ee307f7 ("eventdev: introduce event pre-scheduling")
    Fixes: 47d05b292820 ("eventdev: add timer adapter common code")
    Cc: stable@dpdk.org

    Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
    Reviewed-by: Jerin Jacob <jerinj@marvell.com>



      reply	other threads:[~2025-06-27  6:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-26 13:52 [PATCH] " Mattias Rönnblom
2025-06-26 14:12 ` [EXTERNAL] " Jerin Jacob
2025-06-26 14:36   ` Mattias Rönnblom
2025-06-26 14:18 ` [PATCH v2] " Mattias Rönnblom
2025-06-27  6:46   ` 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=BY3PR18MB4785386799B92AE5D763DB40C845A@BY3PR18MB4785.namprd18.prod.outlook.com \
    --to=jerinj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=hofors@lysator.liu.se \
    --cc=mattias.ronnblom@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).