From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 93F391DB9 for ; Mon, 30 Apr 2018 16:54:20 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id v5-v6so8323456wrf.9 for ; Mon, 30 Apr 2018 07:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=I0Tc0RYt8As3eltU9WGsM567V6fOG0nonYHAVH20fEY=; b=C7WdxPHL9Q3QkQjd67XUScrk1v82a7c+N6mdL8QiyWJq7jXzLB0hCys6mk51u7n9WV ocOgYTwXLgKh7P0qhmeT2rOIIhas4LpoToLjXgqjLc4MbEkyB7tRucrEfztzyaZPnSSF 9fjqrPfUfm0g3pN8TME7/ug4uPlZJfjZ+Fy9UpuiBNdoomYwAteJ62hhF88LvA2VSpvy C1HA6LDCywbDwZgG4efl9MsUn8AG0dJSPLbNyjhkhpXaDG51q+fjsU3+qL6k6I1wCEwJ mL3F03WK6Xrf7LLbE7DTaGybaz8lk9LlmfXsbHtGfZMuUmYXhxr9xocYH15MUALJgLD/ 8x1Q== 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; bh=I0Tc0RYt8As3eltU9WGsM567V6fOG0nonYHAVH20fEY=; b=ABLjaRFIuRltylg6CseigA6dTnBVgQ78VViaqh5GtkcJfNQc3v+QlWxzwg0ZEgipWA QFPYa+GFUZBsQawefy0FMMAQUlrTiMvGwVYEi1YKl/KCdNRmn9aiWDiv7Yxn5++w2Erd eZUAlg5rOQ63YAcODuU7xo2entQX5cx6UETs6UucgTZWK4KVPLZPiir5nUIxAg/64BV8 9X5zjkeINaGSzdEUyvqyK0iiM/6GnnePGx9yQjeZEGHNOHOxxkuUtLEt5M2H63UtnD6H PprHZag49cRfeuArHknG+l+2kG92wIbV/U/IyV08E6XW8I+XTEPdNRyD514Igw1sS87H iBtw== X-Gm-Message-State: ALQs6tDWhTwR+sf/uGTVHl5lAFRw51/dtyrALKs+IVIqso3RMVk3L37L oKVPGOJsuOo8lXIhsm6M4Qs= X-Google-Smtp-Source: AB8JxZoHUYC/TxEMOPCIO+pCPI9+cBKYIMj25DauLHAwAMqJDcBeOiBxn70iEqHRfAAvnrEeNESkFg== X-Received: by 2002:adf:a9aa:: with SMTP id b39-v6mr9444275wrd.36.1525100060314; Mon, 30 Apr 2018 07:54:20 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id l53-v6sm22741999wrc.80.2018.04.30.07.54.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:54:19 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Mon, 30 Apr 2018 15:53:29 +0100 Message-Id: <20180430145402.23057-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430145402.23057-1-luca.boccassi@gmail.com> References: <20180430144223.18657-85-luca.boccassi@gmail.com> <20180430145402.23057-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/bnxt: reset L2 filter id once filter is freed' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:54:20 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From e438ed756e229af7c8ed543bd9b366ce79ecaa1a Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Mon, 16 Apr 2018 18:11:22 -0700 Subject: [PATCH] net/bnxt: reset L2 filter id once filter is freed [ upstream commit 1383434c908922e60ff2637a66c771ead2ddd035 ] The fw_l2_filter_id for a ntuple filter is needed only for the lifetime of the ntuple filter. Once the filter is free, reset the field. The associated l2_filter will be freed as a part of its own cleanup. Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_hwrm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index f52146780..9c7b1f244 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -3702,6 +3702,7 @@ int bnxt_hwrm_clear_ntuple_filter(struct bnxt *bp, HWRM_UNLOCK(); filter->fw_ntuple_filter_id = -1; + filter->fw_l2_filter_id = UINT64_MAX; return 0; } -- 2.14.2