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 079714300C; Tue, 8 Aug 2023 14:59:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E51D43247; Tue, 8 Aug 2023 14:59:34 +0200 (CEST) Received: from mail-vk1-f179.google.com (mail-vk1-f179.google.com [209.85.221.179]) by mails.dpdk.org (Postfix) with ESMTP id 670CD40A87 for ; Tue, 8 Aug 2023 14:59:33 +0200 (CEST) Received: by mail-vk1-f179.google.com with SMTP id 71dfb90a1353d-4872f5cfffdso768570e0c.2 for ; Tue, 08 Aug 2023 05:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691499572; x=1692104372; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=okydKUwC6alFs2KSFs2L5gVKH29tPV4K6/uBdst/N8k=; b=PUZHAebQXGjoDc9l2rybszzDATtLx2Eievla+5LnIdyGt01CZw0HKoHNduk+FyKRPZ eotX9aN6KCoqxaJaWjMt48HOYBjQyxGn0sf0+zQ3BFMVrclp8cHLtZ0wQ6o/1Fk5oWGu Tw3K3n/xEAVxqnydLMmvFsmv1/UdR2ardQgRSr/AluVKojVpvFejRtztcNiXlWUaiP7L VlegfOUY2QgmZl76EDoPahGEMVn6PftbdPVgBLAMsEsvPoxeN/HaAomqCWwVkfRctW7D nAadHdcz5S3WSPq7hOt2C+xiiSZfELumrggTZ07YA57+8X4oO7mbb26DzWp3pRjCDWai rqaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691499572; x=1692104372; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=okydKUwC6alFs2KSFs2L5gVKH29tPV4K6/uBdst/N8k=; b=eCSkRvqGStbsMqU4KiZRGNR4s6wYT3jVYf1MzG9zw0fp2nl8+uhW0+nKiu/q/Dd19Q +zIucdakKN56NYdkNwxalCwDBZtwmNEInAFU/1WnAm2bOxwxUeZHk/H/sRLi80Cb76cB W7xJ9Stbw9fokqLy+RyA/tY1lL9v7u2xqM/21FZS8vei4iEkNEcrWHj2DyxrBplMBGLB Gko0HxKPHRR3JBbhl+XsWk//o+yTN2z4FN2PZeBRlIsURE5MDrlzrle1ni+O0hjVq0e5 orTTpBbFJT78YOdBctZiHnbe/Hf7mEJrDNbeGdyRhFY2h3Ac2MfKMrJQkVCboRAPDZu3 m8JQ== X-Gm-Message-State: AOJu0Yy4GtjyZTrVksPM1kizsPChQopBpjaisQeiUOGbkJBMPmskrNb6 OzuWQFVbd9dzBWbVNv5p2Xyg+j1IuHgIBirU6+Q= X-Google-Smtp-Source: AGHT+IHjoGuvQI1ZhRcv529xPZ2ncIewxW3c7xO7O391x8LHuVJB1uMLSeFIGMIMCpJ8/BRG2BxDvCjsCl/u9+ZPNl4= X-Received: by 2002:a1f:3f11:0:b0:487:11ba:45fc with SMTP id m17-20020a1f3f11000000b0048711ba45fcmr5017827vka.13.1691499572593; Tue, 08 Aug 2023 05:59:32 -0700 (PDT) MIME-Version: 1.0 References: <20230801054457.1184208-1-ganapati.kundapura@intel.com> <20230803083229.2340918-1-ganapati.kundapura@intel.com> In-Reply-To: <20230803083229.2340918-1-ganapati.kundapura@intel.com> From: Jerin Jacob Date: Tue, 8 Aug 2023 18:29:06 +0530 Message-ID: Subject: Re: [PATCH v2] eventdev/crypto: fix circular buffer full case To: Ganapati Kundapura Cc: jerinj@marvell.com, jay.jayatheerthan@intel.com, s.v.naga.harish.k@intel.com, abhinandan.gujjar@intel.com, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, Aug 3, 2023 at 2:03=E2=80=AFPM Ganapati Kundapura wrote: > > crypto ops from the circular buffer are not getting flushed > to crypto dev when crypto dev becomes busy and circular buffer > gets full. > > Fix it by flushing ops from circular buffer when circ buffer is full > instead of returning without flushing. > > Fixes: 2ae84b39ae7b ("eventdev/crypto: store operations in circular buffe= r") > Signed-off-by: Ganapati Kundapura Applied to dpdk-next-net-eventdev/for-main. Thanks