From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id DD7EE1B1BD for ; Wed, 24 Jan 2018 16:41:42 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 911532271E; Wed, 24 Jan 2018 10:41:42 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:41:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=6wk8hRjxP4SWZMXxw 7YX4srqSoa+vaDbwQOgu190Aac=; b=Gbdk6abX2p+syPukTIdfkUa0JQkMS/yzN yNZi/Cq9vu11yzcUGsubg9RmYyF/JxQSnToJjaHVNrlAyDtDk1qvSGYuj3tE5gBQ uTWgzpALbmFcf0WSmhKJcf0x9GlaKKKjOKI2LmyShGp/6d7A9vUWTUFZ14NNuecx 6bRY6H+cvE+qH87EKCC1JawahIKJvS827uCkbVdlIOOc4mDnzJDTwoz84Gjh19ba qGTFYBli8UsNDByFgns0TmoCSvJcNa78Elw9AhUb8CZ6DSWK8RpnftWb/Cnt7PSx CQvXWjjZKv9W1vMmr/5r3p7H/GEPMbLnuNAjK2eILBHbPB4qAHv7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=6wk8hRjxP4SWZMXxw7YX4srqSoa+vaDbwQOgu190Aac=; b=JPtWvXKD YwnTZavDbsq79RhY7fFdWOqeJu3DCqM37BAiyihpeN1u0v0hOyDEdJ50rTsh96Yd 3WWotxsf7+72gE6OYVDbuW+lCLu2fK9ThJGdNkUHSSs3SzOdekV4tYlc1RbNXX/o MExdAnHwEl6CQyUuBjueXrBSDDIQeNbD1goaTDTs+ehwkNybG1a1LFdhE3BY7iP2 IOzCx4x+iwZjqrcwjrKERJKQQ0QGmjnWffGy30y7yUN3fWbDEgENdR5+kB7CMmRQ r0GNAb+H1SjxdgNGMf1WlTse2nlVi7I00sN7z4oP9Rls9GJ2CEEq1A48zdlvTSr8 OoRtinvYTbycUw== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 651277E448; Wed, 24 Jan 2018 10:41:40 -0500 (EST) From: Yuanhan Liu To: Jerin Jacob Cc: Pavan Nikhilesh , dpdk stable Date: Wed, 24 Jan 2018 23:33:18 +0800 Message-Id: <1516808026-25523-130-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'test/eventdev: use CPU event type' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:41:43 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From f47ae7192182a3571fddeec22db3074eb3fa8824 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Mon, 4 Dec 2017 13:41:18 +0530 Subject: [PATCH] test/eventdev: use CPU event type [ upstream commit 8f87757ab01874c37f690171d5d6b9fe243e0bc9 ] octeontx test application was using non RTE_EVENT_TYPE_CPU event type to generate the event from CPU. Upon the introduction of ethdev Rx adapter, RTE_EVENT_TYPE_ETHDEV has special meaning. So avoid using non RTE_EVENT_TYPE_CPU event types to inject events from CPU. Fixes: d0d654986018 ("net/octeontx: support event Rx adapter") Signed-off-by: Jerin Jacob Reviewed-by: Pavan Nikhilesh --- test/test/test_eventdev_octeontx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test/test_eventdev_octeontx.c b/test/test/test_eventdev_octeontx.c index dbc36d9..8fddb4f 100644 --- a/test/test/test_eventdev_octeontx.c +++ b/test/test/test_eventdev_octeontx.c @@ -355,7 +355,7 @@ generate_random_events(const unsigned int total_events) for (i = 0; i < total_events; i++) { ret = inject_events( rte_rand() % info.max_event_queue_flows /*flow_id */, - rte_rand() % (RTE_EVENT_TYPE_CPU + 1) /* event_type */, + RTE_EVENT_TYPE_CPU /* event_type */, rte_rand() % 256 /* sub_event_type */, rte_rand() % (RTE_SCHED_TYPE_PARALLEL + 1), rte_rand() % queue_count /* queue */, @@ -745,7 +745,7 @@ test_queue_to_port_single_link(void) ret = inject_events( 0x100 /*flow_id */, - rte_rand() % (RTE_EVENT_TYPE_CPU + 1) /* event_type */, + RTE_EVENT_TYPE_CPU /* event_type */, rte_rand() % 256 /* sub_event_type */, rte_rand() % (RTE_SCHED_TYPE_PARALLEL + 1), queue /* queue */, @@ -824,7 +824,7 @@ test_queue_to_port_multi_link(void) ret = inject_events( 0x100 /*flow_id */, - rte_rand() % (RTE_EVENT_TYPE_CPU + 1) /* event_type */, + RTE_EVENT_TYPE_CPU /* event_type */, rte_rand() % 256 /* sub_event_type */, rte_rand() % (RTE_SCHED_TYPE_PARALLEL + 1), queue /* queue */, -- 2.7.4