From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0088.outbound.protection.outlook.com [104.47.1.88]) by dpdk.org (Postfix) with ESMTP id B13D7325D; Mon, 24 Jul 2017 09:11:04 +0200 (CEST) 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; bh=mDJuRz6ONjI7SIsvqkmRKYiBixLGU0o3pPl3kY0UNo8=; b=u+pvpk52Z0Yw/yWMWPunPi1Mv0bKsW6/TXtghlosgZ0GPXpGxkjG5GdWZF1FQQGFaDCgNAbRH1HUjvceREncFQAigBbMiorFDZ8dJDRvngbLXD48Pd4jVwInPb0le6tenw0bKRkXZvB6Evzg2/1FiMvGkE5XDqQckBOTCNAFbj0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by HE1PR0502MB3049.eurprd05.prod.outlook.com (2603:10a6:3:d9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 07:11:02 +0000 From: Matan Azrad To: Jingjing Wu , Adrien Mazarguil Cc: dev@dpdk.org, stable@dpdk.org Date: Mon, 24 Jul 2017 10:10:21 +0300 Message-Id: <1500880222-13347-2-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1500880222-13347-1-git-send-email-matan@mellanox.com> References: <1500880222-13347-1-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: AM5PR0601CA0048.eurprd06.prod.outlook.com (2603:10a6:203:68::34) To HE1PR0502MB3049.eurprd05.prod.outlook.com (2603:10a6:3:d9::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1258abf7-4bbf-428d-33b7-08d4d2632548 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0502MB3049; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3049; 3:iONbKb7iQ/fRd6EQlqgTF7tm6Iyj5HTety4i0H8Ync8ln0abPhFPAh3obCyX8m+Gi2+2NpLQseA27ULmwDGEtEYu0sdkWPEAz5lHVDsGKL+VkAiM76js2vGAImhMSo0gTBC74bqmwN/EUGbSJgBnEaX/c65Enh8aTqdZF5GrM+8TeGHYS2bnA9WMYeVLuhSYDVPkxUJQRnCIVEe/U5YWIEHBtpnet39jASGBNJpLETD13WKmgm/myebcWxQWSZmsSDJ12JxxR9xkxzdjp746hORGBw/8F5E4v6X8VJaem/Pi+g44HZoUY2kZzGG/OkrX1kJbrZ50GqgLQyGnIrwyxUyDmzO209JlZJpsNay6Pr89YhcWrkEU2pLWuUvXA+ll/UuGqcLefPfBhuKHEjQ+gUcqDHhfhyTJ3W5S2bdTalwt+5cXiHbqH4VPFgvMStBOJAzDyTUF4as1Uxuy8+opiQDA0k08ZIU+b7M/XKq3AsZIwj9yu4kexXalqv/RoHVpVmJljY2t4cCSUl2rgVcKEzjrbiFuX1V325PHIJUJt9VEQflNJmMCrQLIRSUhWsFTJrxM9mn1gqTF1EITt3QjO6CktmkfgYICD/25QAPJCwVnoPY//n1N4Z65crWr/lmSrh5cubr8yjnmHSRsKq0xA034YKI1OgWYYeszTY58XvNteXAEJ6hmB0PNYUvRzBvoLCHGrAlNRerOLxp3HgQ7r49LrzZFudmE+FohLc21vzoesm+DQcWVYZfYZ4LfJzUX0P8oByJvN0B4mG9e0pvuPQ== X-MS-TrafficTypeDiagnostic: HE1PR0502MB3049: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3049; 25:2MqQ9b3YjkWgbSxWjv8/cN1RiBumNRhEweZBF44L13VYdbhEqSlxFMTDSuoeApDlsUsoIkoJshTN72L9euP6+wj1nGbX+7wKeD9yFvzlAyzW9KwkOaEhNMeqST58vERATtTCrX+X2z/Dbcacr574xSt17CZpcIDSgpLjZxW8+dehXjsZXMxxuDsztKolVdBYG0HrEszoyxnCKnqQsKn86WKgB09WZEjSln7OicMhKJQAwapOduBgb2VyaYSS6SkpWYPYnWzhxaIt0Di37PFsbo4IgzJwnJtCusv1H049R37y5CnpRJfLHeXGQndtMk8ypHl6vQ5O0ZY4yiEuqDTO1FJTkN6RSP7W36JexXDpHQjbzMHxRFf8+DJKN5MU4uURmIsQ2OxDId/LcrdK5R0LLlpZTpCSiajTXnYLdvM99D9NyjSpiTKlzNV+qvavQ8Gp2P1rb8XglPcaV1NSL1yzma9Jt/zGjnPuZhXgf+6dy+WemZ6fn23MgpqfeHSe+K8ry2TyvjiTdkrhJHuAyo1yaAn9EOH9Jmc2KlZNrPCoPJFxLluLj/Jm4E26k8jdmAx0wb9kVr7N7GoQJhw87mqEQIQO82hTLsZ43IvS/3Kts0RLA5apdZqgbF6bJTOARvJ5aROMcnQ8eqqgi7rNTKAuhIfxT3qPGoW5OsKX0O+7I8PAyX/BJlNVYH2GqagZyRAhyl/gWchwy0rl7yyV5R4qzgU/nYKgy3/i+Ky75l2gMgpGehDf+LbBKbv/myq30l+bHWGeXyLBF98N9U/GGnKXuwq6XndCVRC3i+49n6ilTgYAR994tuNh97Thvj8HVxBM2ZcBQdI3ppXdBwXTbb8xYySYptxMDdssso8Fa4zClJEwlEYBCBb2mV1w+Xi46BpR2PRaQntXDgUalcO8+149Z0KqpgCAO2ue46clahDz5gM= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR0502MB3049; 31:zxRy+5pZldlsAi76fl7U185bIxyKup60DZR6oxhKn+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vt+dOEropMZuU5V8WPrl/FHlnz6cLVLtsJfWBf3nnoGVHeBoTkIin2XCcAGoItkx54Q/N3xG4/a2K7Qh1jDmW0ZV8ZT91mWdCX4jb7SDn4cLvgE4T5QiTk1PlKDPRltHC5mL619rlbwkAyV6dlhpteciG4/gA X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0502MB3049; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0502MB3049; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0502MB3049; 4:7AhVUwQLm7AhkelOZvCghCt0d3q/l1lQJNlmCqg+?= =?us-ascii?Q?XoUmO0gslB8M40UATFUXDU+UzXEPCr28jDqBYFD0qnQPeYHvEkeq2wqMfg93?= =?us-ascii?Q?NoFeNSneHVJrIGqhKC0NkDz+Bjp3weE3yWAH/WSlw0oRmH82am6UsPi0DMxY?= =?us-ascii?Q?0bwKkRjCuQRizK7gT8sRgeoAriEpMXmb60fXtMTOSpY/4wZPaGhYl/ag3bY6?= =?us-ascii?Q?VZYbrV0p0CMW8WVV8uDedLcSphUcewf+90X2DTlSOaFxI1OtVcLk8M3Jx+N5?= =?us-ascii?Q?nrRChM+GXiOuNdd7PhsN+IqAxDyhvuKOHgd/lpoTnrWiO+A8sbK7xJGcION+?= =?us-ascii?Q?UvmvMIqXbMqgg7boBaWyfODfnVDYvlOnBqfumgWnpmwGKmBCky2VmOc1xZe5?= =?us-ascii?Q?a5K7OUbjcDBhpfy9sczrXRLnABUJvmRA614vTg7jQxHjmSEC3U6g/f7c+GxO?= =?us-ascii?Q?CqNqWNzzPeCKpHu+s3RbuJSsFrO4MGCmYD0nfAMDQunJeTdOIYrWlvnj87sZ?= =?us-ascii?Q?464Q9ULV1B2gUQYVTB5LVUREJU6+8xjwG2r7CkpXWHTBqku02o0UIhp9jADi?= =?us-ascii?Q?5Fsc6NTY+DlehPBWsp2sSrIaiXeL6DSnrHVByIQ8aBYWP5lzaWNQrgvTVfjb?= =?us-ascii?Q?1Lh2JgUV3mWrol57xbKBmlGihykWQrq4B7SLiy8/deukq93IYBweudhuutU1?= =?us-ascii?Q?sjyCYQNSGSncG7+q7dii6ShZKWwfDZ9J/aMAiGc12wH7ebs/ZyJdlcCaUfCl?= =?us-ascii?Q?GvMkMsyAXmW+33oOi7izsTajN8fwc780icCXoqu/SpgD60bEijXwAO0r/NGQ?= =?us-ascii?Q?K0LPrlGPQJ0kkhUSa06rm0KuUgg2+hP4pW9ejb6R56tg6r44OV0yxmH3RgpZ?= =?us-ascii?Q?z63smajknJ0MM7TZ/Pa9VqHqbpmgMAmYE0548+IQu4eOqASFi0T820LvtNnJ?= =?us-ascii?Q?/hf7QUrmfl5LvCxKChVU5oLz0IXhgARvlT1movV89yswEdpxBgAKFEq0xIN6?= =?us-ascii?Q?0ZQYme9i61k51WRUi6fcGY5oQIBBjwvXvt1co/K2hPQTSTv9dv9FW21XpY2U?= =?us-ascii?Q?BJx+J4F6LQ09RTubSmQg/9SfQCxwhn8jw1P//iDtLewe25e5XA1ZS5TB59QK?= =?us-ascii?Q?+XOb5kHoG/3CIZRr6/lo2VqCTkB2QR0u+kBdOzCt0T1YW3aQuaGubw=3D=3D?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39400400002)(39410400002)(39850400002)(39860400002)(39450400003)(39840400002)(189002)(199003)(2950100002)(4720700003)(478600001)(97736004)(6666003)(8676002)(36756003)(3846002)(6116002)(42186005)(101416001)(50466002)(305945005)(25786009)(48376002)(7736002)(81166006)(21086003)(81156014)(50226002)(5003940100001)(86362001)(76176999)(189998001)(69596002)(68736007)(2906002)(55016002)(106356001)(5660300001)(33646002)(50986999)(66066001)(7350300001)(38730400002)(4326008)(53936002)(33026002)(105586002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0502MB3049; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0502MB3049; 23:G729kMDbxHH36M7/WVcsE4XMmSfbqiLD2ria6M8?= =?us-ascii?Q?G88TvyjgK0nr5JbdmKzXLCfVkpCx9oBNEIU8hDBeETL1/h7JH2x0JVKCXhOP?= =?us-ascii?Q?XBKOMqi52OzXx+GivNm3lfQdEVoDDiSMgG0/KNj+jENnivgYBIeF3KS6Witp?= =?us-ascii?Q?8RoKvyQEQ2bvGlP+WN3AHghFj6D3qBYhryntgUDSwzYUa8vshNWC3cqYHMCA?= =?us-ascii?Q?8z/BNDfU4+6CCm3GrKqdvM7DR+u1h++BloxWUsgZ3fezJfs5REsRgjlhMEvT?= =?us-ascii?Q?fbet517caHXlmRQU9PyZonzRH4QKKcvdj7GR2AeJrQ6YIsgLmokbcu1tiPIV?= =?us-ascii?Q?Zguub+4QKod+VTQll/g2aW/EGqcd+9UWwfdRRcyqrsnxHOz95UwbXumK61cB?= =?us-ascii?Q?TL5RfUhtly4CG1vcBmPoFPq9Mf5TsIibhFSLnp5R0IfQC0yYzr7gkr59obff?= =?us-ascii?Q?U8gapmAWZ33pclc0eqGo5obF4BR3SHO5vPubWRVSbOLAu6valci2Na8Yaplq?= =?us-ascii?Q?dhRIprv8XMI0J+E8RFnmpOIS3Mo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ZnOFvb/Ln5CSDE9uB6O9bHQrYEVy8Cn1J6YxV1PKygs6GqhPwVHSgtDkpABah3yOBgej5YIi8O+vkGV3niLJJqNHipLMseEs5lbrPSoCmbTDGnvLNAPBwRzR6cOae6mStvGcOhS8csDt1/qXNVGRlc4O3tj3faNO2QQB03VyNTNQ12EVbGrtPaowtje5twv4WwCM3bIAoMdZhWPAcS7/x/XKNPaGkj1tbmVtZLKXL4YcnGVpTgt6MDwROeIyX7fE816s+ulZtgIpcXXHHRfAphxCqI9Tk7TudNivsHGmNa6egxx3bpb2TxeMebV87j2dICJrIuZuTlNBsx++9TNPqMIROmKILSw3XbXsdFtk2R+YIbkpjooctpN1XOw1D6mO6K2zsxuVBq/DWNsBmtD/Z9rhKi2e3nmvnEvlKn2eebGbm/6mz9TbV10zAaDGpnb+olHur0xvpUtCbjaIlb5oa1rKTREKvT2DZk0Nr/DvaoXhuhQOJkwf1cK8UebPNHcjlVrTXbbKJMHY8mKXqlmKSNs2PvvBODeehu3EKv24VpYhoWkimIAWOWUrMzqKW6BvzsJ3fz4qaeyaByphdeOrMlGmA0QhFnA7K/Y= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 07:11:02.6729 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0502MB3049 Subject: [dpdk-dev] [PATCH 1/2] app/testpmd: fix flow rule copy functions 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: , X-List-Received-Date: Mon, 24 Jul 2017 07:11:05 -0000 The corrupted code checks only RAW flow item type special case for returning its size but doesn't deal with any other flow item type and returns 0 for all the others. This bug leaves the flow descriptor empty for non RAW types. The fix takes the correct size to any regular types from appropriate array. The same issue, with a similar fix, is in flow action size method which deals only with RSS special type. Fixes: 99457e8fb8ce ("app/testpmd: implement basic support for flow API") Cc: stable@dpdk.org Signed-off-by: Matan Azrad --- app/test-pmd/config.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index ee6644d..0c7c514 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -954,8 +954,10 @@ struct rss_type_info { flow_item_spec_size(const struct rte_flow_item *item, size_t *size, size_t *pad) { - if (!item->spec) + if (!item->spec){ + *size = 0; goto empty; + } switch (item->type) { union { const struct rte_flow_item_raw *raw; @@ -967,10 +969,10 @@ struct rss_type_info { spec.raw->length * sizeof(*spec.raw->pattern); break; default: -empty: - *size = 0; + *size = flow_item[item->type].size; break; } +empty: *pad = RTE_ALIGN_CEIL(*size, sizeof(double)) - *size; } @@ -1005,8 +1007,10 @@ struct rss_type_info { flow_action_conf_size(const struct rte_flow_action *action, size_t *size, size_t *pad) { - if (!action->conf) + if (!action->conf){ + *size = 0; goto empty; + } switch (action->type) { union { const struct rte_flow_action_rss *rss; @@ -1018,10 +1022,10 @@ struct rss_type_info { conf.rss->num * sizeof(*conf.rss->queue); break; default: -empty: - *size = 0; + *size = flow_action[action->type].size; break; } +empty: *pad = RTE_ALIGN_CEIL(*size, sizeof(double)) - *size; } -- 1.8.3.1