From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 018B0A034C; Tue, 29 Mar 2022 20:50:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B5BB40691; Tue, 29 Mar 2022 20:50:08 +0200 (CEST) Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) by mails.dpdk.org (Postfix) with ESMTP id 31C8040141 for ; Tue, 29 Mar 2022 20:50:07 +0200 (CEST) Received: by mail-io1-f48.google.com with SMTP id g21so8911875iom.13 for ; Tue, 29 Mar 2022 11:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fyV3+pVvyIrVOilmn08DC/qX8mm78IgULELzZPxM/Lw=; b=J5BtwW7SpO1Tb86VqQq8ebBSdb0uw4ze0Bx8Up6FQM+5m+e9C+A6CCvCK7NloG/ZGS tQyK+ETiTGgB2ARg6A/svXa+UmKnV2ilR74Kur5SlmnSla46nZkp/zCZ0w0k22t8kVTG 5YmYpnCVxrbki0a4dFBOYuLPCBGEVnvoe/lv/SUZ6nX466Ga6GGb2vgQlZx9uIqedsPp xj38jKSz4HeVRIPp+7rvJzLS0D1sOzXoZe27Yanb/n6EpJotoMKXwkbpaWifvQmuiZJR mCz8La5oweAxM8dOtG/AylS8ZcaC8rPvIOprfIHB1F5b+pZ/ztucEdLOI6pClEjJaQPr +0/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fyV3+pVvyIrVOilmn08DC/qX8mm78IgULELzZPxM/Lw=; b=3YDA5/lmDe1SIIftqGh05ck7978/xQV8MFNFwO1p5B0ni6zoq4aSbtt+AxC9+SrXtg rMN3M/in0UknnObeGWN8PPhDOI7NRA/22LNFyvSxiFnDPsyk18rtA+bkDC5EjtXD/14A h069scXKg/qqMMdt4cK+eR4i+cuyrqb+41oE6RDQP4cl95h3ENtqUu85JSMtvRK4bntY pgfGVDGqtyA9UwILCZgvtqXVbP6X2wS4V3hJnwBw4Lmyklp8yvR90uXlgvzxXllzjAyS oNwJQ6wFfUMyxjirSBW5iqq+BviT1Mn/yDJ3l+I+AxgXRvkjN7gpDjtZxrgOzZ5osWyu eauw== X-Gm-Message-State: AOAM533g8hweJPb5/43aYlW/p5amp4EDT4c7qtSScCypKWOAiREPK2RL AQQUrvqYMnNDDMm091jP6Q/0/BsjZpPcqYOejjw= X-Google-Smtp-Source: ABdhPJyuIOMI2DTm7a/bVZKn7HaxWxu6CktmqtJiOxQgamrs64ax0VtTSJeQoaSAQEUCmUxOUMZb96JdsLdP/C3L8aE= X-Received: by 2002:a05:6638:16c5:b0:319:e32b:98e3 with SMTP id g5-20020a05663816c500b00319e32b98e3mr16606040jat.123.1648579806433; Tue, 29 Mar 2022 11:50:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Wed, 30 Mar 2022 00:19:40 +0530 Message-ID: Subject: Re: [PATCH 0/6] Extend and set event queue attributes at runtime To: Shijith Thotton , "Van Haaren, Harry" , "Jayatheerthan, Jay" , Erik Gabriel Carrillo , "Gujjar, Abhinandan S" , "McDaniel, Timothy" , Hemant Agrawal , Nipun Gupta , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= , Ray Kinsella Cc: dpdk-dev , Jerin Jacob , Pavan Nikhilesh , Liang Ma Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Mar 29, 2022 at 6:42 PM Shijith Thotton wrot= e: > > This series adds support for setting event queue attributes at runtime > and adds two new event queue attributes weight and affinity. Eventdev > capability RTE_EVENT_DEV_CAP_RUNTIME_QUEUE_ATTR is added to expose the > capability to set attributes at runtime and rte_event_queue_attr_set() > API is used to set the attributes. > > Attributes weight and affinity are not yet added to rte_event_queue_conf > structure to avoid ABI break and will be added in 22.11. Till then, PMDs > using the new attributes are expected to manage them. > > Test application changes and example implementation are added as last > three patches. + @Van Haaren, Harry @Jayatheerthan, Jay @Erik Gabriel Carrillo @Gujjar, Abhinandan S @McDaniel, Timothy @Hemant Agrawal @Nipun Gupta @Mattias R=C3=B6nnblom @lingma @Ray Kinsella > Pavan Nikhilesh (1): > common/cnxk: use lock when accessing mbox of SSO > > Shijith Thotton (5): > eventdev: support to set queue attributes at runtime > eventdev: add weight and affinity to queue attributes > doc: announce change in event queue conf structure > test/event: test cases to test runtime queue attribute > event/cnxk: support to set runtime queue attributes > > app/test/test_eventdev.c | 146 ++++++++++++++++++ > doc/guides/eventdevs/features/cnxk.ini | 1 + > doc/guides/eventdevs/features/default.ini | 1 + > doc/guides/rel_notes/deprecation.rst | 3 + > drivers/common/cnxk/roc_sso.c | 174 ++++++++++++++++------ > drivers/common/cnxk/roc_sso_priv.h | 1 + > drivers/common/cnxk/roc_tim.c | 134 +++++++++++------ > drivers/event/cnxk/cn10k_eventdev.c | 4 + > drivers/event/cnxk/cn9k_eventdev.c | 4 + > drivers/event/cnxk/cnxk_eventdev.c | 81 +++++++++- > drivers/event/cnxk/cnxk_eventdev.h | 16 ++ > lib/eventdev/eventdev_pmd.h | 44 ++++++ > lib/eventdev/rte_eventdev.c | 43 ++++++ > lib/eventdev/rte_eventdev.h | 75 +++++++++- > lib/eventdev/version.map | 3 + > 15 files changed, 627 insertions(+), 103 deletions(-) > > -- > 2.25.1 >