From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0068.outbound.protection.outlook.com [104.47.0.68]) by dpdk.org (Postfix) with ESMTP id ED7691F5; Mon, 24 Jul 2017 15:48:14 +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=bUR2hxvEqHVOmqkiGvaIUO/ORvqDueEpuQwx+TBEOZw=; b=eembFkpNXrArygnG2Vcj6wJwwZckGRFcfRXy2cwLkk7uXZZ5cG11l4CxGNAZRiqmbMO3YcYbsbZnvZtT4b5w0lUfuhcvdyBvQYYI1YLSUPK3TW3kD5rV/W1dK9wn/37Dohr1HL8K5EQUq/ztXUZ5S54NW2bhn0JfNmUKHHcKrK0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by AM5PR0502MB3044.eurprd05.prod.outlook.com (2603:10a6:203:a1::20) 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 13:48:12 +0000 From: Matan Azrad To: Jingjing Wu , Adrien Mazarguil Cc: dev@dpdk.org, stable@dpdk.org Date: Mon, 24 Jul 2017 16:47:32 +0300 Message-Id: <1500904053-4543-2-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1500904053-4543-1-git-send-email-matan@mellanox.com> References: <1500880222-13347-1-git-send-email-matan@mellanox.com> <1500904053-4543-1-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: HE1PR0202CA0010.eurprd02.prod.outlook.com (2603:10a6:3:8c::20) To AM5PR0502MB3044.eurprd05.prod.outlook.com (2603:10a6:203:a1::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f3f79f74-cb72-486a-ad34-08d4d29aa14c 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:AM5PR0502MB3044; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0502MB3044; 3:F5icZ+SV3+tVX4ut+YcPN9bCNfhUAHBUi4kOraxHTZn5EITHsN4daZybU0XA4hnHuA70HAPA8Crh6Izb6UDl4FVCpTge+eyeS7sddm1nsmW06I0f8eGmlkLT5a3pa+Ol+MW+UBzHOKIEajyWN8f1I3BSsnBy9TG+xUyRux9911ph3YbdhEwsCF8NyzFW9+8ucXiqNYREt4O4un2iEJU8yI+il6SS6whzDro3LkCFING7mIYpULMyEyI0kDbvy5hgQeCbV5J4oiIKXREdYvg5CJnpIEWCUOtkN1JogWNduFm4/XRch8EKi71B34q8IygazzJZd5IhNJ8Rlw7UH7iII+SOxVx/ZgyIJilRdjJRwlPAur2yUCxeZ4d1SIP0t5rIfl56D8OA2usmaDUcwjCMi5n7F5IVmWjgxde6sB9EUxeQOBVJ2kAt5hYX02xMjZf2ZoXJIZtj2G/F51GD8SOGsEkM8WB8pc9UADNMr9RYH2ylaiceu1mkrESDhyHpdik1e+8dJJS97HCBzzFb19hAafw0z9+O6IWGh7VyoJSTxaDRbFD5GgknM7GPL7VyIh0kEc/GQQT4aiUYTa9od8L3RxjV0zq7PseMf0UMPryH0t60pdV+fKUtGGOLBpVKOwQ9hd/DDzB3qrb8BX8NKTo9xnoHv5eGxRYC7sV2zllgMlPC3/s6SiNKorntVLS4UzxnFCX8k8CaX+2owLzRHMIc+wSHzm6bBL/rfriPUyWwpPxgx3N3jcckgQTjbb6KASIRzl9zxZ2AP1XPnqYbDTQ3Tw== X-MS-TrafficTypeDiagnostic: AM5PR0502MB3044: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0502MB3044; 25:a75C2Ii/y64GmwA3o/u7f5/d0MnWHcTxRXAskm5CyfdwOY2NH09Alfabh4h3H2QAa+5viwYAVUM6zCj90QAC4pLW5l1xqPeafUnzCutPvqd1NS28gs7CWS5lIRO2vuaADveRtr1YdhdH918mv7qN+VCjXneIbyUZtW7XrZOitPc33KzPnnNApiGJbvfXpffdkjmMZQ0VnfWoVs7Gx6mb3CKTdA5HYdEwnXH1PX4QVouZirxzxeHekksnH/5wA5MCatXz02ZzoLCJce1o84g1o4Vzvw9eUg9nVkzHwnyUIELFwppFkvnAcW6aFi16atNV1tZF1DP0SvukWHHfRm+j/EJSJyUQ1kEXe2yTDNpHmwVInK6Q5qMgtOlLeWDhBp7NYB0tF1aVXLGp+58hQ4Tg+Al1J3u3A0Z9jj1LrLsva3w6byUUQrmz3c4ew+fbNfUGLrCuE/NbDyL9qwGu8+zLa2ewP0FpKb40G/iGI/0YVbkBmV1nI6yUqVoeivWX4Y/Z/Ji20/KomfLBom/zGoFjEmSiEqgtE8Db4s+0uDBl8V6jKE2i9wNspF1qcaemAckY2iu7gjVSctp6+YkeNmKTHbTJlTznCXKbdamospa6Bi4/nx2qEqc9eUEuXS5Jkbs6mX76qKTAeEVw4qtnRYBg4xss6WXXQLPx8Ep0PpAQl5h0ocv/053IEadKAyFq+r18H5qJa1V2KiS2ed+paFEKsteDsQBntBLURGJsxxfrG/KDOUEEvEebtvoMzy+x+sPphWaTShYny3kMWiXr9O8CGS00NAcb9dixhFhz75ci5jzHr1aOLVzfyMAyF18dy0J6CZDa3IBNHm6fwCkWyhUO+HiGWwbqI4WMfnvPuJyidL4SPCvh3B3tVrnkMNFNpTJ2/3/OznAd5EJRFR0/ksGHDJskfMpeaRx+z/EHkQcB19Y= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM5PR0502MB3044; 31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SMFnJAFzmr0v2xggmX2W9JzaWOaBoSTVfZzAgunYtueqk/rVMY/l0SbFprEdsymamj7tc9RMhv4vx9WARNXww4bYK5dbuF427Uc9vXmbzqChZqU7qCe2zZBLByWWOuyqCRhD9ir2c14EmsvUTXoHjIwo6I5JJ1y/YrvVudcY6HNOcrh39w1WOctTKzpCz0uuw8CZBt/QF/jtl5Hn6Ln+gZalrijclitiitV87 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)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0502MB3044; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0502MB3044; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0502MB3044; 4:5M0ZWro9DUTAEt8oOyZicBKR7Ph6rkJY+YbB2zMk?= =?us-ascii?Q?wwSusN5+QlpUvHKTAroLwnxlugTpsAyV5iCFDEnaN39dzfcRCLd2P28oBY6T?= =?us-ascii?Q?dQpB8MYzOgGn7uOyNHRN4eGc26TYDMiQ9mn0gI+3wxuZig+c+tvc98hFwyYS?= =?us-ascii?Q?QfMSXAfaAfCULYqexvRW2/3tbEktW2T7rPV6ls/RzB2zLlfe2lpphSvLzuO2?= =?us-ascii?Q?Y1Yea1J7ywAqwcnOdjy8BkASuM990156NO416wVbSk5SBq8XkCCAcBqLb+h9?= =?us-ascii?Q?Ybetmefd11Vcw0vjeey6p8KFY/rZi4A1BJvapA42X3zou1SZ3FHpN1Alvdcc?= =?us-ascii?Q?KlnnMtld19WjIyvPVVZwu9NHkTIgVxcAWxsMHsh6hLABa6gda8hAETX6CMFT?= =?us-ascii?Q?xbB5NY/TEe0oYgtFkXfxLUy6ja4NcE58PksT7TLuem5t5JU3RCYbUvttjY+y?= =?us-ascii?Q?/4yx10geO494ioGBO22fbCA78yDC1YJMixshexXUwpAUT0MWS5aIruNeAJcT?= =?us-ascii?Q?0wbGF8YhXUcNq3xg4RXkMPlRGBg6ogfHWW20VVOC6JAeFbIOhjFPkCH9PC1B?= =?us-ascii?Q?A18sj6VFEXvd3PJXG1xlzu6iKSR3SkyOUgeSyf1uUlosht4PgAmP5jUjq9Cn?= =?us-ascii?Q?nGi86+d5afLiEX83CIyYk2Jgm6w/qwKdyfYJztSa2XfR8Duhry4NZ9V85YnB?= =?us-ascii?Q?vU4oOyOl4HzEFmrabN6KXzNBCFks/QFfqiEWj/RESzmwgoyV9fjv0W3N0L1T?= =?us-ascii?Q?TYN3nd1JWaNSRGGzTa4tB53Dvz9uu/zJbIJrYig1N4ogHidx10TSiuv/Gq3q?= =?us-ascii?Q?jrxxNSKrbi+pxTsIijb5q7howEXiQiR2c4cjJTF2OeyF5DaznnCcxVi3MO0z?= =?us-ascii?Q?GupIuERFv5FnkCy3gnhDVjJFcI9VhBiPMS2uKpf8YT+6c1gawOGHRFyyu2uT?= =?us-ascii?Q?ftwNrzrw2a/PCCzy9hLyz02nIzqwNjFg5rFT6ApnknriNuwwo9agUdaOA/w7?= =?us-ascii?Q?GfVpDKKWzoswROnuhselxkkUhSyLKLU/0qOKIaxBuFPW+xxi6N9vuumR3upG?= =?us-ascii?Q?veZgngg/ZVgNF1pmLGADHHgKddWxL3OdbdOxKmAIZjruXSmU1Zn8oV4xLgAr?= =?us-ascii?Q?S/vjB3ilpUBhSbZFAepw7urUlDXMMkYDUbkVYfbQqnUcbX8MLHxOPg=3D=3D?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39450400003)(39860400002)(39840400002)(39400400002)(39850400002)(39410400002)(189002)(199003)(7350300001)(33026002)(97736004)(2950100002)(189998001)(50226002)(5003940100001)(36756003)(8676002)(6666003)(4720700003)(101416001)(81156014)(5660300001)(106356001)(478600001)(68736007)(4326008)(25786009)(48376002)(81166006)(50466002)(55016002)(53936002)(38730400002)(2906002)(86362001)(69596002)(33646002)(47776003)(76176999)(66066001)(105586002)(50986999)(305945005)(42186005)(21086003)(3846002)(6116002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0502MB3044; 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; AM5PR0502MB3044; 23:4b06aFytBvsPUQd/B2D3VWs/YtehojVFR7UZfNU?= =?us-ascii?Q?rZpjeBcL6TnO8Ozt7E+J80kw8Zgw41UQbaXRedXfVafB+Mm2Xr8dJD7bXrC+?= =?us-ascii?Q?YlvnbeihDjFEzli7ZDVrKak9tfIEbdjMdPxQMDWsR6QnOeYsv0UJsEpIhgO9?= =?us-ascii?Q?ISeah37x9qjFcLerf322lcgipXIz744O5BO6TUFN0D7QbZNi9oWmDu8LVWrr?= =?us-ascii?Q?BxqfIJHDCAvYasfde3G/Lx8J8Sw1UEymmPCUFHfnucXpVMtVgUy6P2OFXN/R?= =?us-ascii?Q?oQs60XG7jlP8L+AWG6U4AJ502l/y4HYABTGBSoBd2G4w191Knj2mputYg9mu?= =?us-ascii?Q?56v+DdK5YTh++C+dvWDCRVEd+Q56AFXiLo5Yj3DKN6MwritpIy7MNHLd+1u9?= =?us-ascii?Q?EcbfBWgM/zH4G/00h4br98XKD5Y2umNSn3EsZ8VuW5oK0Bqu+m3ZMVe18MU4?= =?us-ascii?Q?wp/zMH7TwTDwZ6YCqD7McEYmxO7x0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/2U/HSdszQ5uTUwWXwba8XdWHYBA/Uq90db6K7hCCkHUT+K4ozHVxkOckTXZayqmIrLK6hAs1BXH/iFRBPLcBRJpQA/sSMXfxPAzH4G4tULbxfT2vMi+bErYdY88LRcoZ2ZKftBGFK6yjAvbwI/V+7wIpGdqTmDWo6zfDZCmYDd5w9LJiMliREtqTUNHQWLQrqibWGVmW2kztgCvPaZj63zi8SZoRORkWwiyu3hvSPxO8WmNbGMD5BoIhiKTBJSkJTjjAistdC4P+SQSXjRif4C4sTFw6ZwvOHYXKe1haflRXh+LxGnAuzFLsP3KfThgin16BKV/ZdpnxfjjbX5ZklDbKxuxGT4dZt7paLCVEd25eLWnZ9+93fsIZ4utvcWYgku1nmSvKlKlg27VMBKS60C+mtrEnXySxurv66NF/dXYMXB/TPXjSveSibx7l2TbXhGBe9dENwKqtx/IsvTLd1rqFFqNMFAEsQvGkqwwkXxIFv/JcBR6NuGhu099U4VFnJLIKRDVG3lQKRXLBzJppeuic75iLNUnPZKOJ+cx7cL0V8cRGCaIxICca0HU/M4Jd3JplqFlFq1K0S+NiQ/NQdc3tPpR134c3R9Bbrihc2qVtR5O+TWs2yUAwxPkn+zL+Vf2G1TcMZgDawCxe1Zc0lI= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 13:48:12.8879 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0502MB3044 Subject: [dpdk-dev] [PATCH v2 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 13:48:15 -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..3ae3e1c 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