From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 409531B411 for ; Fri, 23 Nov 2018 11:30:56 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A51ED3082AFA; Fri, 23 Nov 2018 10:30:55 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id A9CE91866A; Fri, 23 Nov 2018 10:30:54 +0000 (UTC) From: Kevin Traynor To: Ori Kam Cc: Wei Zhao , dpdk stable Date: Fri, 23 Nov 2018 10:27:11 +0000 Message-Id: <20181123102713.17309-67-ktraynor@redhat.com> In-Reply-To: <20181123102713.17309-1-ktraynor@redhat.com> References: <20181123102713.17309-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Fri, 23 Nov 2018 10:30:55 +0000 (UTC) Subject: [dpdk-stable] patch 'examples/flow_filtering: fix capability setting' has been queued to stable release 18.08.1 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: Fri, 23 Nov 2018 10:30:56 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/29/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 223baf0330c92c95c2eb5340db4348e28609308b Mon Sep 17 00:00:00 2001 From: Ori Kam Date: Tue, 6 Nov 2018 06:32:20 +0000 Subject: [PATCH] examples/flow_filtering: fix capability setting [ upstream commit a5e7c52dac2d369af379c59a7770bfd507ccf153 ] The tx offloads should be compared to tx capability Fixes: c82f2f8b4b3a ("examples/flow_filtering: filter out unsupported offloads") Signed-off-by: Ori Kam Acked-by: Wei Zhao --- examples/flow_filtering/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c index 86b8f4457..55ba6e6bf 100644 --- a/examples/flow_filtering/main.c +++ b/examples/flow_filtering/main.c @@ -155,5 +155,5 @@ init_port(void) rte_eth_dev_info_get(port_id, &dev_info); - port_conf.txmode.offloads &= dev_info.rx_offload_capa; + port_conf.txmode.offloads &= dev_info.tx_offload_capa; printf(":: initializing port: %d\n", port_id); ret = rte_eth_dev_configure(port_id, -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-23 10:22:55.975538968 +0000 +++ 0067-examples-flow_filtering-fix-capability-setting.patch 2018-11-23 10:22:54.000000000 +0000 @@ -1,12 +1,13 @@ -From a5e7c52dac2d369af379c59a7770bfd507ccf153 Mon Sep 17 00:00:00 2001 +From 223baf0330c92c95c2eb5340db4348e28609308b Mon Sep 17 00:00:00 2001 From: Ori Kam Date: Tue, 6 Nov 2018 06:32:20 +0000 Subject: [PATCH] examples/flow_filtering: fix capability setting +[ upstream commit a5e7c52dac2d369af379c59a7770bfd507ccf153 ] + The tx offloads should be compared to tx capability Fixes: c82f2f8b4b3a ("examples/flow_filtering: filter out unsupported offloads") -Cc: stable@dpdk.org Signed-off-by: Ori Kam Acked-by: Wei Zhao @@ -15,10 +16,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c -index 27e287ae7..a582ac075 100644 +index 86b8f4457..55ba6e6bf 100644 --- a/examples/flow_filtering/main.c +++ b/examples/flow_filtering/main.c -@@ -138,5 +138,5 @@ init_port(void) +@@ -155,5 +155,5 @@ init_port(void) rte_eth_dev_info_get(port_id, &dev_info); - port_conf.txmode.offloads &= dev_info.rx_offload_capa;