From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by dpdk.org (Postfix) with ESMTP id E8E031B6C1 for ; Tue, 15 May 2018 19:20:17 +0200 (CEST) Received: by mail-lf0-f65.google.com with SMTP id p85-v6so1386790lfg.7 for ; Tue, 15 May 2018 10:20:17 -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=tHRCYTmYzAT0dfDU5pc4a6krOm92KHtbLKNtw8gq9B8=; b=tlEmyi8l7woRcSQtyNwg8GNCvv0I40O6H/pbeaJbODTp0VDL8pv2K877cibU1qiNYF GQm5CPqkKlHdWfXa79fnC3s+BOxGX10JNiIh7TGORjFDxqM+8VVuY0Kx/wHBLPweVQcO PKZM8smh9DVMBQHiulyBZnV5CtaTBBkQylGd9lpqWdIv5IIY73eWw2Q9ye+Fe8NhR/zQ 8Mdpkzson1O/mvNTcB3Zw4CDbDY0gHrDaa9SObEebRJflGhYYeXXXX/vfhzL73J9iOO4 D8Jmd/g9rIjPCo2Tzr+cKKrMuaUqE5+Ra6JurqGZ2z27klTb3qx6tiPpw27zs0HckFIy UpCg== 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=tHRCYTmYzAT0dfDU5pc4a6krOm92KHtbLKNtw8gq9B8=; b=Dmuk5UerneiACDg9enf1UCGW2JxYp2f2iqGr/otLsX9LF4qwZ2/aZFFXPAY8bD0VdI /MaGi2nu536B4Pdter0wFiOP+mW3rA/e1yBnv+cIb0kaThRhAD2BfAQS8BpltvtFkYCp HPp8NMsc6IEVKpRzucSTtlgLjqnrUhMaJUPd9zIQ5pCY4EcBaELxtsItgcP6nS9l8Heb bP1uyrqZ9b+Noo9GuZpubvkraCucWdleXoctLf240DI4rb+UuF7EWZtomos6osfCRw97 lAmEcNEzz+p2sjN3zcn5PttU9N37eTA7lkmni4VEtts8KA2khBpEzkr+vgl7v0egRSal V6EQ== X-Gm-Message-State: ALKqPwdQtmddWrmDsAKmwB+6MetPys1mhstIiEqfYhK1jkXpu8Z4n/lI nxnFKS7IH2dmVyeBAtsMCC58B7rI8OU= X-Google-Smtp-Source: AB8JxZqIki9Vylo4SkvneG35NrvtKX8YN7EIyRIKwRZU0o6yJSMYyZX6wfVWuEMA8SXgRMFe3ITIqw== X-Received: by 2002:a2e:80c1:: with SMTP id r1-v6mr8048092ljg.85.1526404817359; Tue, 15 May 2018 10:20:17 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id x3-v6sm123840lfd.78.2018.05.15.10.20.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 10:20:16 -0700 (PDT) From: luca.boccassi@gmail.com To: Jasvinder Singh Cc: dpdk stable Date: Tue, 15 May 2018 18:19:21 +0100 Message-Id: <20180515171933.12882-20-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515171933.12882-1-luca.boccassi@gmail.com> References: <20180501104509.17238-46-luca.boccassi@gmail.com> <20180515171933.12882-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'test/pipeline: fix type of table entry parameter' has been queued to LTS release 16.11.7 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: Tue, 15 May 2018 17:20:18 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.7 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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From db11582a31d61117a2723fd396915f653ea46f72 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 --- app/test/test_table_pipeline.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/test/test_table_pipeline.c b/app/test/test_table_pipeline.c index 38426790d..017d283ff 100644 --- a/app/test/test_table_pipeline.c +++ b/app/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.14.2