From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8291841C89; Mon, 13 Feb 2023 14:38:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6586840A81; Mon, 13 Feb 2023 14:38:15 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2085.outbound.protection.outlook.com [40.107.243.85]) by mails.dpdk.org (Postfix) with ESMTP id 49909400D6 for ; Mon, 13 Feb 2023 14:38:14 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJPW7S3LaM/wvxs3QJhDf22bocveHx+P0tWNQxb1EwdR844WcIFBI2NlCR4CwiICy+YgclE6H7krZjvyiNCwO0m3FAGY+/WcsC3cTX2ME6TtC8htLyphu+btf1rCOPQ6TspgubU9sYWgoFQOw58HaAn2W7QPStKbShKfTjQjiz5CfmRN8XXQ5muAOWlegodfRxhU55A3aJnVTHUgptd2Sz0gGfjBkCWOM0RrNRwGbxW2xJ1Z9xgG9jOfW3W1ulk0Mesw6BPwqNcv6x6rSiuioohXXQRKeDAW/EinXATIz6zJo4ybNQuLHipCS2Cxfjl2JiFSgfiHVmMMH2jTHSJLKw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=083mAVkV4yNPk3LLpOZpdyIY/ThkQx0YapHLrlK7We4=; b=P6wumVzrwZMdqRVHJrh/PP08eRjYRxhpjdeZ6wm20N76+3U25c7DUxvq4Qx48bGI2i9vJPaV1h9bllxmmH7kTLqTjV1ORvRKpJxQH5Lj4h422BU3UvEUEvwnriAg/RDl7dTIMmc4NpLcemnF0ZQROavPejORsKjaEnm0XOlVMTjzHXV7w8k1ZFQ7tSIQIvq8spdkeFDKIaVatZHI6M8fuBr08/Okwl/B8SrNlCb2hiJjPiWBTzaXv55qrQyCSm/uDQnq8UoAywBypvRCsv7d8U24VG+XHWeJQU2DMeuVh25OiM5w6tTwm7i+6O62zZuPLaOTBUulPksrG9k22LnsOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=083mAVkV4yNPk3LLpOZpdyIY/ThkQx0YapHLrlK7We4=; b=iJ/xroJCXgo3/0UBgigSj0K+cBMzDacTnWZgUKiOup/PCwdDesZ4+gycNMg66X9Bk7ghFHv+Mbz0XUZP/+6Rw+dJXauZJoUP+I2bSy/OgZeCXRkT2LJHN4F0EAmVqMW0YMAiGDnyhpxyTzEfQxfyFC79M8xCc+x0UzDl4HriWin77DZPtxLaL+lsIVsYgKg8jDgHFCe16sO00S0MYbfpEqO8xxiz04ns6wwLHGUaTiUM+hpdgZOHBatQ3DRMAfoIh7h0iqBI9BujUEOwNXr20g1vdxXhbmPrdzDPYJCuIFeZtJMNNaJA+6nfc4V5eOCOkcviSaVxjn2mITH0cn4dfQ== Received: from DM6PR02CA0149.namprd02.prod.outlook.com (2603:10b6:5:332::16) by BN9PR12MB5307.namprd12.prod.outlook.com (2603:10b6:408:104::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Mon, 13 Feb 2023 13:38:12 +0000 Received: from DS1PEPF0000E649.namprd02.prod.outlook.com (2603:10b6:5:332:cafe::21) by DM6PR02CA0149.outlook.office365.com (2603:10b6:5:332::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24 via Frontend Transport; Mon, 13 Feb 2023 13:38:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS1PEPF0000E649.mail.protection.outlook.com (10.167.18.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.8 via Frontend Transport; Mon, 13 Feb 2023 13:38:12 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 13 Feb 2023 05:38:00 -0800 Received: from nvidia.com (10.126.231.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 13 Feb 2023 05:37:58 -0800 From: Viacheslav Ovsiienko To: CC: , , Subject: [PATCH v4 0/5] net/mlx5: sharing indirect actions between port Date: Mon, 13 Feb 2023 15:37:35 +0200 Message-ID: <20230213133740.27005-1-viacheslavo@nvidia.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20230206095229.23027-1-viacheslavo@nvidia.com> References: <20230206095229.23027-1-viacheslavo@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E649:EE_|BN9PR12MB5307:EE_ X-MS-Office365-Filtering-Correlation-Id: bd0c6f63-28a5-4e46-d7f2-08db0dc78d4b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eyFHpnzQqn97MQBMbdlimBO/H9KaZ2HzBTUAE8TASc8AMRgOtIgY/ZMGqFUNYb7zPYGCXythsBDbUwcNz7Sg0AveidkON7TdIl6rCfP9gyyuR7p8FFkg4ppUxMJbZEYx9zRM8L077EoiXMQ/wHPKjpHSpYpxqSTFEYKHQ+2tjzUIKsCVwDmfCzNASsCMBCZwr6QASXvYAntc/3nERn2PiUeTlBrR7pzhJaNwzqrLX2qNxFUC10HLSq6qlqFcvnVmNjELy5+SecuNCtX0H3Imrw1J4vdcJ7wg/xNui8w7Z2ikOCCSjCFiacmA7eXdmgrTEX76NO/eVJYWbDpTgDXcRqhRDm3ncYTfwwUMbHbXSXtcp6a5brQuiZuPrDSqaONKeRdIHJ2qasrBBZXuu0karkuDDnGY2655VqI48vxbep62RPCs8KUeIvhlxd+fB9l3unLL9mi+IKtCG4XY1LdAr8XnkioMzne1CLmApMaKnHec0uU/Zfa3XvXImp9UuOk5xkrSX5gnvNalLMNu90OJEsHMN7xtnqInSBr77BPMlzyWICOGdLtChUxB4gd+uhreasXLdJ0mNfqcFqy3HUmWQfacDWKa6f2pNmEQ9RtR4iLh4lJWddrFSdZkSHmBO3ETNnsSrpCQ8wn6V/L4J8dI48NBrivAJh/Uhu3rTPXQLuxmGdXUG1VSpr02F9vn/eOkqNhIt5utkK7wIPp9wRoTNKK/qC9DjWMLkk8i+x+HsoGvSeXPoak1H02BxTpqPJMK7QqqNqMMMirk5A9vx7sdH8gQWzknQlQlf24mpYc+NqIQ79xLwjB2BBlTe8MFLE6l X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(346002)(376002)(396003)(136003)(39860400002)(451199018)(40470700004)(36840700001)(46966006)(36756003)(2906002)(5660300002)(47076005)(83380400001)(426003)(55016003)(6286002)(26005)(186003)(40480700001)(16526019)(336012)(356005)(36860700001)(2616005)(82740400003)(7636003)(70586007)(6916009)(4326008)(8676002)(70206006)(54906003)(316002)(8936002)(41300700001)(6666004)(478600001)(107886003)(40460700003)(1076003)(86362001)(82310400005)(7696005)(966005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2023 13:38:12.2018 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd0c6f63-28a5-4e46-d7f2-08db0dc78d4b X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E649.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5307 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Adds shared indirect action support to mlx5 PMD. Erez Shitrit (2): net/mlx5/hws: free FT from RTC ID before set the new value net/mlx5/hws: fix disconnecting matcher Viacheslav Ovsiienko (3): common/mlx5: add cross port object sharing capability net/mlx5: add cross port shared mode for HW steering net/mlx5: support counters in cross port shared mode drivers/common/mlx5/mlx5_devx_cmds.c | 13 ++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/net/mlx5/hws/mlx5dr_matcher.c | 12 ++ drivers/net/mlx5/mlx5.c | 6 + drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_flow_hw.c | 90 ++++++++++++-- drivers/net/mlx5/mlx5_hws_cnt.c | 167 ++++++++++++++------------ drivers/net/mlx5/mlx5_hws_cnt.h | 109 +++++++++-------- 8 files changed, 266 insertions(+), 134 deletions(-) -- 2.18.1 --- RFC: https://inbox.dpdk.org/dev/20221228165433.18185-1-viacheslavo@nvidia.com/ v1: https://inbox.dpdk.org/dev/20230206095229.23027-1-viacheslavo@nvidia.com/ v2: https://inbox.dpdk.org/dev/20230207140206.29139-1-viacheslavo@nvidia.com/ minor comilation issues, rebase, typos v3: series split to ethdev/testpmd and mlx5 PMD patch to be smoothly applied over dpdk-next/main. The mlx5 PMD seris is coming. v4: the remaining part of original series split for mlx5 PMD