From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 0E88CFFA for ; Mon, 30 Apr 2018 16:54:15 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id m70so13289308wma.2 for ; Mon, 30 Apr 2018 07:54:15 -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=pDyFAbIzNzCS6VvWkwteuMB1MJdT0MC8ufGSLaC/lgU=; b=K3zBVcOtA0PBPHrNzRg5zjaUJe/Gvc3nI84QxMu1mGzOwpQDK73aNu4WMGD6YNHG8l urjdNTdd0B2DCC2gue7Y0mdcj2yK3NgrbaUIY2wM0jDU9CpnRyHnZgeLUxzR9nzKeAsL RydODbUsEXKoX3wd6JQipkQ5NnAEn0x+9gdyaxGjepZGWVSzszd6hidk9iKgTdty7zdF MajXSwtwdvugh09RTpTxcRrXXkrIEprh94lBC6eKi9xNBzzilIxPlap3lYJInFFvodZ1 WNjXhrfNczRVMlF+tJtzr8ps+CP5EaUADYPn/zUZxCA5qbv6I42J2xnT6fOfl/8JVHs3 +CsA== 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=pDyFAbIzNzCS6VvWkwteuMB1MJdT0MC8ufGSLaC/lgU=; b=qF9qSkTDVTML7XJ3/0YwUaau1evZlwoKEf2jN+lyy4KBJGMW5ca7QaqNzYpHVxDNcj 4vI08rwRlzXyTSvYBob2EYIOKwIHXI852GyjMTyuLIX0W2qOi83eQ1mpn/DhSsSosxjH kORZ0oEkXKkAW+6sbO665wrD+vtaralAXwc1o0ijKc061LJo43+8yGtilCNJ9bIkKJPy 1ads7wy/2bqejhabqoWH8ipizqAbS8dOlOSZgAhTMuii+59t5SF/Aj94w7fA/B4tz2ik 4gCdDsFOkLrn6JsTXyqG7wkbRnWZI0vsLeBhB3uhnE8N5LSDwkqBCud+5ebVxkcW+AFQ uzQg== X-Gm-Message-State: ALQs6tCE/KzEuqaVYK4pYIqD3F0X0f2WpJufKL5tvwx5eCarhyglxdUn KOmWuVBhNosA3POLInBFtBGhB3PZ9yg= X-Google-Smtp-Source: AB8JxZq2Fr9TxVRSa4iixVZy5oarOaIfXUq6FHZue61ZhLNh6jGNQtOk5EkSIpQ6Nc5Fv8Y41EHL1Q== X-Received: by 10.28.122.3 with SMTP id v3mr7133954wmc.81.1525100054086; Mon, 30 Apr 2018 07:54:14 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id d54-v6sm8002611wrd.94.2018.04.30.07.54.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:54:13 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Mon, 30 Apr 2018 15:53:25 +0100 Message-Id: <20180430145402.23057-6-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: fix incorrect ntuple flag setting' 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:15 -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 ef0b72d83427d35d9177f11f4b5fc2bb1bff7758 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Mon, 16 Apr 2018 18:11:16 -0700 Subject: [PATCH] net/bnxt: fix incorrect ntuple flag setting [ upstream commit 532c005149b258c703a1d90884a57e80ac1ab407 ] We are wrongly setting the Rx path flag while creating the ntuple filter. It needs to be set for L2 or Exact Match filters only. Fixes: 5ef3b79fdfe6 ("net/bnxt: support flow filter ops") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_filter.c b/drivers/net/bnxt/bnxt_filter.c index 032e8eed0..e318d4a02 100644 --- a/drivers/net/bnxt/bnxt_filter.c +++ b/drivers/net/bnxt/bnxt_filter.c @@ -844,7 +844,8 @@ bnxt_validate_and_parse_flow(struct rte_eth_dev *dev, if (rc != 0) goto ret; //Since we support ingress attribute only - right now. - filter->flags = HWRM_CFA_EM_FLOW_ALLOC_INPUT_FLAGS_PATH_RX; + if (filter->filter_type == HWRM_CFA_EM_FILTER) + filter->flags = HWRM_CFA_EM_FLOW_ALLOC_INPUT_FLAGS_PATH_RX; switch (act->type) { case RTE_FLOW_ACTION_TYPE_QUEUE: -- 2.14.2