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 5364EA0C40 for ; Fri, 30 Jul 2021 07:36:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BBFD410FF; Fri, 30 Jul 2021 07:36:23 +0200 (CEST) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 7AEB1410FF for ; Fri, 30 Jul 2021 07:36:22 +0200 (CEST) Received: by mail-pj1-f43.google.com with SMTP id ds11-20020a17090b08cbb0290172f971883bso19209819pjb.1 for ; Thu, 29 Jul 2021 22:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=IhKrXSuBaL5uR6CcggUNIDoBdEyAYeJHenbZ2U0n04I=; b=g0Wy2Wc06wErZ/YzSaiyaTN0VZMOAXTiQzMAZLiqt0Oa9sN2HUU+/ePK+Ay0I/N+HA EdmfMVDbShVwM9mH8FQIzkwQ8hH54niW8qmcHiIoql8w1wdcocFlUiwCl/9txk07Xfen Z8BryAqts5Ieykt2IyGudrlQYtTgHwtzs/gTg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=IhKrXSuBaL5uR6CcggUNIDoBdEyAYeJHenbZ2U0n04I=; b=BC6yCul+yjteZdHD9LdrDu5BjkZEoHB8xiumkn1PlX4Z1t6R0L1COh/wxCYyMeWEvM cvRlWYJj3heaUQ7XkaMhr6PzTYkm6aO8yOo6WvmaoYbA7bNlxQ3iwr3NleAaP9/hlpNb YBeWNUaf+Za4Tx6Hb1PIYntaGTCQqgRB4yx1ni1axXBU5xlhpEa+NW0puu3l+gHVXyE1 JdZ7LkfbJq2f3eUCXE6On+6OtIOiiAeQdiFNpQpgyVdcgaE73cLE1pWSf2w6PwYugJ3d O7NMrSZHh13a6RadrmrMHwSGT2DulfHTT71+yjoMJxAC+LFwJq9zhntcwloLHwdchSGt nREg== X-Gm-Message-State: AOAM532b/B4SKcEeBUrCkgF986UHgJsvBWqFVcBWvfT4KEzAbeqPXVcb IaJOvSshvlCTanMHl4uu4lGEaw== X-Google-Smtp-Source: ABdhPJygrhsG3zxnwvasRggWwrGaS6tUQdj8JxFDbioMGdX7g87o07lTckSWnpbk8e/x0qF0JqoU+A== X-Received: by 2002:a17:90a:1c9:: with SMTP id 9mr1189074pjd.79.1627623381714; Thu, 29 Jul 2021 22:36:21 -0700 (PDT) Received: from localhost.localdomain (ip68-5-71-166.oc.oc.cox.net. [68.5.71.166]) by smtp.gmail.com with ESMTPSA id r13sm806258pgi.78.2021.07.29.22.36.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jul 2021 22:36:21 -0700 (PDT) From: Ajit Khaparde To: dev@dpdk.org Cc: Kishore Padmanabha , stable@dpdk.org, Randy Schacher Date: Thu, 29 Jul 2021 22:36:12 -0700 Message-Id: <20210730053612.3374-3-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20210730053612.3374-1-ajit.khaparde@broadcom.com> References: <20210730053612.3374-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000082d8dc05c8509929" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-stable] [PATCH 2/2] net/bnxt: fix stats counter resource 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 Sender: "stable" --00000000000082d8dc05c8509929 Content-Transfer-Encoding: 8bit From: Kishore Padmanabha The flow counters is reduced from 8192 to 6912 for Whitney for compatibility with different versions of FW. Fixes: 6fad9115101c ("net/bnxt: reorganize ULP template directory structure") Cc: stable@dpdk.org Signed-off-by: Kishore Padmanabha Reviewed-by: Randy Schacher Acked-by: Ajit Khaparde --- .../net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c b/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c index 6664353764..7951de8a4e 100644 --- a/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c +++ b/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_tbl.c @@ -1154,7 +1154,7 @@ struct bnxt_ulp_resource_resv_info ulp_resource_resv_list[] = { .direction = TF_DIR_RX, .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE, .resource_type = TF_TBL_TYPE_ACT_STATS_64, - .count = 8192 + .count = 6912 }, { .app_id = 0, @@ -1298,7 +1298,7 @@ struct bnxt_ulp_resource_resv_info ulp_resource_resv_list[] = { .direction = TF_DIR_TX, .resource_func = BNXT_ULP_RESOURCE_FUNC_INDEX_TABLE, .resource_type = TF_TBL_TYPE_ACT_STATS_64, - .count = 8192 + .count = 6912 }, { .app_id = 0, -- 2.21.1 (Apple Git-122.3) --00000000000082d8dc05c8509929--