From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 7D86A2AA0 for ; Sun, 20 May 2018 15:09:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2C45B20B4F; Sun, 20 May 2018 09:09:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 20 May 2018 09:09:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=rZFBSHiO4VCDfzPUA zCXxxp/JRJoXirQUUAJ1YxD2ww=; b=ZjGjrjsABmX+Xhp/ULaftLbDhP3Mb/rt/ gaED254I0KhuTDlAkb+kpGwUujTmvjWwz1OZzKYwdsLIikFYLc8BoOFdBD0OLNmn m4GfofVFC2KTioy97aS9INGvyfs5znkqfjNf9iH9uWGtnDhSlGm6AeDlmZyVDo2K 6mhXHHf7ZhGL/wFigJH/4m+ft0pLhf1QJtlYZzeqfuaoLrSZa+iFPNvzgatw8gV/ foY17keQSpXqbYKLHHqnBVlRDSIzQCsH4kH1EOA6TYRwiZAm+DkY70WQFXbbIirr GwTyyhBIRXFBINWdwTrPxwZ/9/EDrhkv83U6zVMxqVjUttxKznoTA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=rZFBSHiO4VCDfzPUAzCXxxp/JRJoXirQUUAJ1YxD2ww=; b=NQW0IaxE Qssh775leKVPn0D/rG02HzSZwDji0cLZgeYS/jD7XMYsOEOnjhWBcnaGHMRg3vDf Bm2A9Jcugd5gPh+U58KNVSSEaP5JUjbRGFdNwF0g2ZwoFpbDHGLyKds926sFrWhM bpJuPF2DZ5cAujU8sj5WF5YjZQF2Hx2AhzCwfV5RhiACk3U/iY8xG8C4ohPECIgf JfINmicfo8zQsrN9TZMIvhnNk6icuA68cpWtJNQdkCLsoVLP+aaJPm37t+JeMbso wtWQnxToW6+2/6gePdD5uatpX36Wb3jA0DRjArqWoZ5n+QGVlIwkmg0PrlvH+5Ir ByIVc2pRxaStjw== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.80]) by mail.messagingengine.com (Postfix) with ESMTPA id A9DD41025C; Sun, 20 May 2018 09:09:00 -0400 (EDT) From: Yuanhan Liu To: Jasvinder Singh Cc: dpdk stable Date: Sun, 20 May 2018 21:02:32 +0800 Message-Id: <20180520130246.16287-16-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180520130246.16287-1-yliu@fridaylinux.org> References: <20180520130246.16287-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'test/pipeline: fix type of table entry parameter' has been queued to LTS release 17.11.3 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: Sun, 20 May 2018 13:09:02 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.3 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/27/18. So please shout if anyone has objections. Thanks. --yliu --- >>From f4d3ff62ab8c253fda2b9994f50bc834eb60fc44 Mon Sep 17 00:00:00 2001 From: Jasvinder Singh Date: Mon, 14 May 2018 14:35:24 +0100 Subject: [PATCH] test/pipeline: fix type of table entry parameter [ upstream commit 37181824ccedb10d2a8e3f37d12d5815937db586 ] Fixes the wrong argument in table action miss function. Fixes: 4c387fcdf777 ("pipeline: add new functions for action handlers") Signed-off-by: Jasvinder Singh --- test/test/test_table_pipeline.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/test/test_table_pipeline.c b/test/test/test_table_pipeline.c index 204e372ec..fcd3f374f 100644 --- a/test/test/test_table_pipeline.c +++ b/test/test/test_table_pipeline.c @@ -100,7 +100,7 @@ table_action_stub_hit(struct rte_pipeline *p, struct rte_mbuf **pkts, static int table_action_stub_miss(struct rte_pipeline *p, struct rte_mbuf **pkts, - uint64_t pkts_mask, struct rte_pipeline_table_entry **entry, void *arg); + uint64_t pkts_mask, struct rte_pipeline_table_entry *entry, void *arg); rte_pipeline_table_action_handler_hit table_action_0x00(__attribute__((unused)) struct rte_pipeline *p, @@ -134,7 +134,7 @@ static int table_action_stub_miss(struct rte_pipeline *p, __attribute__((unused)) struct rte_mbuf **pkts, uint64_t pkts_mask, - __attribute__((unused)) struct rte_pipeline_table_entry **entry, + __attribute__((unused)) struct rte_pipeline_table_entry *entry, __attribute__((unused)) void *arg) { printf("STUB Table Action Miss - setting mask to 0x%"PRIx64"\n", @@ -546,8 +546,7 @@ test_table_pipeline(void) /* TEST - one packet per port */ action_handler_hit = NULL; - action_handler_miss = - (rte_pipeline_table_action_handler_miss) table_action_stub_miss; + action_handler_miss = table_action_stub_miss; table_entry_default_action = RTE_PIPELINE_ACTION_PORT; override_miss_mask = 0x01; /* one packet per port */ setup_pipeline(e_TEST_STUB); @@ -582,8 +581,7 @@ test_table_pipeline(void) printf("TEST - two tables, hitmask override to 0x01\n"); connect_miss_action_to_table = 1; - action_handler_miss = - (rte_pipeline_table_action_handler_miss)table_action_stub_miss; + action_handler_miss = table_action_stub_miss; override_miss_mask = 0x01; setup_pipeline(e_TEST_STUB); if (test_pipeline_single_filter(e_TEST_STUB, 2) < 0) -- 2.11.0