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 3BE3EA00C2 for ; Tue, 1 Nov 2022 15:53:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 33EB840693; Tue, 1 Nov 2022 15:53:31 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id AB37D40223 for ; Tue, 1 Nov 2022 15:53:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667314409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hhogqS96W0uPcogxqX2ThXUDtyPdpltJrKlOrU8Fz68=; b=hVhDrF9jQxdT6OFdMzMgRpATALWpLkLJ+XSsI6BVqLxzzDAITDQxyv/fXgLPeUHruxPE1/ n6xZ+KQSQAdkv/7X64Xmw2b07qdl294VtRfI1c6C8/w7NHqZ12eYDahykJ9xjJy3CQHkza 2bmKnOjEHkWLxzoEs66CXgzk/9jx2zo= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-161-Ks5S9XU-PgCBD_DaIEfJPg-1; Tue, 01 Nov 2022 10:53:28 -0400 X-MC-Unique: Ks5S9XU-PgCBD_DaIEfJPg-1 Received: by mail-wr1-f70.google.com with SMTP id c18-20020adfa312000000b002364fabf2ceso3847379wrb.2 for ; Tue, 01 Nov 2022 07:53:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hhogqS96W0uPcogxqX2ThXUDtyPdpltJrKlOrU8Fz68=; b=AHYo15lMG3DvjL0jlr+iDEGTbvZc61eqITngKUg9g/LvbjpUMt9iPxhTnuJLakAVYb 1LsdUtQ4ed7Nci7mG+ZByuHoay13+zc3K3DVZZrJegBvoTujkXKlBTDXT8fjN33Zj6oz NKRDolr9C1+79bflvFd//ZAe3O63PlASNEj7/IcRHDenmtKpotvZ7ijHTAB3udedpgFW C8TO7ym8Sx8CYI5pleosZQoOVcvEeG+8jPol5vNtys8FcN4jVLMLtH25XgS66Q1g57+9 NotfjR3E0GnuGWpAAiGdZu5SENSrhQm64w8PETWhHjq/Qq1BHpX/Q7q+ZdpoT2v7f8oq +zbQ== X-Gm-Message-State: ACrzQf0OWuswqw7eETgI0t6lbPqTTsLIKIv4FDItsvn3OMlYDTOdsgyb 5x81hUejaPUV/tVe4gefsNvnG5F1rZqQ/Ns/qeGvuws37I4NZfE9iApQ80G8omD2Owt66/PHfxh rYyfe3Qw= X-Received: by 2002:a05:600c:5408:b0:3cf:7195:4dfb with SMTP id he8-20020a05600c540800b003cf71954dfbmr7360335wmb.189.1667314407141; Tue, 01 Nov 2022 07:53:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nb3zP5md1lenA7CqAU/9syCLPbXGYWBBOw3Fdq0uoc1phqF7U5xcr5EMH1WT1QU/DTRYGNA== X-Received: by 2002:a05:600c:5408:b0:3cf:7195:4dfb with SMTP id he8-20020a05600c540800b003cf71954dfbmr7360324wmb.189.1667314406962; Tue, 01 Nov 2022 07:53:26 -0700 (PDT) Received: from [192.168.0.36] ([78.17.179.245]) by smtp.gmail.com with ESMTPSA id j18-20020a5d6192000000b00228692033dcsm10184891wru.91.2022.11.01.07.53.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 07:53:26 -0700 (PDT) Message-ID: <5ccce0d9-7cf2-ab01-eb1d-ef7db41a5c6e@redhat.com> Date: Tue, 1 Nov 2022 14:53:26 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 To: Abdullah Sevincer , stable@dpdk.org References: <20221026230910.668568-1-abdullah.sevincer@intel.com> From: Kevin Traynor Subject: Re: [PATCH 21.11 v1] event/dlb2: handle enqueuing more than maximum depth In-Reply-To: <20221026230910.668568-1-abdullah.sevincer@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 27/10/2022 00:09, Abdullah Sevincer wrote: > [ upstream commit 9c9e72326bd28cd456509d60bcbe38a15a0bb7d0 ] > > This patch addresses an issue of enqueuing more than > max_enq_depth and not able to dequeuing events equal > to max_cq_depth in a single call of rte_event_enqueue_burst > and rte_event_dequeue_burst. > > Apply fix for restricting enqueue of events to max_enq_depth > so that in a single rte_event_enqueue_burst() call at most > max_enq_depth events are enqueued. > > Also set per port and domain history list sizes based on > cq_depth. This results in dequeuing correct number of > events as set by max_cq_depth. > > Fixes: f3cad285bb88 ("event/dlb2: add infos get and configure") > > Signed-off-by: Abdullah Sevincer > --- > drivers/event/dlb2/dlb2.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > Thanks for rebasing, applied.