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 F3AFEA0C43; Tue, 19 Oct 2021 12:35:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCBBA40E2D; Tue, 19 Oct 2021 12:35:31 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2055.outbound.protection.outlook.com [40.107.96.55]) by mails.dpdk.org (Postfix) with ESMTP id 3147540683 for ; Tue, 19 Oct 2021 12:35:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DhZ+8mue/fy1wqmN4L732S+88EtuAs0b33SWzVi+tJnTt51puvoCR+Fl7BOLSAdSyW6Wtv3v62PY5X0d2cmC5GMwO3u4Ob0JNxyS/x+MKBLE40JgLzubmYaO1Ofj/F1p5bLRj7U6apEGeWPVY7iB2FilzB7ib2PhNUYP+B6c0ws/9vTAZGO5j7zHcmRKIvI2ymgen0ibCUAvhhVKDLW2Giwry3SYMpktO3TrQPTQ5m07DOxZ2UF+vikp19q3Shs6PH4sFBmAInNazNs3Rr8xdDmmncQgf4fbNPr++uTpwFud3BA5g1kf77QbutR1qeDzlb35/GPDP3QRS65rL1cW3w== 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=vDHap3aEZSBAw3GFnqHHfXCVycGSpgBmt6KaaIEfs8o=; b=U1v5GHaPw6eSYgcU7tIUEbpAVRl3MeBAUunN2xgwfWixDz3qnT+PnCf/UVW9f4j6023NXlCg7DGxFY20QLQ5cpUuQnDU2KLTPKZgwblKjVdfEcBFq42O/sw7KxlyKvA9jiX2jjiHGGIdk7GyT92nUVgAogbbNovnZAjhnLG23TSsUML84D1zcnZ+kBIAdNrf6craHf/vQtlNif3ub/0HC2qQp05xfeN7lZeZ4sGMr+B8l13QWnjioeGNZzQZqmyte83KV27KbCrcv0CU0q7cN0CXcv4YonL5JXZThzDbmVT0cb7kxZVQPo4LeYOMZ9TtR/OuDJCEypVxboOmLwRS/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=vDHap3aEZSBAw3GFnqHHfXCVycGSpgBmt6KaaIEfs8o=; b=RKIfhx7fs/BCriVk9m2ES5rP8m1/8Do65MpT/gJwP9f4LQraSqR95obpK5h1clK9YyJK8JqvAE/XD2w07OAg44Cj7kd4lcz/bhpfyH7crdJDSn7owBgNwCa29RLD9YivZYglbdSPNzsBBGiX8DYqKAR3QI1h/rPp09sktqopgYz+q34n5n21LdPY9eMuQJE39fusqguKxh3omZPXZoSmBPVevpk1/iGt7jHBbRe7K/fCbqBUAx54+iL4ZKBlYd+F260AXwnTYZA3SCju0AYTDHMut146quDODz7v84hw8KRurC2MUyB0QCPF+bmOGGncAcbGjBGvu1XuQkrE3maTSg== Received: from DM6PR02CA0157.namprd02.prod.outlook.com (2603:10b6:5:332::24) by CY4PR12MB1608.namprd12.prod.outlook.com (2603:10b6:910:d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Tue, 19 Oct 2021 10:35:29 +0000 Received: from DM6NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:5:332:cafe::b8) by DM6PR02CA0157.outlook.office365.com (2603:10b6:5:332::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18 via Frontend Transport; Tue, 19 Oct 2021 10:35:29 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT053.mail.protection.outlook.com (10.13.173.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4608.15 via Frontend Transport; Tue, 19 Oct 2021 10:35:28 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 19 Oct 2021 10:35:25 +0000 From: Xueming Li To: CC: , Viacheslav Ovsiienko , Lior Margalit Date: Tue, 19 Oct 2021 18:34:53 +0800 Message-ID: <20211019103501.2216840-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210927083256.337450-1-xuemingl@nvidia.com> References: <20210927083256.337450-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e9ef83f8-a63c-47d7-7105-08d992ec2bd8 X-MS-TrafficTypeDiagnostic: CY4PR12MB1608: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U4FZxl8526PEmlSr3to1ZhwfoNEXkRpvBKKbda4wgP34htGrcwzDIfqvP1a6OE3iOmgrdADM8WuBXGHAtYdwH5H3FGhYKUz5ssDVOz3pzM69wq8YiZpsPx30++VOy7ru2iKjsnwYzgugld6paAJ5dkpb441OY3F3Fs65qkPfzYArZycHVRsnSTgnCX0znu5BOoH5GlTZnbKTCrNQ2/zoCyYXRhcHEcgB3NVT5SjpxpCpHqq2JMfiN6dvkmganEcQsgJXO7+s7i75bJipJGYhxgM+VyzCqx6XrP7tY4JsyybOiyrocoqeKfaDV+mOqcyOybgibOPCQsnz7rmbZKUjkZRXjt/9kCnMw93witftjyF0abnSRLi60PIXe+9H4jb7FGA5wp560WsdKOrGL4iq7OWhQHVzwv2AQABUGqZcHEOWN+UdGgYkkjZqDLk9bzf7dKYW1Mn74DAxzw1ZvHQXkbWXevmCMYAywfizmCSDvq5PCFczgSTP0r/9Ql8t7ZK3i3a0gqjpJO4MbQejIwVVyMPLp3gwJrOKYdA4LDrPThycdfNLCMhSd/qOWAqrIRY7lwlp7Dh8Ns8IDTT8vhxSSogzzQZmPdxsS/VEcAOYHWmTaVDzBQG5Kz7TF3fYDsr5sBW1nf3GuRHyTvqhATsLOOAex3FjUKAh2pZs45QNHv3hvMxSujZaGdD5IY60HtRNCu1GjLiD1lXQ2ab1c+YEFg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(36906005)(2616005)(316002)(8676002)(107886003)(7636003)(83380400001)(70586007)(70206006)(5660300002)(6916009)(4326008)(47076005)(8936002)(36860700001)(36756003)(82310400003)(356005)(6666004)(186003)(16526019)(508600001)(1076003)(2906002)(7696005)(6286002)(55016002)(26005)(426003)(54906003)(86362001)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 10:35:28.9831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e9ef83f8-a63c-47d7-7105-08d992ec2bd8 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1608 Subject: [dpdk-dev] [PATCH v3 0/8] net/mlx5: support more than 255 representors 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 Sender: "dev" This patch set supports representor number of a PF to be more than 255. CX6 and current OFED driver supports maxium 512 SFs. CX5 supports max 255 SFs. v2: - fixed FDB root table flow priority - add error check to Netlink port state API - commit log update and other minor fixes v3: - fix compilation issue Xueming Li (8): common/mlx5: add netlink API to get RDMA port state net/mlx5: use netlink when IB port greater than 255 net/mlx5: improve Verbs flow priority discover for scalable net/mlx5: support E-Switch manager egress traffic match net/mlx5: supports flow item of normal Tx queue net/mlx5: fix internal root table flow priroity net/mlx5: enable DevX Tx queue creation net/mlx5: check DevX to support more Verbs ports drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_nl.c | 136 +++++++++++++++++++------- drivers/common/mlx5/linux/mlx5_nl.h | 2 + drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 119 +++++++--------------- drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_devx.c | 10 +- drivers/net/mlx5/mlx5_devx.h | 2 + drivers/net/mlx5/mlx5_flow.c | 81 ++++++++++++++- drivers/net/mlx5/mlx5_flow.h | 7 +- drivers/net/mlx5/mlx5_flow_dv.c | 44 +++++++-- drivers/net/mlx5/mlx5_flow_verbs.c | 8 ++ drivers/net/mlx5/mlx5_trigger.c | 11 ++- 13 files changed, 291 insertions(+), 134 deletions(-) -- 2.33.0