From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id CDF0CA0AC5 for ; Fri, 3 May 2019 18:45:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2D287CDA; Fri, 3 May 2019 18:45:58 +0200 (CEST) Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) by dpdk.org (Postfix) with ESMTP id 928026C9B for ; Fri, 3 May 2019 18:45:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1556901956; x=1559493956; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lW/qd4yuLenzZs9NUfcseKW+41lqBt3/dtdPzi72kD8=; b=MDcdJ3sO301KozfqkA/gzmyrc2FTMKdDDyD0OSRDy5ulmrBJpIk764sQgg+9wspa CKoE+JkxbkRsYegLX2HvB1CGUIDSPBb2WZpWIPLPDOml6YROKELNMcZ7XvgGVrJW GJv/sccQuULbclf09jEak2pF4NomL8NZxvTt7/SkQnc=; X-AuditID: c1b4fb3a-6f1ff7000000189f-35-5ccc70447214 Received: from ESESBMB505.ericsson.se (Unknown_Domain [153.88.183.118]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 98.DE.06303.4407CCC5; Fri, 3 May 2019 18:45:56 +0200 (CEST) Received: from ESESBMB503.ericsson.se (153.88.183.170) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 3 May 2019 18:45:55 +0200 Received: from selio1a020.lmera.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.186) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 3 May 2019 18:45:55 +0200 Received: from breslau.lmera.ericsson.se (breslau.lmera.ericsson.se [150.132.109.241]) by selio1a020.lmera.ericsson.se (8.15.1+Sun/8.15.1) with ESMTP id x43GjtBZ023741; Fri, 3 May 2019 18:45:55 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: CC: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Date: Fri, 3 May 2019 18:45:53 +0200 Message-ID: <20190503164553.15412-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLLMWRmVeSWpSXmKPExsUyM2J7ma5LwZkYg4WdLBbvPm1ncmD0+LVg KWsAYxSXTUpqTmZZapG+XQJXxupDaxgLbrJX3N12j6WB8TJbFyMnh4SAicTdD9PYuxi5OIQE jjJKXHr7lgXC+cooceDTfjYI5wKjxNXjR5khnEuMEnt3zQDrZxPwlJj8rpsFxBYREJJY+vEy O4jNLOAu8f7RciYQW1jAQGLRsr+MIDaLgIrEluYNYL28Ak4SN6buZYe4Q15i9YYDzBBxQYmT M5+wQMzRlGjd/htqprxE89bZYDVCAloS95d8YZ7AKDALScssJC2zkLQsYGRexShanFpcnJtu ZKSXWpSZXFycn6eXl1qyiREYiAe3/LbawXjwueMhRgEORiUeXtGoMzFCrIllxZW5hxglOJiV RHjjPp6KEeJNSaysSi3Kjy8qzUktPsQozcGiJM4bvXpPjJBAemJJanZqakFqEUyWiYNTqoEx MaXtw2ZBjcW3Q6XtjjQ8u8jE4+2q6l7A+WHOPZFf06crTDmeZXPT/KzhwqZA9vgvugFzUxav yHwtLmdyNP5yk267mdrqzZbmKfeKHUukOrYr+t391idjEn/jja341Oh2a9sXBU5ae/1ULLtE 4zuSVnDXz818cqzRLni695yH8utVEouMdZRYijMSDbWYi4oTAbqN3pRAAgAA Subject: [dpdk-dev] [PATCH] event/dsw: fix dsw capabilities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190503164553.FJNtJkYUo7yG0nFdwvhPp8Fos8xPkXFx1NvLWnHor88@z> The DSW event device didn't set RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT and RTE_EVENT_DEV_CAP_NONSEQ_MODE, even though it has both these capabilities. Fixes: 4540ee9c68 ("event/dsw: add device and queue configuration") Signed-off-by: Mattias Rönnblom --- drivers/event/dsw/dsw_evdev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/event/dsw/dsw_evdev.c b/drivers/event/dsw/dsw_evdev.c index 33ba13647..4157d130c 100644 --- a/drivers/event/dsw/dsw_evdev.c +++ b/drivers/event/dsw/dsw_evdev.c @@ -217,7 +217,9 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused, .max_event_port_enqueue_depth = DSW_MAX_PORT_ENQUEUE_DEPTH, .max_num_events = DSW_MAX_EVENTS, .event_dev_cap = RTE_EVENT_DEV_CAP_BURST_MODE| - RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED + RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED| + RTE_EVENT_DEV_CAP_NONSEQ_MODE| + RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT }; } -- 2.17.1