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 0EE7043694; Thu, 7 Dec 2023 07:15:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87F7942E7A; Thu, 7 Dec 2023 07:15:32 +0100 (CET) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mails.dpdk.org (Postfix) with ESMTP id ABB7F40042 for ; Thu, 7 Dec 2023 07:15:31 +0100 (CET) Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-423a9cb7e80so3404541cf.3 for ; Wed, 06 Dec 2023 22:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701929731; x=1702534531; darn=dpdk.org; 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=Zzgar51lRvAehZozZblWWIvNy0exSw3Qn2HLBSapD5w=; b=iC6RpRHDkGM+oeZZtKTZcFN3ycverbOQMWEmaOVCv/682wluZzyhNRw5ri6ih/X0qZ m9Ll4t6v5WLbNZo0Uyc6jord1w+oxzUHVzFxDBDf7+K6UedA5bmKFwEL5KdVOsCLFOUT qktT7+t1u3GiIZeQDEqbX2V2TXojmHfnW1wjoIQDqvuJJBLXquDflKGVtb0NwkGExfCH ErFwvbUBBxxcJyqE0ps4C/pQ+nOref8jC6obKHcmaDxXE1/6InsoqjoMUpPzoSIIAV9p qbrw3H7528XGwS2D8ddhbvrQ0q6X2ROF7NlIWPjJbXo2euu41U3t+rBExbgBlDYJhYkK /RhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701929731; x=1702534531; 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=Zzgar51lRvAehZozZblWWIvNy0exSw3Qn2HLBSapD5w=; b=TunkENDORI4EfotDMDFxKc01Hp75g3CjGozifF85Zh6cg25h1H3yg2xQOYF3iLfY3g UknDaSnYGqVH8i+f79xaWUfDMw3oWLedn62YJAhU6pT0RX0wYzOjEs2De7ULzTVMzAaL q+6kibuu1/AGBdsMIFInF25vGvrABTONYx8tK3WBkNnrXls8IbJvVfPzuOG+lc9pAoy5 aCjf+AXE1SF0Y7nnp/3oAq18OjheX06OIUVULvg0jHg+EaDjqa9UagJRkffdHCjCfRbQ JQyam4A3P8NpxRaoj15vnvYBV6qrvMyiLJQajs/FMmCNTlm2RxtmzxB9t4xwskJoufms X9lw== X-Gm-Message-State: AOJu0YzBr/z0r96sYt1dHYXW8M/gn19GD/9xQUU3X7YqEnAvbqpGp0WN GrDj8K77ZMygtG2rTfTGGW4cbFZT1bchWDa7hMs= X-Google-Smtp-Source: AGHT+IFXwxaLloCqSCwQNlywArk5c3PQLRXos/xv4q151PpOQHomYsCMf7wzafTLzF0r7h154g1LY/y/buFgICciNbg= X-Received: by 2002:ac8:7fc4:0:b0:423:8b1e:1144 with SMTP id b4-20020ac87fc4000000b004238b1e1144mr2607753qtk.65.1701929730954; Wed, 06 Dec 2023 22:15:30 -0800 (PST) MIME-Version: 1.0 References: <20231205100048.1387058-1-rkudurumalla@marvell.com> <20231205100048.1387058-3-rkudurumalla@marvell.com> In-Reply-To: <20231205100048.1387058-3-rkudurumalla@marvell.com> From: Jerin Jacob Date: Thu, 7 Dec 2023 11:45:04 +0530 Message-ID: Subject: Re: [PATCH 3/3] net/cnxk: reduce Tx queue release time To: Rakesh Kudurumalla Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org, jerinj@marvell.com 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 Tue, Dec 5, 2023 at 3:39=E2=80=AFPM Rakesh Kudurumalla wrote: > > Invoked newly added roc API to disable > SQB aura FC during TX queue start and TX queue > stop. This fix reduces ethdev teardown time > > Signed-off-by: Rakesh Kudurumalla > --- Updated the git commit as follows and Series applied to dpdk-next-net-mrvl/for-main. Thanks commit 48e0c652ed7116df61db6a0d1cf3f0b450faec79 (HEAD -> for-main) Author: Rakesh Kudurumalla Date: Tue Dec 5 15:30:48 2023 +0530 net/cnxk: reduce Tx queue release time Invoked newly added roc API to disable SQB aura FC during TX queue start and TX queue stop. This fix reduces ethdev teardown time Signed-off-by: Rakesh Kudurumalla commit 3f2604b698e530c8296030de3be60d242d7fc761 Author: Rakesh Kudurumalla Date: Tue Dec 5 15:30:47 2023 +0530 common/cnxk: support to enable disable SQ Added a new ROC API to disable SQB aura FC and update SQ state to disabled state in TX queue stop. The same SQ status is verified during sq flush to enable or disable SQB aura FC during ethdev teardown. This fix reduces teardown time by 90%. Signed-off-by: Rakesh Kudurumalla commit 6ed4c08ec7023a119e181b8e29442c3cc95c48ce Author: Rakesh Kudurumalla Date: Tue Dec 5 15:30:46 2023 +0530 common/cnxk: optimize ethdev teardown time API mbox_alloc_msg_npa_aq_enq() mbox is called if SQ needs to be updated from mbox response else mbox call to kernel is bypassed reducing the time taken to complete roc_nix_tm_sq_aura_fc() function. This reduces ethdev teardown time by 20%. Signed-off-by: Rakesh Kudurumalla