From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7096A04B5; Tue, 27 Oct 2020 23:18:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C67762BFA; Tue, 27 Oct 2020 23:18:45 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 6EB552BD5 for ; Tue, 27 Oct 2020 23:18:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603837122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6Dzk8Fhn1GLo5CWI4N2NDJ+KwSvl29YqHPF/HFYw71s=; b=iLxDZkh4bhF9/7BZ+VmaXjO6wlAzTLslA6c+R2EE534aQt8vQIAzFf5brOdIv9DRtbyiCN kUY8VSUsal4ccN2B09IK5lVw0ePpa7YcVv5qvgQBeAVKX9uUhFBbB0AbHxp1XyJlpWzuRa HxJWpEEEvFM20SZzHIeIq8tpF6fl6Zs= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-139-EzJvjG8AOHa2Kfwom492-g-1; Tue, 27 Oct 2020 18:18:41 -0400 X-MC-Unique: EzJvjG8AOHa2Kfwom492-g-1 Received: by mail-vk1-f199.google.com with SMTP id t139so1095445vkd.13 for ; Tue, 27 Oct 2020 15:18:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6Dzk8Fhn1GLo5CWI4N2NDJ+KwSvl29YqHPF/HFYw71s=; b=VAWZUMroyjZC6GjXPndmaeLubd8sZRkd/U6hrF/zRs9yzUxRY6foUpd2K6svU2itmf O47EUIpMLJXk4OMS0M1m+LPVo+zTutWg2Gbti93YXVqG4LZoD2qRLj+SQ435+nxUsvd3 qIk1odidyQVSfDSPYnjQxRM0nwKJiH+uTGnHeI6+1mEz9CZZvZAQt9WblseGDl8LAkjh jioCaRjC/n9Mu/BW7rlDUaajQ8EHacV2lI3Su0S5U59KMY2RPujcWOHTW80rz+0LZOoF p9kNeWdL4L72+2HTn5NwTE14cxyb+jUUwr975quckFhznLuCM7feB7P5L5urFsEppisB fpbA== X-Gm-Message-State: AOAM533DR9/cbFW27hV4PicFfAIfSIuG2/czQiMa/AGSv3ClsuGlHUVZ eqZjpsbkQAE55lLqDK69VL6cQuyP35/6BM0ru/3VWFLrqUOCMa6UcjYMTga7fjhTEJGX3i6brd2 mQh9aa6Nx38TgTvklxTI= X-Received: by 2002:ab0:7313:: with SMTP id v19mr2804385uao.87.1603837120703; Tue, 27 Oct 2020 15:18:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyQIpUaV+iioygltZRWJp1TCAA0y1RIcMv7IUJezOQeUEv/CnXeO2ufGKn4DM1XKn9SUmjcVCLlwup92PA/ac= X-Received: by 2002:ab0:7313:: with SMTP id v19mr2804379uao.87.1603837120430; Tue, 27 Oct 2020 15:18:40 -0700 (PDT) MIME-Version: 1.0 References: <20201027221343.28551-1-david.marchand@redhat.com> <20201027221343.28551-8-david.marchand@redhat.com> In-Reply-To: <20201027221343.28551-8-david.marchand@redhat.com> From: David Marchand Date: Tue, 27 Oct 2020 23:18:29 +0100 Message-ID: To: dev Cc: Jerin Jacob , Pavan Nikhilesh , Liang Ma , Peter Mccarthy , Harry van Haaren , Ray Kinsella , Neil Horman Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 7/8] event: switch sequence number to dynamic field 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" On Tue, Oct 27, 2020 at 11:16 PM David Marchand wrote: > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte= _eventdev.h > index ce1fc2ce0f..1656ff8dce 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -211,13 +211,15 @@ extern "C" { > #endif > > #include > +#include > #include > +#include > +#include > #include > #include > > #include "rte_eventdev_trace_fp.h" > > -struct rte_mbuf; /* we just use mbuf pointers; no need to include rte_mb= uf.h */ > struct rte_event; > > /* Event device capability bitmap flags */ > @@ -570,9 +572,9 @@ struct rte_event_queue_conf { > */ > uint32_t nb_atomic_order_sequences; > /**< The maximum number of outstanding events waiting to be > - * reordered by this queue. In other words, the number of entries= in > - * this queue=E2=80=99s reorder buffer.When the number of events = in the > - * reorder buffer reaches to *nb_atomic_order_sequences* then the > + * event_tested by this queue. In other words, the number of entr= ies in > + * this queue=E2=80=99s event_test buffer.When the number of even= ts in the > + * event_test buffer reaches to *nb_atomic_order_sequences* then = the v2 tomorrow, without this %s/reorder/test_event/g... > * scheduler cannot schedule the events from this queue and inval= id > * event will be returned from dequeue until one or more entries = are > * freed up/released. > @@ -935,7 +937,7 @@ rte_event_dev_close(uint8_t dev_id); > * Event ordering is based on the received event(s), but also other > * (newly allocated or stored) events are ordered when enqueued within t= he same > * ordered context. Events not enqueued (e.g. released or stored) within= the > - * context are considered missing from reordering and are skipped at th= is time > + * context are considered missing from event_testing and are skipped at= this time > * (but can be ordered again within another context). > * > * @see rte_event_queue_setup(), rte_event_dequeue_burst(), RTE_EVENT_OP= _RELEASE > @@ -1021,7 +1023,7 @@ rte_event_dev_close(uint8_t dev_id); > * then this function hints the scheduler that the user has done all tha= t need > * to maintain event order in the current ordered context. > * The scheduler is allowed to release the ordered context of this port = and > - * avoid reordering any following enqueues. > + * avoid event_testing any following enqueues. > * > * Early ordered context release may increase parallelism and thus syste= m > * performance. --=20 David Marchand