From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DFBA3A04EF; Tue, 2 Jun 2020 11:38:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4BB111023; Tue, 2 Jun 2020 11:38:41 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70049.outbound.protection.outlook.com [40.107.7.49]) by dpdk.org (Postfix) with ESMTP id 6CAE21BF53 for ; Tue, 2 Jun 2020 11:38:39 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RgYaJU8ZlqbZwg0BmyCqDfN03NPCWjxtzGmM3MyoqxsoWCNQHHLLsm1PKmwu3WwSykdv/HYy0vSd47EHYrDEGYANS9z3a1kyOJcke1j0HsZElUmbb4FLt4G0DMcF37qVbfSgMuu6ysXkCS/AiiCvObb+wMAcKfTs8deZG5aCYJghKPVVTRoQps2FcpKJZHGF0qyua70YIr3fdkK0S1B7WfLponw8NKVCAx2/oLcdOsKO6fOPuvaCkZNblEbgFxED/6vVQc9uqN6sFjvERY0arQ0ga/Rppe03Eb1Tn72EYXOpVO542lIkQrHobRTXDw4aHdlgldXVLXGB/fEW5CbaHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X1zq9hDSj6uDQdc3w9+jXgTW4sT35rpSy9SZV2XkxSI=; b=EmQrirAtYzS7j1s4D9XGZCwRQeieJwbPMKLTYUVDxcE4HKXcrsVGPrGXdmyzmtTWTa1c2ZCHKsjh9EGQTF+VJEqMF+ZyftapvzccRdbm1lYKbq4Vl1pqxOcXTTLbjJmLbp4l9jJgGEN0gSMe5nxcH4admDc06QcqYEF8sMpfAyP/5LbjKfy8M1JgYCV776EF5b67J+rL4CAT7CZc7JQfapON3dj7Xf18LxtlNo53A1YsTi8o2apZFFKPz5Qm4dNx1lzHwDgMknCvtbGF0r36ypcx6asV+RR1FW+WfjMqeJir7HJLvwpzAXA4/Dxdhal8N46bys0xAM3la5+oO2U7iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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=X1zq9hDSj6uDQdc3w9+jXgTW4sT35rpSy9SZV2XkxSI=; b=LEcAir82P/R6x4NXS0rNe2f4XlilqSGTFZp4D1lt6VHXNFfPepplrizQB/aS4FAyru9iaW9oyobaTWEH9bDE3oT+Ovm10Q7wOltVauAKojz7WVhrqKhTTy918XBz8DQfQnfg7o+tXZNbTIVRXEz51sw/TXNkjzfT6K55DYEpPLM= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=mellanox.com; Received: from AM0PR0502MB3874.eurprd05.prod.outlook.com (2603:10a6:208:1a::29) by AM0PR0502MB3650.eurprd05.prod.outlook.com (2603:10a6:208:1c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.22; Tue, 2 Jun 2020 09:38:37 +0000 Received: from AM0PR0502MB3874.eurprd05.prod.outlook.com ([fe80::2cea:8f0a:cb2f:2a85]) by AM0PR0502MB3874.eurprd05.prod.outlook.com ([fe80::2cea:8f0a:cb2f:2a85%6]) with mapi id 15.20.3045.022; Tue, 2 Jun 2020 09:38:37 +0000 From: Shiri Kuzin To: dev@dpdk.org Cc: matan@mellanox.com, rasland@mellanox.com, viacheslavo@mellanox.com Date: Tue, 2 Jun 2020 12:38:08 +0300 Message-Id: X-Mailer: git-send-email 1.8.3.1 Content-Type: text/plain X-ClientProxiedBy: AM0PR02CA0098.eurprd02.prod.outlook.com (2603:10a6:208:154::39) To AM0PR0502MB3874.eurprd05.prod.outlook.com (2603:10a6:208:1a::29) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (94.188.199.18) by AM0PR02CA0098.eurprd02.prod.outlook.com (2603:10a6:208:154::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.18 via Frontend Transport; Tue, 2 Jun 2020 09:38:36 +0000 X-Mailer: git-send-email 1.8.3.1 X-Originating-IP: [94.188.199.18] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4058c98c-0e35-4fb6-4789-08d806d8b9d5 X-MS-TrafficTypeDiagnostic: AM0PR0502MB3650: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 0422860ED4 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sgAUJHeq8+JSXeghlvVdPDr7V91QZqbC9oIPxJ3CIk2tSlWES++3GTk+I5zXCVY1Q7C6037/i+Yhs1sld5WRzGwlASD2lWdNRCocLQH0ing++Am1yykg8w/FetIh8taL8aOEq2dxJdnIurBw6tZYRxUZdx6cQqQ0F5VyrwltAuQ/rk71b31ibEOMEE1D4fzv9oDI1VCwL3wHV03SmmvthnA+rqq3yVZxE8hdONV0ftV0ii68pX+pVDIozEJIiDLw4ToFipNUbRJI4wfXS3txbHtCgjG62KLZ/YVSvNh14kocDji2qbUDJA8A79f/Dss9 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB3874.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(83380400001)(55016002)(66476007)(66946007)(66556008)(8676002)(956004)(2616005)(6916009)(4744005)(2906002)(26005)(186003)(16526019)(8886007)(316002)(86362001)(52116002)(36756003)(6666004)(4326008)(8936002)(107886003)(5660300002)(478600001)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: eS19v0DtoLwaitJDd1NGCEfeQx1jajGhQyYCeUEAEp+DOzuY+0mLj7k6b4tWB0znPw4bi7B1DGKG/MHK8f5UzDU3Jikt5wBOz7uTrpqn3z4W3RwdSn2szJhlk9OU/gf796/iMer+rGu/xcdKG7glGyvO5iJTASHEp3rDzRaqCj7yxc+bBJC6BqiQl+FE8ZvqHXdyaNKdg4jkKyGTSeMAxyMiGnl5PDn9b/BFW0jrbah8ePpzaLLcXb02LGaatp8c4pTFvMqdPx60FtdpdC6rJlAN5dGB+64rK8nEk80v48ypOSq+oBHEKLHxqP981NPJjoZ7E1FiH2D8x9bSMX4i/j6T6s6bu7IDClJEJPgbHwQ5GWvR9edJJVN+V2exU1BYce8ccaECpe9HkbElfm2cAdUzAgtXmySJOG5a2zepa8q+gZSBrL4+ufflbvDpvmYvk30kJ9gfqzogr3w9LDrmsxzplbsQmr0DiUiU4AwSIqY= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4058c98c-0e35-4fb6-4789-08d806d8b9d5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2020 09:38:37.5648 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fCN8/uaYOfuKjOpQciKiiSM9rg5rjtW7Xeg/aPAsULTJxnPSfX8l5CE4eVYbVhyhqS4OFezqfbQNhPHwpIascw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3650 Subject: [dpdk-dev] [RFC 0/3] mlx5: LACP handling for bonded devices 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When the driver has a bond configured LACP traffic should be steered to kernel to manage the bond using a new rdma-core API. This is done by creating a new internal action and adding a new devarg that will allow the user to manage the bond and get lacp traffic if they wish. Shiri Kuzin (3): common/mlx5: add default miss action net/mlx5: add default miss action to flow engine net/mlx5: add new devarg dv_lacp_by_user drivers/common/mlx5/Makefile | 5 +++ drivers/common/mlx5/meson.build | 2 + drivers/common/mlx5/mlx5_glue.c | 13 ++++++ drivers/common/mlx5/mlx5_glue.h | 1 + drivers/net/mlx5/mlx5.c | 6 +++ drivers/net/mlx5/mlx5.h | 7 ++++ drivers/net/mlx5/mlx5_flow.c | 72 ++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_flow.h | 10 ++++- drivers/net/mlx5/mlx5_flow_dv.c | 91 ++++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_trigger.c | 9 ++++ 10 files changed, 213 insertions(+), 3 deletions(-) -- 1.8.3.1