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 DE1D3A0C43; Fri, 22 Oct 2021 11:12:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BAE641103; Fri, 22 Oct 2021 11:12:06 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2044.outbound.protection.outlook.com [40.107.236.44]) by mails.dpdk.org (Postfix) with ESMTP id C4B2C4069D for ; Fri, 22 Oct 2021 11:12:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kxe4HPdBDdMtkEf+KCG7MAHCRV/UFr/NB5NDuWXEuZJc5DK0cblE7lazVkAb8yGjkw0R169nPIiC2qIe3XgAImZJWht600OOJut8ay55SQ+vvJedDFw52es0ryYlTnjaTiRHzgoS68Xrw5wZHIXAoa6PBoO2sqnuStvHwSto4TlHLM+iL6Bmxw+7AucQAgjhrl0g4/Pb8dR+WoGyuRvg4tiS3qgAcouHzqGscLYKKyhfVwCVroxG1PfBJ7V8zjp2I0nq5edOMIykKIsLX534VO+8qeN69K6A5fN1SXxpMvclhouzne+uZPBDoQjLBNUN9v7mkxiJkKSzVo8nskyzTw== 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=0ZccOTXiCwIczUcWD0lncMTODJudlyZ0nhOj/glMITk=; b=K9Xh3yFXSbrerC92zkv1+r27YKNizptfJimw78j6a5Lzgmqp1NujAUsiTBCPz748HbIFvAH2LTAyCZB/RpcWfPsNHWzKa+vE1QpN7HWr7AKVPVQdizsCt0U9GMZFlmWvo4CWgpECIwqx72FjpFk8b9mwzu97RiHHFPhzyl3gpJURnJhv6MsgduJF4pK8285DNH27eXyHQ9uXE2OO/aRMDvNo78IPLfSL34BhHZ1sJnQHic3NdoNlg5kvQ/dzCmkdElH1cuSho33kvhktuX3qXPKYZJBwYI4yitm7oMqUmhUjDm1Qr9YO8c7liPP85gEiJPbEgsSO6A9odTphlkR27Q== 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=0ZccOTXiCwIczUcWD0lncMTODJudlyZ0nhOj/glMITk=; b=nkSByI0mxMo+ZLvH4RTIG8Fgpj0GL2/rnTGZDt3xfvj3u0fBY+sqkUmzBqKN0o35xyjwDTEAyBzKNFlI+SqPuQfDORg4Skib4eCxuUGX9bQpO5++RjhvPsHSLNXO6y8NWyMQLgDZwZh2hC+68Tkw0/HMUJLk+proE1flTwy0INigYoVNK2Qke0jMO5QyQpW+WeuxOWghKlGwrje46ZIOIfgypZRXriPBDCgzt/qjiP1UPcWpRE0EDDrEzkIhAqxigH2FuZ4kFZC4zhNPgWcMzmtUS5hm3lSKwzUi8BG6ZQk24dVIR1wn/1Qq8506NzpK0dQ05R79wELBMGf/621c+w== Received: from MW4P220CA0002.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:115::7) by DM5PR12MB2392.namprd12.prod.outlook.com (2603:10b6:4:b1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Fri, 22 Oct 2021 09:12:04 +0000 Received: from CO1NAM11FT010.eop-nam11.prod.protection.outlook.com (2603:10b6:303:115:cafe::95) by MW4P220CA0002.outlook.office365.com (2603:10b6:303:115::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Fri, 22 Oct 2021 09:12:03 +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 CO1NAM11FT010.mail.protection.outlook.com (10.13.175.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4628.16 via Frontend Transport; Fri, 22 Oct 2021 09:12:03 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 22 Oct 2021 09:12:02 +0000 From: Xueming Li To: CC: , Viacheslav Ovsiienko , "Lior Margalit" Date: Fri, 22 Oct 2021 17:11:34 +0800 Message-ID: <20211022091142.51397-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.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b75ba96f-81f8-43e6-c6ee-08d9953c0377 X-MS-TrafficTypeDiagnostic: DM5PR12MB2392: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:335; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZhQqsh98CPg5gcfi30ShKejt/ZxJAv11EvEQWGv5Hq9xyMWQ044AzIzuQCTIGodQ4V8H8Uq0XvF9dAzoYnT22Mulbb/HXnEXqzJhG4a6LhhrojVJAgttNPbALpwPcbyX911HC1rKoGR4U9wi76yQTyN9sNCrH6k8A3dv68qcbpYdVqE1vIDjCiwoLXJIM7eaMxDRFeCwoT4gA2Jv7QKECcMNVH2Vde5mMjaxcThcIwZA9hac2+vulKVnLJpnp9sw/VXYgvZyohN9meKADyYDS4H+hj54lCb+Y9ajEtzrAnYlZ5poEbj67ZaWBmAUXcEmTn9soOCnrxuE68vkS0Bl4SfhCxc6/XSLCNA5hcvRbSVDNGe0s+6fu2VedVy30BuOmP11wmvbL3q+kx5VbgQiTsWhgRckoAtxEiuPoIiJBHvlkozhOGfYXEnE2p8mEWVwe+c04tEyRWHmUHOvU60HuWVNC28WRgN8afhLNiHmDEqQSb9AIyrI6Psk2QqlTZTTGOm66jvxt3AWd/lPDWhWpLomM0Oa2trL60zKuMMjeCtxI3bX2B8nbnXXy4K8SkWj3yGJeswKPyy7xOAu5/fxpHxARUb6hoxvzSDyGPuxqWs21h+f8D7hnWpsopHK30LOhPwut7t127mD5nsb2OvSrwOvyPyQzpauIGqL6kCAJO5m0BuvN0kvMT7yuRCldRSRyehPGeCF8ZPLzzwRXAM2qg== 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)(46966006)(36840700001)(508600001)(7636003)(8676002)(8936002)(2906002)(356005)(82310400003)(107886003)(2616005)(5660300002)(7696005)(47076005)(36756003)(26005)(186003)(6286002)(36860700001)(55016002)(426003)(336012)(1076003)(6666004)(16526019)(86362001)(70206006)(36906005)(70586007)(6916009)(316002)(4326008)(83380400001)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 09:12:03.7274 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b75ba96f-81f8-43e6-c6ee-08d9953c0377 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: CO1NAM11FT010.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2392 Subject: [dpdk-dev] [PATCH v4 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 v4: - fix rebase issue - rebase on latest upstream 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, 290 insertions(+), 135 deletions(-) -- 2.33.0