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 D0E20A0C3F for ; 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 BCFD6412BD; Thu, 29 Apr 2021 00:35:22 +0200 (CEST) Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by mails.dpdk.org (Postfix) with ESMTP id 5075740697 for ; Thu, 29 Apr 2021 00:35:21 +0200 (CEST) Received: by mail-pg1-f178.google.com with SMTP id p2so30323920pgh.4 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=KA8V2yb44YY5QbV/MsrJS1tzjPsfnCHp8bQe49aLv1ggEDsC98x6dNY8RhCyMQOocU LR2KhGFn+WV0+chZs8pDrIhHDClveAWfjcS4QjVMXA5yZJz6wK6fOCJhUwsdfHP1PB1h YW0ZA9/xat8xvbYFZOgcSMDGg5PgUM8QfOCBAbPn0aKQalG4Qm+q2zgCAqU6M9j718Vn BcyBAwlywvsw6HqNznv1NCvyu+8SoaEXTU8Y2KeEcHRoJeAj0RYFxsoQeiZZYpdfJJ9A JVjqKYd6LW2R37ju3nPGwzw0dSHjHnxQEL7qRwEikvwTZzuMcAekRWwHcDVzhMpDex6J FNVg== X-Gm-Message-State: AOAM53362Gnf09BATzu5XQY1C5y2WwFS26LOTkv0+FvJqaDixav1UkQz 1S4zb9eQKdNuHtEDOiN08BkVKQ== 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-stable] [dpdk-dev] [PATCH] net/bnxt: fix dynamic VNIC count 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" 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