From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50045.outbound.protection.outlook.com [40.107.5.45]) by dpdk.org (Postfix) with ESMTP id 7C3471B1B9 for ; Thu, 19 Oct 2017 12:05:09 +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=9XRN9w34dOhD4z8wyKA2LN69/6vmT6AbFJoyTomgXYE=; b=s9NseWfojH05YtKApiflTCMxkSndLq72shBTICXFSazKUfrCcPZQLqUg8fzx6UKgKlLGVQ1Dm3ThnvJjx40yZHhzVfYAfhDkeDKMsx7owU2AFzqtpSmHEimCDSldoWdDXsyqIdmVbEjuPfCYtJ23eMbEtxEXn4YPrT2DW+yYBc8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; Received: from localhost.localdomain (82.166.227.17) by DB6PR05MB3208.eurprd05.prod.outlook.com (2603:10a6:6:1b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Thu, 19 Oct 2017 10:05:07 +0000 From: Ori Kam To: adrien.mazarguil@6wind.com, john.mcnamara@intel.com, thomas@monjalon.net Cc: dev@dpdk.org, orika@mellanox.com Date: Thu, 19 Oct 2017 13:04:31 +0300 Message-Id: <1508407471-6252-1-git-send-email-orika@mellanox.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: DB6PR0301CA0045.eurprd03.prod.outlook.com (2603:10a6:4:54::13) To DB6PR05MB3208.eurprd05.prod.outlook.com (2603:10a6:6:1b::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6da4c82c-0d90-4c70-b9c8-08d516d8e081 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB6PR05MB3208; X-Microsoft-Exchange-Diagnostics: 1; DB6PR05MB3208; 3:Ul98uyD/ZPeWjq3lMSPRUaYbwUoLtX7+E80RzfrgTsdDCGPXzREKgTeE3g3FdjzMGp9+09Ojno6KGGFoEhvdYZKviKpAwrEOVX7GSmtmV23XmUcexcMQgnidDccknSK5eWklnER6N180CbTML1ie0zbWL5iWC5Y80MUFEMZIr2H6XYzEC8EMK1d8v6i6F87zrktuZHlvv1hqX1eAgT1ea14m+lGEwz6NpdKRVY9vWjdPTpxD0RzLtF3gRtKLySDS; 25:nbHripx1caloWntEhOKqISn0zb8tFHkmmoG0aUwo5wHdW8vIjlmfD3WQysPuigK9fxzBcJfEK9NraykHOvorgUTrmXLXBOLq6BHYdmDOEHBL4My64L5prJtXeYfkTolneOrfUxJ8rS9mFALDR/a1nTxHiU9IcuVAC7u/UDDLIBhnKtNrYGxzMxBGorSZHqtcHVcY+vBCMumvnECFHoc9A3DquEUVsFSrJVeolYch6eFSFobIw6IoKeu78yWzs+/wwKjPnrGLfT+4eDxUBFV6gX/8A6i7sfJ89l7EpDvazgO01/x4r/uMvsCjMJ5zwr264/eXJP6rbVrGUwmn0q1mQ7b7bxkF5qF2XQCK40PBDJ4=; 31:UL3lTspiPJWB+HlUlAqbStpNALir1ms+qHAnurj7D/vuN1rPH0+ipv0PiZIJJCC8NMRcTq0KQU57M76mcrI6yOfhnPhaENG0JBaTC1kcuLlcTOEQzY8cCXWZ82sKzqls5h7aqRJT5Hwyo1x/pMhY3bZTeJTSUCA0uxRgNWftYE8XCNCDJ6KIFqfbzlN49thqM5xFjMterUpTd6NQ4ONHrTc1PtXTc4BYQCbULWbHjos= X-MS-TrafficTypeDiagnostic: DB6PR05MB3208: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR05MB3208; 20:kuBKIgU9LLfqJ91viDAYwidPuVsy9FqocdV5ns2dHnCeo6X74/PddzvSLWtxceZi30nfu91GdROlHkrXZXZElGtIR0P9kaeobRU+j5RQy9UCmNoh4o0j8TWwHQ3ogW66ljmGYilIpHv05wH7x9oAOoHsX7VtZHh+rY3kjmH81XBHIkwqJT8XLZNDvY1ujC3tUCpZtv9hCijJGY5sf68OVCI//k988kE+6eer5J7X2q+wYwzWKvqYQcTAd1E7K9B6DK/4hpF6vlluAsvpgpwkFSAxof5Xv8Kwzga5EoT+LvbxsI0R6ghwjvhpaSHH/eW10K5xu9Rl2h93KcihtzO0DvjXSW8/H9y/K1ZMD6yCO/QT5QDcEIsdi1H/RdIfN0+M1A04zLwQq6nQ+Gmp5zo2PhZNwgp5hP5L04ON8MBWAvhhlaQY7tX4ZBqiVuZXiFS6Ea/ZO+d60NJ9rd0zLZMcb0DMCafffcfHUtu//aJHk9Q0oPnglSe8RZtUf+QoC1OB; 4:rrgWKv0uqw+vHG925tmK/H5/daMtUaG7+HKJU2GkRkVUAAnkAZrWqpg3qTctN2q/cXVTa1bXhjmn3ac7zIqE5sl544eTdVSYKdC+df9Uik3oPm+fMuW2C7vkYEA4J/ORb+NryoQSqOAKu1Vip4jZsFjzNdWxkfLJJARXIcj8OdEb89uVLsBaBH2lFbIwFMQn9MtS9yAZEm0xFV8HA0bq7rm2YhJL3SVN43UpoQx61OaR30wnjgQibYzoIeLFJ+sk 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)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR05MB3208; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR05MB3208; X-Forefront-PRVS: 0465429B7F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(6069001)(6009001)(346002)(39860400002)(376002)(189002)(199003)(31014005)(8676002)(16586007)(6486002)(4326008)(97736004)(86362001)(6506006)(316002)(36756003)(50986999)(53936002)(50226002)(7736002)(5003940100001)(107886003)(50466002)(8936002)(305945005)(81156014)(48376002)(81166006)(6512007)(189998001)(105586002)(5660300001)(16526018)(66066001)(6666003)(25786009)(47776003)(478600001)(106356001)(68736007)(6116002)(2906002)(3846002)(33646002)(101416001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR05MB3208; H:localhost.localdomain; 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; DB6PR05MB3208; 23:0bfaKbGLJ0+TH+nKZIfGSh71GwpWP8MDfTKhtM+Jg?= =?us-ascii?Q?kbkNtrUQV1efU9h3mTe6tZpTBOKVp01ZBgpcJgmj/w/B4wIYq3WiZOTtxTfr?= =?us-ascii?Q?V/4zrZXmAkHHvJlBJCt7YIJ+km4IaLMe0tpWQqzQj1Zx/2izKeprCJK5DWak?= =?us-ascii?Q?8hgj0/oqfMbVSm4QHbV/dldQc4cexPhgzw1cBhyCZe8KBsxkLlLGvPHr+mer?= =?us-ascii?Q?YA2aJdINY+WVu8ZljxPqgJzsI8twWApyIeKlENRG7FlZ2ZYIcDjoJumlgEaL?= =?us-ascii?Q?EOZt0GdVMkx0v049a95/ATN8mAoJgIsxt0bl3ojPYzNodLXBcy//yK16N/3C?= =?us-ascii?Q?cdr3Z1y/H0zgoMvvwOewbQluIRFFbucEMZifTqm89YV3z+g7zcf17HwN1KZa?= =?us-ascii?Q?aUlDeSjGbvTN2n07Oa5DIsTU/sOTHp/L2e4ru6fhnCw3tRpANtWPsPNjgEgY?= =?us-ascii?Q?3gEk40zV0uMvHQbbRzw6hRL/w81FeR3hMPd03oKAm8RvGfkg3XoWEKBZF+5/?= =?us-ascii?Q?ORPR0YGX8ufpf/dN/tJGL5JtZyX2EWFFGLj3CnMW9jB2bG6G5tNWQ73TlCLA?= =?us-ascii?Q?YYhEEckp2vYHhv2wXrUX9dD+PDWHo9xcB3q+cndDM4npjMS9YxiPHqTnlQ35?= =?us-ascii?Q?RNWBvxz3LPde8z6ejY7Tz4jwf6KBLKC5FpaOiw+tfYeXVmSG/PR/wJ9PVDgS?= =?us-ascii?Q?dib6zQlwu+gwqH0zDso4ZwYGsUOH/WgS+euYaxrA5IjjTdocq+acKPl3IVTP?= =?us-ascii?Q?FtPZUat4zsGCSAKwEA2u15EAV2RQNL2k0qTeDszJZpXCqnpxcpNa/h0/8QFe?= =?us-ascii?Q?06JpJ/NuyIEPGtAq2pv5Rj3wUMLG1Gv6ECw5grEoHoi3tovKDcX0zI2QGa8x?= =?us-ascii?Q?59Le2oG5uqneHFq8GOXoDIybm+42YNNm0DKqS+a57MSesIXEaGDWkJMgT51y?= =?us-ascii?Q?5opJZERjM7BllafUQZN08hhInI8axofxfyzFOxtrBOHGN/Rvd0DWKuNUvMIM?= =?us-ascii?Q?1PnQkf91pcDI17BKJvOvHAT/+rcQExybcxlRX/d1JvKBQ903VrXosbjbaY6I?= =?us-ascii?Q?l9fOx3CVMJN9L5FJ7h/G0RnpuE21auvqHL/N7GoZKE+EnBAdn1o4ne/uZn7j?= =?us-ascii?Q?cI+T0lAoH4tzRm3LUrMrqKEWn2vtzAghyVEEVpC9hXAwY9q37oZWazM+eMWU?= =?us-ascii?Q?71V/CvOT8llUzQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR05MB3208; 6:coVBzydG475fp7wcvm6BXc0t8q+OgB+faaNcyVAMSZbllFATkgnmTwfwFCbNSDV18D23BLp4bUPkIeXI03jMzQzsyqFHXQLHczsC25+88RN8L/SEbjN07nn8U6Xmc2Vwi7NuqYWCRfjshpG0XHx7idSbe58o61Dg3k+mF7RvlxjP9iokG6nysYFYvJ2bYqtpnnK2r859gDvjqbNp3Q2oWIEd3tHgJSnNfMc7qK+4+ncr6FqYwoCdI5ughBZz5l7v2ZptUFA7oN6Dq6YmSb3+eHtjpiwJU7j02q2L7c/r0cenfYj2SMumWGYXOMMZujn6UfBXs+Fq/HYUKewutZrS1w==; 5:nETs8q2+rYLMS7FxOF76+Q+ywA3oWivA/3JKTZIQXACZkwJfu19QDe3BE17JgqW/PfjRYriUiS+sxgGqPttTsb8h/4e1K8Izsm6kzQhzWUPI1BP9pIrUm65k9T4CkkAF8r/wrYoFioZD1k+qPyHpjw==; 24:dyN+GE/GtyL5WSRpYEIFEbG8SwZuyVqXFtj0oHQgKDWFLSUtWCoYUQfRopc/9QFK7WfJWp6ZasPx0k1B8cQ2+IBF6vaoFEjoPlVlZgrsbKY=; 7:RtEpfuYVEM/Xv6MXf1KI76AaB0D/XQ4WmsSLC5Sy2LMTD5az0lis/Kk2qZ6FUhgwQkpo/AzpT/IlIWl0hCT3KLVyw2dkvA6uBZizJcn2+3OVySZhPx9J42Jim8bTUAkHpFZ1e4ZMJmdBkjb7xMYiw+BhI9JVFjiZRn/fkLVM4Vh12MZ0bwg3tS+4A6wWFyAGzr7g1f4fmx/56XIedSeGGLRDrmyS6SoBKmFeF2eAanI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2017 10:05:07.1419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6da4c82c-0d90-4c70-b9c8-08d516d8e081 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR05MB3208 Subject: [dpdk-dev] [PATCH 0/2] flow rules example 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: Thu, 19 Oct 2017 10:05:09 -0000 The rte flow is a relative new issue and is missing an example. This patch set, adds a simple example application for generating a basic ipv4 rule. Ori Kam (2): examples/flow_filtering: demo of simple rte flow doc: add flow_filtering example documentation doc/guides/sample_app_ug/flow_filtering.rst | 539 ++++++++++++++++++++++++++++ examples/flow_filtering/Makefile | 17 + examples/flow_filtering/flow_blocks.c | 150 ++++++++ examples/flow_filtering/main.c | 244 +++++++++++++ 4 files changed, 950 insertions(+) create mode 100644 doc/guides/sample_app_ug/flow_filtering.rst create mode 100644 examples/flow_filtering/Makefile create mode 100644 examples/flow_filtering/flow_blocks.c create mode 100644 examples/flow_filtering/main.c -- 1.8.3.1