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 2424FA0A0E; Thu, 29 Apr 2021 00:35:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB85B40697; Thu, 29 Apr 2021 00:35:21 +0200 (CEST) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id 4F93F40147 for ; Thu, 29 Apr 2021 00:35:21 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id j189so2043339pgd.13 for ; Wed, 28 Apr 2021 15:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Slq8HVk/hyWiQF30n1IAYbJ2Yw3SzXn38a5GENC2Fc8=; b=vUrZ8CccrmjwRbpTb8NdQLF0BR8OFxks7DUV5/PETz6lodyWa3tw9qJARFQFU0thuX MypavxXBvU8MkqGoieZ4pXQQBZS3r8ePyXT542ZOu44w/lOZA7qB9V5Dw7LWG28c8iTn exWqv4BaxEf0C/rigT7hU8IbXauaK8uKKg0m2bW1IGVtW6L4q2fJrFWSa2u0U6mfbviK 4aqRh+N7IeyC+k1svklxUhlibkeD/79GWBFI8aGukhsjDclsIXZAC7szL0H9jIcm0VAZ Mncez8BuWIz6Oq5D0V9dDPb1/Z2Pxoq1ddTEEnOFqwRQnPHO7BWzHG+1il44hk9BHFz7 ELYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Slq8HVk/hyWiQF30n1IAYbJ2Yw3SzXn38a5GENC2Fc8=; b=Q3RaasuZ8Padnw6mW7n2QLszDfsFjinDWQjt8XLAqTQ2Tfqy3vTvxvoDF+dotY2yxg 1Nhfk5sYexZEYZPE/CAQ1kBnYZuHxo6nog0j3s7oXd6fRzJ5YTLI+9Epep4ZlxJwpyeT nrS5pbIM/T7mW9Sw42ufDX6qqt5TSAgrm9rppezlAm+MyvzfmDSz/OUL/0qbFppX2bj4 ISbZQUvMUisDaUvuFLiN4oiSpg+XR9QIqbjX6ABGMC7tcROtLGfinvELxr8SxwP9Lak7 pBRwgl0SWlahVuGK5z2KT2soMypqVngw+rs9xfhS9tClJtVO/0q4joCDpvfnlep3Wag2 fUGw== X-Gm-Message-State: AOAM533kvltZ+8LqrvT0mW7MNEWcX6dM+zE1SA3r0A3IWfU0LQrooFJm v/js+DDPplS/iaee+y2saVG0ew== X-Google-Smtp-Source: ABdhPJxIv7cwjFBELw7/xxUbSli6gvvSa1F99Mz7bVFRUhzPFD5HGutbOaEMZFReLpBr6q5blagDVA== X-Received: by 2002:aa7:96bb:0:b029:254:e8ed:2897 with SMTP id g27-20020aa796bb0000b0290254e8ed2897mr29224145pfk.24.1619649320092; Wed, 28 Apr 2021 15:35:20 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id a190sm580008pfb.185.2021.04.28.15.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 15:35:19 -0700 (PDT) Date: Wed, 28 Apr 2021 15:35:16 -0700 From: Stephen Hemminger To: Lance Richardson Cc: Ajit Khaparde , Somnath Kotur , Venkat Duvvuru , Kalesh AP , Rahul Gupta , dev@dpdk.org, stable@dpdk.org Message-ID: <20210428153516.00b720e4@hermes.local> In-Reply-To: <20210428220344.10028-1-lance.richardson@broadcom.com> References: <20210428220344.10028-1-lance.richardson@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/bnxt: fix dynamic VNIC count 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 Sender: "dev" On Wed, 28 Apr 2021 18:03:44 -0400 Lance Richardson wrote: > Ensure that the current count of in-use VNICs is decremented > when a VNIC is freed. Don't attempt VNIC allocation when the > maximum supported number of VNICs is currently allocated. > > Fixes: 49d0709b257f ("net/bnxt: delete and flush L2 filters cleanly") > Fixes: d24610f7bfda ("net/bnxt: allow flow creation when RSS is enabled") > Cc: stable@dpdk.org > Signed-off-by: Lance Richardson > Reviewed-by: Ajit Kumar Khaparde Reported-by: Stephen Hemminger