From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0063.outbound.protection.outlook.com [104.47.2.63]) by dpdk.org (Postfix) with ESMTP id 244A21B4D0 for ; Thu, 12 Jul 2018 03:13:34 +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=1B5gTNFDgbic3alb+Zgo3y4pbKtFV0Ty6IdWd1D2jPw=; b=IMHQrwttj30wdQ73chcPi+SzLs1Y22D9pNfMgrwzDZ0v3NTXq0vTmO1CvbSCj3JFt8d0u0Q017wsCkh/rveJrESjxWTTyE+QbgI4ATwCDlyiU0hHK80OkVUSvrozS4bAuFBlS9cagcRJcSyySzUR8KfPAnoyLy31vMHQ4xo4Y6k= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from yongseok-MBP.local (209.116.155.178) by HE1PR0501MB2043.eurprd05.prod.outlook.com (2603:10a6:3:35::21) 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:13:29 +0000 Date: Wed, 11 Jul 2018 18:13:16 -0700 From: Yongseok Koh To: Adrien Mazarguil Cc: Shahaf Shuler , Nelio Laranjeiro , dev@dpdk.org Message-ID: <20180712011315.GH69686@yongseok-MBP.local> References: <20180627173355.4718-1-adrien.mazarguil@6wind.com> <20180627173355.4718-7-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627173355.4718-7-adrien.mazarguil@6wind.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: BN6PR11CA0012.namprd11.prod.outlook.com (2603:10b6:405:2::22) To HE1PR0501MB2043.eurprd05.prod.outlook.com (2603:10a6:3:35::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2184bc78-1cc2-4f3d-a298-08d5e794ae6f 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:HE1PR0501MB2043; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2043; 3:Bshd46KwtDLxa72h3/BJxWYFOUHbYPHkIoQ4Vsx63gbFKrlCRAOaR9pMUYmSzLKZXVq3oku7t/VEIIFBbb7YhPJ/s8aSNlAah8PY7q4c+nxZYHMfSmLa7KR1k4E5kn14eTLJ96JPUdR45pS2CK/9GluhrYaThC06ycQy92dwtdZlIcyyX3QuigiIBSB0GKI+FA5kXrzjYQF8caySbgdZEfPJ2TQ6/WT4+qNh39pTcJZJo098CK5uVe08NrFvT8Bg; 25:Qrr26KQOOynxAQ4LRh4wyI9/RHfcUPPydhcj9juTIs85Cm6sZlDJRnBb2g1MuC5k2xRCT72FzwTnBu550xXzPOrgB3GDvaP9t4w+O3KdHdjPXE9G1rtY9AABUnH0bm3uMWdLac2LpnkOAM1LXU+xx5USy0iNtMt1HYV8a6MymLsb19Y2gPpwcUlk1EZKImJXmf1xg5bzR2iBVypDF5NovYMxtN99/M2I7SyLIf4HSFzNRK3z+zEnYWCzzqFGNdbGy1zEiKk9IPaI8jTf5XBtEVFua/9pcqgXxUv1sT5QFr5QuFNlheqivWAWpnUZkCx/I6D8X9USzw7DJqmIIPgsJg==; 31:oQtgxr+5eryUEeBiFA6j3hkjmDJICwHw/5hDwazcgTQ449AbqNPsUZdvGb51GP2rQKnHWtKzJ7F9epazyeFohYToxnBfYpu4emHyr9rHwdt0uokK8NgOffV3Ay8FG01KWDSMTgtidJVetJetxsZskgyg/QVoFFq8xbSDWWVQWXMdD5bd9GmUodFkDjK1S//qehqRmHPPNvE1OGqphqUZ2M4ht/FdRysAqHaZDU4MAtM= X-MS-TrafficTypeDiagnostic: HE1PR0501MB2043: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2043; 20:ce3RDnPM7bP85ds0DJWGQWVj1wyKDCAf2Sxf9Ckr8ITPF9rk4iC3rl9xoIxtiIvTgxpmtMMOkALY81kALRX2UZrjcu2yiqre+u/C+N8KBGhGyqNjrecsjct+NJy4cXIWhpd7fYpdOOKkAjOa72UrmNJc1fH8iEmi8WhrcqbDTV12qr8CwLQNCQ9wVet1rq/JRfktqrAP2Xfav0MQOcqWAAENpeteF77N+N/fY80qPmtN2p3Oq9s0ETYqlAnVT9MNYAapI3IyLdRDrkUeMCFHPbRpYfgkknDPnEsXkWxFs1LQya6oe7moXLS7OXOmUUJK8rBOgj5qQYmBdoA0/lQrFvDgP3cyXfAo8X5lQbR7yjRnBEicP9NrM7uxqwhjdE2kjU4PrU5q1XxqhWYhwETlVffX1/n+UdMalbJfSacCvIST+BlWyKxpbglD3QsO0aklOm5CoWEOIHHLyOvHrQ18VHF6ct0XYpCPGmvzpn8yNkNlpwtJ0+8viw3z7JAreMAr; 4:hICpWDeljr+B8YdZytcZQWnRE0ua3XPBnmHpSZJHUk0NuBMI2ghC3Q/HxMBEDkPwAzcHIo8bGdvb8dc7U1AD+hqPdFXk+H6keBh82h4MI9q4BPytMqHBcgOkFfIu0rs6U35zBC04hwbh9fRdvFcw4KcYrTPEqVDZJ+ll3jeEW+D/tkHdizEpZPMRGFJSWrhnkLd9p0hkvtTrYTkDRRxITXriIvlujVi8R7Db/AjvYGEqYj3PgKdRNc+Gnw992B0tP/dMMWhDrG04OgGuUvuUGQJrD21r/OKD0evuipWoAfHvgv6F9bzF3bfQQpcQ7kuA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:HE1PR0501MB2043; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2043; X-Forefront-PRVS: 0731AA2DE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(136003)(366004)(39850400004)(376002)(396003)(189003)(199004)(7736002)(316002)(6246003)(50466002)(58126008)(6666003)(98436002)(229853002)(6506007)(11346002)(8936002)(6116002)(16586007)(53936002)(52116002)(33896004)(386003)(81156014)(33656002)(186003)(305945005)(16526019)(446003)(8676002)(5660300001)(3846002)(4326008)(76176011)(9686003)(81166006)(7696005)(105586002)(66066001)(2906002)(55016002)(106356001)(486006)(25786009)(47776003)(68736007)(23726003)(476003)(54906003)(97736004)(86362001)(26005)(478600001)(956004)(6916009)(1076002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2043; H:yongseok-MBP.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2043; 23:wd++eKntX0vrhoP7CKx5bv1D/g5S/zHOC66SX3l?= =?us-ascii?Q?iRYBfTL9Lw550Uib1zhhm8ig/vCzeUBZojONs5SehNsBvreF3n79yK3CE9X1?= =?us-ascii?Q?H4hwuW03v+AZ3C3468Ojwakd9bdY4A9FLvpqs7TEhdvzza4OqE2m9B2WZXl5?= =?us-ascii?Q?14ldG2sphef3mRLCUazebIfIFP/W6p0QJmHA0vXwq7CuJMAHDrnjc3q2Zqp/?= =?us-ascii?Q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ihZijHkhrRrVOKxbLDkxJTc5joH0wbi1B7IZ3WImOk4la5BTRi/zRjBWXFylD9lTtQ4MXnKPcZzWqxU6v0EHw==; 5:gk7S0Y6sNjLUZ4CUhY8kRq9t6w5oSnJfbXY4faJvYM+bSC/LJaZEKH0OX4I+TuwRbFb0oZd22xvy4DTcBF/WuiQRay48/SjNKNAIY6uvj+cHocLnb4NlUyEUBkDQ1HgAiaGfw2CV3jHZKg5/glgHA5yGPpCuJ7cAB8201udTFH4=; 24:PIwsIBz0KwdPryOeaYFukwXIq0gWVxzPK1ZbOPsTnomhiZIRFsCAtQGz6qgBGJ6XMfNTZ9CinDVXYKvIStnxi7I9C3p3miQqU+KS4TvwOT8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2043; 7:8ASZLmoLC61Qf6olcW9G31nSjmKqhzUyIlWY+8QJ55+e43dm2fmucRAOic+Of8SAnv1GAW4eqAcwBv5McJASL/0Eh4FQGNCmwaT1k64dt+AHQHMFs+BezyUTanuZ5Elle0Tu7JrEbyXLBklLJYuYt+YoNslFbJ0DCa1pWb0+c55n6Mi+0R91isUuEtIGK1jV/o/t5QR/EJrE/CJHUJ0J4fEPpEUP/q3L2Ydai8o5sHmEYJWvLEzSS7BUUaboj/rN X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2018 01:13:29.7389 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2184bc78-1cc2-4f3d-a298-08d5e794ae6f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2043 Subject: Re: [dpdk-dev] [PATCH 6/6] net/mlx5: add port ID pattern item 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:13:34 -0000 On Wed, Jun 27, 2018 at 08:08:20PM +0200, Adrien Mazarguil wrote: > This enables flow rules to match traffic coming from a different DPDK port > ID associated with the device (PORT_ID pattern item), mainly for the > convenience of applications that want to deal with a single port ID for all > flow rules associated with some physical device. > > Testpmd example: > > - Creating a flow rule on port ID 1 to consume all traffic from port ID 0 > and direct it to port ID 2: > > flow create 1 ingress transfer pattern port_id id is 0 / end actions > port_id id 2 / end > > Signed-off-by: Adrien Mazarguil > --- Acked-by: Yongseok Koh Thanks