From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80045.outbound.protection.outlook.com [40.107.8.45]) by dpdk.org (Postfix) with ESMTP id C79631B1F8 for ; Thu, 12 Jul 2018 03:00:25 +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=WJIyxrLUqUuTgVLFSdRwV1Fs/TOq8qOnLqiBNhlhRzY=; b=e0WOLFO6AYKIdZAUWUnwaec4mZLSJFFqF8eLdeABOAz4yMdjQX1Pgv8Mwtc8/HenDt+TqIfadIBS61BMTK0TrEVaes1o7kB7IQuaId1WpxFXurBM9b82JpEu676MqFdLF3ELLaXl0D4nz81JRtBnD1LU++nEqZFOSQ/7WmGVx2E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from yongseok-MBP.local (209.116.155.178) by VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.18; Thu, 12 Jul 2018 01:00:23 +0000 Date: Wed, 11 Jul 2018 18:00:10 -0700 From: Yongseok Koh To: Adrien Mazarguil Cc: Shahaf Shuler , Nelio Laranjeiro , dev@dpdk.org Message-ID: <20180712010010.GE69686@yongseok-MBP.local> References: <20180627173355.4718-1-adrien.mazarguil@6wind.com> <20180627173355.4718-4-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627173355.4718-4-adrien.mazarguil@6wind.com> User-Agent: Mutt/1.9.3 (2018-01-21) X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: BYAPR03CA0006.namprd03.prod.outlook.com (2603:10b6:a02:a8::19) To VI1PR0501MB2045.eurprd05.prod.outlook.com (2603:10a6:800:36::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9088f48f-5129-4877-bb04-08d5e792d9c8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600053)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2045; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 3:cPoaO4sl6I/pjFGFuxRqwrsVf6zZflIqWIF7MWv8/DnahEGYJbNp4Nb/1Wyj6/F3/pRihLvwv04GipGDPVbpil+jLnHEbocUW2QI7ufTTjrm6RGMvxPRdZxWIPB3/49amQyOTH+34nJ9Y0PonO+qgVO3FOPdRZ2UIrx+/W5NMYRfbSbyQa0no7CMARAAI4eTP0ocdXtGrWhE312Kvc7ukktOmMRHKf4qf9Sfw2/FMmpU4bQPFRYVJg9IaGFpyai9; 25:qeto4UJbQhY5RKB0hU0id9uoAp/dwibDofqQo0BcTkhs/cDkRd1yA8F1zCZ1Mayd7Dq4ezgsipV8Sa4PFWYy7ZManyl7LD7mN7SDpwxnoI54c8NJGSQ6KppCQRulQq9+kQMRgJVZ4k6XOhiFtkHGhYv9tghzqNdHzD61BaV0V61GjJwBhtZm77KKPtAznOHihrvTEkChCPfEw4s1FrRyoXZcioPQliiMaSVmB92qka2tBlbWU6+sqLd1rmcyoYJRCSKWzl+ReryHjMSpimYrSxoGxmvYliT0cBQG3GKXsDN5tT9vaBJ9yVVhY3/hrtl65X5Ju0rmbZiSR7cGhIRt5g==; 31:1n8Q/p25eZ4pojP8P0BB6TxZWIC67bzHjasEVQWLuepzywA2XGVe9f79rlTTOeQ01C1AvbD+5e+YB1qs5AfAvIASZWsl4HGWSG9XbHmkNW3S+Njea7YMbbuGnNRmlZJMcUlL20cIKXBJhzAk/OeQnwx3YqFwtmHwgzb4bhe7VOqY6LyEU6iHmJYQSk4JBIfDpCH2ZMLFHEUXDOVTMviZVEpscE+YNTjGh3U0a/uu4ho= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2045: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 20:D6QY1s5hZzS3glPxem2D6plDAKw2fot26jwZSJqK+CRF/lh1/c3NYnW/fdHbSgeuBIDlayAzePNTDEUYyznXweBr1LnkA4bguwKGc5UFwPtZk5FzxieJhoSDkQI9eGm3Zf4Oq3oL1p9KwyyaxszGME52J8c6MlhmKTFYy/9utgqzVzNNKIiGIUn+TIHHuXSJXXvh+9Iu6mgcN7ZmanXbVzRkZXUIesWH7v3bCkagI0Iq3xwr65giD1Vmb1jmysJysdt9EKjYxQoTe/NQfp7EGaI4wx4GT9kxCxohhtKcT7hYVBPQOB0N9JrglhWUg6mmotJKFBKhlQjpXs0iIEkSJZQpO3JzaJ0b3rCmdqcYUHr7cq+QxcuFOnA1yMvKMTcBHpKrBZ34W8loYdcw1PYB6N5pAQj5OFdaw8/VNq19CVwpoW3q42T5KCvIBprPL9KrkPHXGmY7kLtqbGCPHBKrzJxs4GltXBaU2vZSWtujMvSwDT14LeQMNjeWxQPy4jiv; 4:SL0C9LR3Jo6xvo1NKbwS3jugNK1iCB4gvVPoW83WsM443jJu9H32oFBYejXR0i2LdpWUhOZJ3LApM12o0QREukvIsiET2+GFv8Gs3QXJlaqnBTjLclrVs0dI/pfbguuMU1rcGKbDGYhtdAD0ZyLs5B22N03UhDUMFeNo+NNuGOn4afiDsc2mqASryXw1NnkePXvZXsSxixzxsrC4lmPYAd16whRbDuTRGP8WoN57Jp0gHi8qHJFkiWpiIXJEmt95yGCk5/73Z1N4ds3qqqnTrg== 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)(93006095)(93001095)(10201501046)(3002001)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR0501MB2045; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2045; X-Forefront-PRVS: 0731AA2DE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(136003)(346002)(376002)(366004)(39860400002)(199004)(189003)(956004)(81166006)(7696005)(316002)(53936002)(478600001)(58126008)(476003)(81156014)(16586007)(55016002)(446003)(33656002)(5660300001)(6246003)(52116002)(11346002)(66066001)(76176011)(86362001)(186003)(105586002)(106356001)(6916009)(2906002)(6666003)(26005)(50466002)(8676002)(54906003)(16526019)(6506007)(9686003)(98436002)(33896004)(6116002)(3846002)(23726003)(8936002)(229853002)(1076002)(305945005)(386003)(7736002)(97736004)(68736007)(47776003)(25786009)(4326008)(486006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2045; 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; VI1PR0501MB2045; 23:9QrOR0yv073Hy+q82eg2/z9ULmjn0gwk2hCbxQm?= =?us-ascii?Q?iZdqPpbZreFr7PL06XiMw/b8sSnEucPNs2AnrrlV4lNORnorQaw/NwAnjAqQ?= =?us-ascii?Q?qoCGSupyOUXLnRzRc2yn6rm/YvmYvgimytIxAusDOHfcXaiK0fl4rBAOM1Cu?= =?us-ascii?Q?hAOgCtopmGYOJt9q5cuqOW+t7imdbBe+XvwpxZ/JM7k/QR81Aukw3cG7nQEo?= =?us-ascii?Q?+vxsdSC7UWRWODUhHFJwfyJ0USaOTR0sLS3R8gS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2gNIeeatCuCtMAbwGtnkSEwknF3xPRqChSJqFE/tg==; 5:Udny3xL8HtztkuLvw5NRedD7sFTR5IasnaAbsxtrvPcqpM3+nJuyb1OdGG+0TDcnFyspUeCkQQ+uxAB1AD4dsq2ajlatLuY4Ae223joq8FucUf9Yzt4uEpZFh+1GO0oQPAUVRRwCnD41EtNZxKUvSFV2Q0ZLitM6jt68x32/3nQ=; 24:IwcZdBvdyhvHAXxx5r+UFfr9ADWzVdkEZlLFxlDYK7Nv2Ae7kaI74toDObfsInMwwjk90Q96e74qVCanLP3xK/PY8y3kHWhEGnwvzUtQ/AU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2045; 7:mBmLa7MUUJCXAYa77QSIr10jcpaWAtV/5fpEBMlCtOH1cigdJfBDbFSbvWDN392Rh20TmsekDR96d+Wv0jt+MLt62uGc4Wlp1gJdoZUOEcnbSS2zP3pDEYFA+8vNdwEmoKjTdJRey1ajUYQ/vatV4A68H/2K6vrA/MfBZ+V4qb6taJVRcQ+bwokaVlPnAc9nSxRMlWTPa50Owpj6wk1xzAox4a9GyuZ5Yh+XzeLUivl/XjMT7kYmjewhkkmeLZg6 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2018 01:00:23.7987 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9088f48f-5129-4877-bb04-08d5e792d9c8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2045 Subject: Re: [dpdk-dev] [PATCH 3/6] net/mlx5: add fate actions 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:00:29 -0000 On Wed, Jun 27, 2018 at 08:08:14PM +0200, Adrien Mazarguil wrote: > This patch enables creation of rte_flow rules that direct matching traffic > to a different port (e.g. another VF representor) or drop it directly at > the switch level (PORT_ID and DROP actions). > > Testpmd examples: > > - Directing all traffic to port ID 0: > > flow create 1 ingress transfer pattern end actions port_id id 0 / end > > - Dropping all traffic normally received by port ID 1: > > flow create 1 ingress transfer pattern end actions drop / end > > Note the presence of the transfer attribute, which requests them to be > applied at the switch level. All traffic is matched due to empty pattern. > > Signed-off-by: Adrien Mazarguil > --- Acked-by: Yongseok Koh Thanks