From: Somnath Kotur Date: Thu, 28 Jun 2018 20:15:41 +0000 (-0700) Subject: net/bnxt: revert reset of L2 filter id X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=82dbef2c853be4162d672529710c3959e15993e1;p=dpdk.git net/bnxt: revert reset of L2 filter id The L2 filter id is needed in many scenarios particularly when we are repurposing the same ntuple filter with different destination queues. This patch reverts a commit in which the L2 filter id was being reset in clear_ntuple_filter(). Fixes: 1383434c9089 ("net/bnxt: reset L2 filter id once filter is freed") Cc: stable@dpdk.org Signed-off-by: Somnath Kotur --- diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c index 910129f122..ba8e44a9be 100644 --- a/drivers/net/bnxt/bnxt_hwrm.c +++ b/drivers/net/bnxt/bnxt_hwrm.c @@ -3798,7 +3798,6 @@ int bnxt_hwrm_clear_ntuple_filter(struct bnxt *bp, HWRM_UNLOCK(); filter->fw_ntuple_filter_id = UINT64_MAX; - filter->fw_l2_filter_id = UINT64_MAX; return 0; }