From patchwork Tue Nov 21 11:54:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 134513 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 869734338E; Tue, 21 Nov 2023 12:55:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 520FC42EBF; Tue, 21 Nov 2023 12:55:14 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E6FCF42EBD for ; Tue, 21 Nov 2023 12:55:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700567713; x=1732103713; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5Otvc+VbVsCa9ebSpB7tyPamESJ0GhfaRS8fo6vtsIc=; b=YVhlBQo1no2X4+EoxAm4fjYlIYT3tEmhhxC86AjkX/dMFSSsYoqxuGgl IRD2fHZivjDNEaZMxukYGBnUOX2VTLvuNJ2/+YIA8GkM7KUrU4M1GY3yd ko1XXV5TesF4d3TlKh2On2NavHiRpxSRi+RMlEqqNvk1qNGEkoXeIPFI/ XB+SP7RGL9sYD55c/tKCrcf6w6B7gVFh3Ah1x5f057olSAXoGZt09WgH3 znpa5ki7qvMdi3LviqXbJeeZakfG6sA1iD30u/lZGyoAJFR0iea6Im1q4 IPu/v03PJJDavwQ7sLMQYQIb8JP0X2wOB++puw4rP5TlBgp1cusLdBVBT A==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="456160882" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="456160882" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 03:55:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="801511345" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="801511345" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.153]) by orsmga001.jf.intel.com with ESMTP; 21 Nov 2023 03:55:11 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Jerin Jacob Subject: [PATCH 24.03 v2 7/9] event/octeontx: add schedule-type capability flags Date: Tue, 21 Nov 2023 11:54:35 +0000 Message-Id: <20231121115437.96500-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231121115437.96500-1-bruce.richardson@intel.com> References: <20231120172606.505579-1-bruce.richardson@intel.com> <20231121115437.96500-1-bruce.richardson@intel.com> MIME-Version: 1.0 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 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/octeontx.ini | 3 +++ drivers/event/octeontx/ssovf_evdev.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/guides/eventdevs/features/octeontx.ini b/doc/guides/eventdevs/features/octeontx.ini index ec044e6289..06efae767a 100644 --- a/doc/guides/eventdevs/features/octeontx.ini +++ b/doc/guides/eventdevs/features/octeontx.ini @@ -4,6 +4,9 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +atomic_scheduling = Y +ordered_scheduling = Y +parallel_scheduling = Y queue_qos = Y distributed_sched = Y queue_all_types = Y diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c index a16f24e088..3a933b1db7 100644 --- a/drivers/event/octeontx/ssovf_evdev.c +++ b/drivers/event/octeontx/ssovf_evdev.c @@ -151,6 +151,9 @@ ssovf_info_get(struct rte_eventdev *dev, struct rte_event_dev_info *dev_info) dev_info->max_event_port_enqueue_depth = 1; dev_info->max_num_events = edev->max_num_events; dev_info->event_dev_cap = RTE_EVENT_DEV_CAP_QUEUE_QOS | + RTE_EVENT_DEV_CAP_ATOMIC | + RTE_EVENT_DEV_CAP_ORDERED | + RTE_EVENT_DEV_CAP_PARALLEL | RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED | RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES| RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK |