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 1CBD4A034D; Wed, 12 Jan 2022 03:04:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD5E840DDA; Wed, 12 Jan 2022 03:04:11 +0100 (CET) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by mails.dpdk.org (Postfix) with ESMTP id F116840141 for ; Wed, 12 Jan 2022 03:04:10 +0100 (CET) Received: by mail-il1-f169.google.com with SMTP id r16so923631ile.8 for ; Tue, 11 Jan 2022 18:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Tr7TISWgKBOyMjPQaH52gjKW9eOrT9FW3LCGMVlm5U=; b=S5BJusDAcyqBqBNz0FR/tAVAl/m2HxSlWQpmWw5VwectNpe8G8aHxbDdq8b+D6bIMq Pxr4gcF5rG+w7spX15f2oaimzuJIKkI9eIuXxjs9ambF95KoGdIm6y8WbJ5NUp51CJbo 06GSgGegzfZUstjTioDneK9AggCMUg+9tQeAE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4Tr7TISWgKBOyMjPQaH52gjKW9eOrT9FW3LCGMVlm5U=; b=6yGeCXE+Rfp7BECPNeloqUURM8MSx8Fa72bBekx/tnNX9vg0zvDuxYCqhGHTUshOhB p6wHrnMqFZvgmpYEb/aw7QN+5Y2rUA+k74DRJthRx0Akjs/bqg2HeKKJB8/cyZ6VIJXM diJakfND181GuDIZ+c+NPNKEuE2ybT7VAWIL7Xa6BN0YHVXJ9sIAfRF2cPZtGxfgQKfC tt71pJepNuey+wwXvNahb1P8Bj+vyHfgVZwv4NCUAX7bLkVEs8uKz2+lzRuSd676ED7l HRyrAklTjsz4SHygV8ZyA9eXwXZpKuAEgcwAowfx34r2M+OZTt4RRZgqvDvBvWtvqzCs ICOw== X-Gm-Message-State: AOAM532KmJAR2gKTMJ84FTSvCNJ7zY3eyTcVkm55H7ry/UGHRKl7G1f+ SvyMsC0oksVuHhJ67nO6wC6LLBdLyUVJLXcGZTAlVA== X-Google-Smtp-Source: ABdhPJy0LB8RMi9h/JFPgxOMmuKC5Md9k7vZu8aFMEW4R6D9g58GHYw2aFRYLx9o61BaLyqoirkjmX2diO1zx1dt8/Q= X-Received: by 2002:a05:6e02:1d0d:: with SMTP id i13mr3731192ila.311.1641953050235; Tue, 11 Jan 2022 18:04:10 -0800 (PST) MIME-Version: 1.0 References: <20211130144226.40575-1-lance.richardson@broadcom.com> In-Reply-To: <20211130144226.40575-1-lance.richardson@broadcom.com> From: Ajit Khaparde Date: Tue, 11 Jan 2022 18:03:53 -0800 Message-ID: Subject: Re: [PATCH] net/bnxt: fix xstats get names implementation To: Lance Richardson Cc: Somnath Kotur , dpdk-dev , dpdk stable Content-Type: text/plain; charset="UTF-8" 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, Nov 30, 2021 at 6:42 AM Lance Richardson wrote: > > When the xstats_names parameter to rte_eth_xstats_get_names() > is non-NULL and the size parameter is less than the required > number of entries, the driver must return the required size > without modifying (and over-running) the caller's xstats_names > array. > > Update bnxt_dev_xstats_get_names_op() in accordance with this > requirement. > > Fixes: bfb9c2260be2 ("net/bnxt: support xstats get/reset") > Cc: stable@dpdk.org > Signed-off-by: Lance Richardson ACK Patch applied to dpdk-next-net-brcm. >