From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B80C6A04AB; Sun, 30 Aug 2020 13:16:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0A33A1C07D; Sun, 30 Aug 2020 13:16:26 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50064.outbound.protection.outlook.com [40.107.5.64]) by dpdk.org (Postfix) with ESMTP id ADBF91DBD for ; Sun, 30 Aug 2020 13:16:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSDLXlTF9W9hoX1BjetM51uBNiROqeYJU+xqxFnSzkOzuvNaJ0khVdxSoQ0oJaC4L9EuuTuPpq1A1Sm5jA4/tXDjR8AYj/B3idLY7/GrtyraDfG1++IWOUQCbIquwAHLil+IjwyV/MJft2L3GvhPaxa8tzPO8bU9iqmOaAV0SxarUMt71CevuQ5eEwxBsfVdA6kn3R0TvDefi7Tmr22XLF7mKXlj+/RCy9PyoAbjr3cOlRMd1XOrbwuzTfGJGIV7sj+PSeuuueS386S5DS6GExDIuGHtvxCPNN8Un4/NZLQpjVYlC5/PKFiNOCPgUE9t9cM5LNLWR2JMMFwm8hxKkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X6xJRqiHeMWabt5AehsD3v62IHdv3k/Zgra2VgJRj3E=; b=Xi4O8CAt7UjXL0858RYGAPX0GlNssotngtAlD87bKpwQQkz5XxN0FaIdD3DymO1k4SgSzxpIHzLPdsHGmO/GkKdwLPKYkVlpJePmSsutetGQRIGIOj/DYv82RhuRQ0hrIsgx+r7CAix3SNbQQPhEXPLNxBiv+6zIgLMFOpoTotkhUtNI3MpNgKn8RXf3cdnBhkUw7J45TN1IXiaAATz8A/0WBuBY1tazjtPb83u+SKBpxJ5oQ1kmCtQeDbAFhrcdc5S2jyEaXC+iEm6mLgbpAzKq1utnIifvADCgownXIqRvDQMHR266hICmQH0EtF3FTrVv5EzWMshsro+B3pQHQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X6xJRqiHeMWabt5AehsD3v62IHdv3k/Zgra2VgJRj3E=; b=k0CNy6yardHc1dep63J4/7ulxdj/MPOXUjE7UnBp8UzV53J/zdLa0hQ6v8U5ISC0B9FyvIkbDq1FJ8JgdG+0PIgg9dTXy2ZiGofh6gFT2hJ6q6LIqItjfjnqJ/cfzC0J2ZDU9SxCKSOJjL+zRon/wH/VFTcMip/OlFYjzsrtyz4= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) by AM0PR0502MB3762.eurprd05.prod.outlook.com (2603:10a6:208:1b::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.21; Sun, 30 Aug 2020 11:16:22 +0000 Received: from AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::4c8a:9848:2e2a:3598]) by AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::4c8a:9848:2e2a:3598%6]) with mapi id 15.20.3326.025; Sun, 30 Aug 2020 11:16:22 +0000 From: Wisam Jaddo To: dev@dpdk.org, thomas@monjalon.net, asafp@mellanox.com, akozyrev@nvidia.com, akozyrev@mellanox.com, arybchenko@solarflare.com, jackmin@mellanox.com Cc: wisamm@mellanox.com Date: Sun, 30 Aug 2020 11:15:32 +0000 Message-Id: <20200830111544.4190-2-wisamm@mellanox.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200830111544.4190-1-wisamm@mellanox.com> References: <20200830111544.4190-1-wisamm@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: AM4PR05CA0008.eurprd05.prod.outlook.com (2603:10a6:205::21) To AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by AM4PR05CA0008.eurprd05.prod.outlook.com (2603:10a6:205::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19 via Frontend Transport; Sun, 30 Aug 2020 11:16:21 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7939c026-bc69-421b-0458-08d84cd62048 X-MS-TrafficTypeDiagnostic: AM0PR0502MB3762: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rKYPAsDZprTIcSISpfNMrr5an7XTlxSN66vMvtWCaWrspAGOOhHF+6BzoC4SCFVke4Dn0KEZQdjo4oJ6ceWh0uSQSWlC8J+6JAfnmlL73B87OmFPo+63O0kLVGeKLOC1ErHu7MEVsrGoCYzCuGMaNeESC93d6kwDpu1rExQgxvEDl7MpbtkUek64Mzcz/07XRYUuuAFe2wqbtJVYeY9SLVeK525hGX2GdBTd0kGICYw7jrECENLyO44tSO8RadsogCmPM8CHQXgnvN1BFymN9/y8xrXIr8r03uhxOVxev7h4hi7x7ONd+jFrMIrsy8Us X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6610.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39860400002)(376002)(346002)(478600001)(107886003)(316002)(5660300002)(8886007)(2906002)(6636002)(4326008)(86362001)(36756003)(6666004)(1076003)(55016002)(8936002)(26005)(2616005)(7696005)(66946007)(66556008)(52116002)(83380400001)(16526019)(8676002)(186003)(956004)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: DHE3vBna/RdVW5fkmvXLaYi4tOgs2sLFRNHAHDAB3a163BGEh5jL6ggWEmVXMS3MJw+L5K/O02+vkZ0Bxm4w4kqUYXPJWdq0ZHcHM5e3qIrJApL1pKu/VHiqTq4tRh1bQ5YNKx4UVH7/zd+Q0QPdXXuyNbhk7LWgOI/L1mCCI+HwkjXX7QqcRSgJ/Uu5vSSSJStDTBD8wxq6VU+MY+n4eBeMQkp+1QFK6Os4gEONqDsISCmbI9Zh9HLHdGptPVYfSR5lVookWR5olQcfqMckjcE6tFGHeiqw2mx6MtqSEM5PPBqzI9C17at6IHXE7lEVlPNZxtoK32u00IiF8y89i/p6xCcJTDlmuy8H3LhwBpLA749QDo/vBtbGc8E6ZEil4ykP748+uo/K+lWWtWKOTIsXAzklSo/cfPxwzBLHYdzAXdnE6wfvp0GkaR9ufwSN6XI1BSrELRQMwK9l0jl/IfYzGeMZhQDcDXUZXqziNC/t3ExEbqosQrm5xDOJa9VGM7CFPKPl2gWuKDAXi+1mGQa0eUIkLUq6LzDJ6eRqjv3ehMQAm/9h5Am0Sz6vj+0BtQq3yTQDDxJ9KqIG87FYNgI6ocWwcsiA7gpuB9YVWhmIaoFhoZQOpiJC6Y0f3bXk3Oh85gpxGqbMBGCbf4O4wQ== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7939c026-bc69-421b-0458-08d84cd62048 X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB6610.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2020 11:16:22.3686 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lX7qVgr8aOdnPwii90d/8w5lh979HiSW89ygtWDOpmBWTRbOsqaZfWCtwW/giUKOswT/ve+4UaBVtJ4xGrQrGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3762 Subject: [dpdk-dev] [PATCH 01/13] app/flow-perf: fix actions mask macro usage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Actions have it's own macro which is FLOW_ACTION_MASK Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation") Cc: wisamm@mellanox.com Signed-off-by: Wisam Jaddo Acked-by: Alexander Kozyrev --- app/test-flow-perf/actions_gen.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/test-flow-perf/actions_gen.c b/app/test-flow-perf/actions_gen.c index 864d0c9786..cb9316f1df 100644 --- a/app/test-flow-perf/actions_gen.c +++ b/app/test-flow-perf/actions_gen.c @@ -219,39 +219,39 @@ fill_actions(struct rte_flow_action *actions, uint64_t flow_actions, ); } flows_actions[] = { { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_MARK), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_MARK), .funct = add_mark, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_COUNT), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_COUNT), .funct = add_count, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_SET_META), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_SET_META), .funct = add_set_meta, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_SET_TAG), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_SET_TAG), .funct = add_set_tag, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_QUEUE), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_QUEUE), .funct = add_queue, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_RSS), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_RSS), .funct = add_rss, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_JUMP), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_JUMP), .funct = add_jump, }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_PORT_ID), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_PORT_ID), .funct = add_port_id }, { - .mask = FLOW_ITEM_MASK(RTE_FLOW_ACTION_TYPE_DROP), + .mask = FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_DROP), .funct = add_drop, }, { -- 2.17.1