From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40050.outbound.protection.outlook.com [40.107.4.50]) by dpdk.org (Postfix) with ESMTP id 7EE3C1B488 for ; Thu, 12 Jul 2018 03:02:23 +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:X-MS-Exchange-SenderADCheck; bh=GqKBetjtZSJzFOovT4qv/LTBsXBZQPtC8DtKhPLRdB8=; b=l+rEKkHXrhSc7vrsMCm/0gY2au93C0aIS5a5qdRCN+Mc10m8y1rNmec6Sxv3R4pd1V2ZLCRu4YvoNve6ja2iLKolkSJ5f2StAtOKRLzD9IOOswF9soSqsiTAS6A3+IZN/ISgtOLhAdUq2wLe8iOKUcEmLuqFTr+PCAcbUtT0cAU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from yongseok-MBP.local (209.116.155.178) by HE1PR0501MB2042.eurprd05.prod.outlook.com (2603:10a6:3:35::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Thu, 12 Jul 2018 01:02:20 +0000 Date: Wed, 11 Jul 2018 18:02:07 -0700 From: Yongseok Koh To: Adrien Mazarguil Cc: Shahaf Shuler , Nelio Laranjeiro , dev@dpdk.org Message-ID: <20180712010206.GF69686@yongseok-MBP.local> References: <20180627173355.4718-1-adrien.mazarguil@6wind.com> <20180627173355.4718-5-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627173355.4718-5-adrien.mazarguil@6wind.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: BN6PR11CA0023.namprd11.prod.outlook.com (2603:10b6:405:2::33) To HE1PR0501MB2042.eurprd05.prod.outlook.com (2603:10a6:3:35::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6cb6ddca-9e48-44f5-8211-08d5e7931f6a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0501MB2042; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 3:tk0vlCShnEt19Vet/Xm4p4qYKlQk1SrYGRS1GNzYABWltEev+cTcnZoE65nywqhUC/5manFAHLtFNXxqqq7Lbar6jhEkmzhmY3sc6Siqw1zH+rq9O26iT59sI3W2eAaCXHBxqk0bWBueZLDyhDjl/eB5nCJqMgZAFjsUlWNo+90zt5ewSaoy6BzhfHAV9/gDxg3FwDcKizbyIgewWq+/Od6PBVL/IDSMgrrf2haDswHSCIrkryoNjvyfjICpZbos; 25:d6sP7ZQX3zgan5LnsHATtWiPGGxmjeZ4H/ASco9Z2eY8i+XSw93Vio4LjHknSC4IOAC4kU64Dlt+DgFFm4hM80lVMhLOVN25o8Tmq7JLaKgQA7Dkmmjj/zFhBtBrpViu++Xe74FZnEPYIOZsimYz2I+gknnp015SmfSfpcQCtzeNAsC4aNe0WJ+2oqIMhEiVwy+YSd3+OrF8aeNXan8qjBg8uCNETYveZGG/T1rPH5ikCT3fBt4PC39BznflGgHx5vc24s4I75MOn4NPW77LWtQI90HBshUxalMwhTs8DKJxs9KknxQeZLqm3CqQyA0VBQEvlepC2LtBAJiX2fnvEg==; 31:l+yG4rGoni86fHTArNwMIFpF69ZxAOomVouPSokkWzPu6zd4c0SI+sNl4W6Pw7lmu5sOQ9+pPAyb3Ejz0m2wL5Hp9IpDOxu/8bcRAfZJAxlvizCPj+UUi/Xaph1uysRhEnXbjbzzYivSdJqiO+gbQyYj/dbvoEcMEjU5ID2KZjhrTf7NYldNnJXNJBylNv7iyqltYsm2BLfvG/YD0c9BiMgKFkyADIQsKTaDJK+299s= X-MS-TrafficTypeDiagnostic: HE1PR0501MB2042: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 20:1jjlAbkCn6GJup9g9AFOAHrPNZKDnIL3A9ISKzN59zoOM1BCUWi3R1r0wuZOvd5wQ5n/Vd9SH3v3OCJKHZT4LCxqeAK5/UJsZgQpyPwcltfzzc/Y56i79heAX5eGvyPVOzRYqW/WfV74ELAMDTf+nnb8oS9frQ1Y9udcuceCPDswjMKgiD+hz22XWFnphun/nXAm3mbzqMToyc80YvDQ3ziVlFGJgUkKoa6+fdr5seThgNgeenkON0QaVog5aef6RA5bRpeHhXt5DNzZuEI2fEKVEdF0go654qSG4bUbNWmNHiwhTC/kjtGZf8WFWGOwsnav6SedsQuantD60zElFsJXfEK0zrZ1q2KHz/J67zPa8+K+tyBTRRkfLqIuUEYHdDPq6XJBfLd1KuN1MJHLmpon7tzjAAGZZSWmr/2eaNo9n2IZZP+CLLFaEMnEoDBRhCgDBwRxeC4VCOh3+RJqHbs2lJkBSKIZQCLK9/p9PrPMxZTwftjC/M+PRZfwgbH/; 4:74NKlgEpCCayIWjBzFwQs42RymvjTFxZ7RWdpSUlWmdoituioKWqxhXjCebvcwGOBJkThi6OK88kVrvj6fUzJmAJsD6gw4r5X52O0OBTKmEZpuEKL3mFu1vyOM5nzIH5YUCa//RrW/d7jVn5AsNGWJA+UjE2GF0eTVUj+d5Ahl/G5a07U3XtlkJ2chqXVkiF5dRWfRiIuBPLzyK0koseU64GBN9OV6Tr+8c645XeU2LubHS4B60jWpCZzf7xQ/7/mlZipqLc4nJfKPV5nkmBnw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:HE1PR0501MB2042; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2042; X-Forefront-PRVS: 0731AA2DE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(346002)(396003)(366004)(39860400002)(376002)(199004)(189003)(33896004)(305945005)(476003)(956004)(11346002)(16586007)(6246003)(6666003)(81156014)(8936002)(50466002)(8676002)(81166006)(53936002)(58126008)(5660300001)(66066001)(6916009)(54906003)(486006)(47776003)(4326008)(7736002)(316002)(25786009)(229853002)(55016002)(446003)(26005)(478600001)(6116002)(1076002)(23726003)(7696005)(98436002)(52116002)(6506007)(86362001)(16526019)(2906002)(186003)(105586002)(9686003)(106356001)(386003)(68736007)(97736004)(3846002)(33656002)(76176011)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2042; H:yongseok-MBP.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2042; 23:H5K1GuUKBzLyz+kecyB/HkZB0EnhgfsU4B0G5SO?= =?us-ascii?Q?w5IvLiWAN+MaMvawadGaTITd0COabPY58bIcPnepdkjDL5ouu4zXn0XgE7DR?= =?us-ascii?Q?qbggyopJKjrmaXb5qMYttjHi1wHTYklByX0QiIOjljduErW5r0UF+i9sE15n?= =?us-ascii?Q?MaqFcK/gA1wIAhk4TXigaZP8gfMPCQzM+LhX5SgnWU83rwEdxK4pWC3TwlGf?= =?us-ascii?Q?uqfzzmQxLnXECqNRf8hQgT9E7RFRoitYssGgdCZhKCMjFOko/hm6kGKUeU6P?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GJQN0EwLS+K6cARQyHCGEx?= =?us-ascii?Q?qun3xnvDUg4HF2NivdzTgQG7a3gQQqQNI32rKtBMIJVvrCPO8ubRBll4AhFv?= =?us-ascii?Q?J2sQd8Psp49Y0DC2BujVY4HCc/8IsKF6KaufPhKF3fkzJNlvBhO6oL3jhb/U?= =?us-ascii?Q?u0A=3D=3D?= X-Microsoft-Antispam-Message-Info: g/HK6794+UAEblWRw5Y8KPFw+Lc8nWqr2sLKENap/bDjnog0oPLnHH7YSyXpqJdhHL548dj4mNSzLa5sBdUfxLswrNr6+fU7e9FQDQe4eqP0c4S2XB82WAGh7+LOTml6hHZpN7MS0iRtu2IBkY3FLhZpmOKsxzEf5gYpZX/9KJDTh0PPkcZVF0c7iwTfucrEeE/QSMazuxzrMPeIbT861ae5C+mZLBNuBgt4XpUHoldxwleI5VbAEih75SO9qKTPTzR6oKhoQ6o0NtX5tug2SnnlBDwsdlK+FenApkhNKWX57N7lGSeEeFusleta+Vm4EFEsm1xcGId5T0PtuARuzZE0kTbYA1503CyWyOheukg= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 6:sciM2I/zcXImnyzfNqb5GBoIaoWYxdUENc5doPpe22pQTTBcw4foYqR5igqNy0/SuLQhxIske7neTfWKDiuLuVRwuHuKZNi+EJf8uv5nvshUur862GWli1R/Y8tNwHiX1l3zW+evbaEyMUfe8bSCvCwekt3LMkjx3RH2QsRfbVWMrvtjh9cZhW9HatDdG5/xdpKsIifhckvjllmz32zLZSS06WaCg2IQYdTfqQ47o7ftmcUYAEeDKIX+wgqqUghfoaomoazgvTpCZYXi12nJ2x/xLrPpcKm95nO1HZpqGoTRRPCWsAboJIAsJOjOxIluvgDo8bZIkTRIyq0E3hPqCLvv9o6uZeG8krwIkWjA/2a8s4zfkPc1Kxco5SMbsnS1AJPLiRaBCx7K5xk0V8Sup+kaMRqtU3tdobGQaEjMA5GR7StKIIo5lGXrDii/rJGEJ5NzGCIjmxwjVpctbl+CfA==; 5:edT0RJt3PlMc8mu5OxboEaCpTXj1T8ckzXt9HAF1ri23kkFXPll3mHJ4I+9Iucy0sbewnde/F3eKvChrgiA/4hN0j0fwhCbyzFkdrXuB9N8/l6Hbo+E1Sk9E/qR/8gvBrNrOjtZgdLNiKtNEkLSpMHZf8TVs4U+APTWpCLh/58Q=; 24:89BEdGVl1dM3LRXICZBCnnmtH0UZ7bJkIjFVDRby7sDouq8+IHfKoStX66mTwNftPR1ZL8PcqM4oIt8HmyKggqeyIg49CIQaiBOBHDp1F2Y= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2042; 7:3VLxRTOXCsEt3tXqyTV4tqxvRKX+wRTWBr16OO44t5AnhTg6vURxF7qzcLLXCdzsfJa++2D+MhHmxG+Ua1CEFIB3moLBafgfWjnPmsWWTt4PErElhAZ0GSVf2xQiPjKuGf2+ij5rChPzugxYOYsFAn4A1aYI87s81KLlY623CJ/A6caeMws9GSSd/79bnhQl/AN87dw49iZzI9I7VaMg/CxG9BapcS2uQIJ7QgPjvGat0v6bVfbA3sN9SXSj/w5+ X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2018 01:02:20.2844 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6cb6ddca-9e48-44f5-8211-08d5e7931f6a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2042 Subject: Re: [dpdk-dev] [PATCH 4/6] net/mlx5: add L2-L4 pattern items to switch flow rules 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, 12 Jul 2018 01:02:23 -0000 On Wed, Jun 27, 2018 at 08:08:16PM +0200, Adrien Mazarguil wrote: > This enables flow rules to explicitly match supported combinations of > Ethernet, IPv4, IPv6, TCP and UDP headers at the switch level. > > Testpmd example: > > - Dropping TCPv4 traffic with a specific destination on port ID 2: > > flow create 2 ingress transfer pattern eth / ipv4 / tcp dst is 42 / end > actions drop / end > > Signed-off-by: Adrien Mazarguil > --- Acked-by: Yongseok Koh Thanks