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 898B94338D; Tue, 21 Nov 2023 10:32:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A0AA42E89; Tue, 21 Nov 2023 10:32:10 +0100 (CET) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id 077C94025F for ; Tue, 21 Nov 2023 10:32:09 +0100 (CET) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id CA69515BA4 for ; Tue, 21 Nov 2023 10:32:08 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id BF20B156D9; Tue, 21 Nov 2023 10:32:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.6 X-Spam-Score: -1.5 Received: from [192.168.1.59] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 9581E15678; Tue, 21 Nov 2023 10:32:07 +0100 (CET) Message-ID: <4cec531e-f3ee-41aa-ab58-0ec7abc32036@lysator.liu.se> Date: Tue, 21 Nov 2023 10:32:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 24.03 5/8] event/dsw: add schedule-type capability flags Content-Language: en-US From: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= To: Bruce Richardson , dev@dpdk.org Cc: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= References: <20231120172606.505579-1-bruce.richardson@intel.com> <20231120172606.505579-6-bruce.richardson@intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 2023-11-21 10:30, Mattias Rönnblom wrote: > On 2023-11-20 18:26, Bruce Richardson wrote: >> Document explicitly the scheduling types supported by this driver, both >> via info_get() function, and via table in the documentation. >> >> Signed-off-by: Bruce Richardson >> --- >>   doc/guides/eventdevs/features/dsw.ini | 1 + >>   drivers/event/dsw/dsw_evdev.c         | 1 + >>   2 files changed, 2 insertions(+) >> >> diff --git a/doc/guides/eventdevs/features/dsw.ini >> b/doc/guides/eventdevs/features/dsw.ini >> index c8bc6b3f1d..941d257e3d 100644 >> --- a/doc/guides/eventdevs/features/dsw.ini >> +++ b/doc/guides/eventdevs/features/dsw.ini >> @@ -4,6 +4,7 @@ >>   ; Refer to default.ini for the full list of available PMD features. >>   ; >>   [Scheduling Features] >> +atomic_scheduling          = Y >>   distributed_sched          = Y >>   burst_mode                 = Y >>   nonseq_mode                = Y >> diff --git a/drivers/event/dsw/dsw_evdev.c >> b/drivers/event/dsw/dsw_evdev.c >> index 1209e73a9d..a68ca1fe30 100644 >> --- a/drivers/event/dsw/dsw_evdev.c >> +++ b/drivers/event/dsw/dsw_evdev.c >> @@ -220,6 +220,7 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused, >>           .max_num_events = DSW_MAX_EVENTS, >>           .max_profiles_per_port = 1, >>           .event_dev_cap = RTE_EVENT_DEV_CAP_BURST_MODE| >> +        RTE_EVENT_DEV_CAP_ATOMIC | >>           RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED| >>           RTE_EVENT_DEV_CAP_NONSEQ_MODE| >>           RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT| >> -- >> 2.39.2 >> > > Acked-by: Mattias Rönnblom Eh, hold on. PARALLEL is also supported. Do we need a capability for single link as well?