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 CFE78A034F; Sat, 16 Oct 2021 10:08:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E15040040; Sat, 16 Oct 2021 10:08:02 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2078.outbound.protection.outlook.com [40.107.96.78]) by mails.dpdk.org (Postfix) with ESMTP id D83D24003F for ; Sat, 16 Oct 2021 10:08:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HtF+2qr+bVG+AfbjBSnSZALOxY7kGRthTvsC6+/z0qQdsskH0Z6yLkhdychbD7nYOJ38PMiM7BvKi8iXLWQ0XRPvUEM8Gccr8chSV/S9a0CRRDD2kKUOwRjmifYJU8o6cxVNkm6H3pbLiHtBpUa6Onvx4xgIAebtl+hy6NkdDRzOlLEDZQdrz17W50iVPVR6kh6UmrqAoFsE7ItOq4kqdDjV9cspuT/J0hfKSOQdIGaYfxavstbzbZGsQHvFiU1w0MIVLeZVZOArtzyCxxZRYFWyRE2xWNKfa/G1kwKo4p2SgidzDVaxe/miSKLh8UYraTvSYTBZzP/OggT1L45aSA== 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=ZezaQ3AZVhGWUZ3HtJ/zVwXVKAU9RGqALh/rh3106Ms=; b=QaG5DK2mGKonrzPvvHgrS/wjlOAID9z6H+JKYmH/XYWymO4xPgnQHXsl14LVtXV4DG+YVKyqHnaSipNX9J/xJjmc3jtOwm7juWgztd8o3lyqGB1NWmEP3JdvHwgkv2IhA5OtPZPz0jHjNkAdSfdPxgxMpe57KZ4458etXAiEMybs/OF2oCN3sNAOA3Edpu+CpJDFvRhXBFrcJ2557ZnXfMAyxjHpSEOG+jktBbgi3KHduvGldPShmUfk45IvEztwXWa4CpyW2d2JztnDeLE6FE0JVRPYqnOm/K80h83TnPF92uZ5Re3O4V2gmynO08p6A02NscBukmtosoNwE+lK4w== 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=ZezaQ3AZVhGWUZ3HtJ/zVwXVKAU9RGqALh/rh3106Ms=; b=XiQHaRyjvMEpRyWDrmBhw3NHSDYn3tgcK6806gD8uhtgc4iHRvjuObHLwiTDwK5HKa9KURCXVMb/vruHo0ycrLGbcUzqOuHTfee6dpphOi/cVpvOsBEsPgkmnH5osBRvDPLgU7UkJE7jKMxyP4S5idIQyHEMcq2+40+rM+9iPMrJePlz7eTmHAtKy/8onw0n5EEnI1TGKlddlcyIFaxgboTbvLYC6+KQ2MKQAN+TfzjFMmK1vvIUw0CxxLjCOtxj2haO+qwq8wTN4aEds1D0UrUq1uRr3YtmlakjiNGBEjhA57RunsBuARJ/1OC/TZrHNX9pao3hBFCtfe8vTBOEVw== Received: from MWHPR10CA0060.namprd10.prod.outlook.com (2603:10b6:300:2c::22) by BL0PR12MB2467.namprd12.prod.outlook.com (2603:10b6:207:4c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Sat, 16 Oct 2021 08:07:58 +0000 Received: from CO1NAM11FT021.eop-nam11.prod.protection.outlook.com (2603:10b6:300:2c:cafe::f1) by MWHPR10CA0060.outlook.office365.com (2603:10b6:300:2c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Sat, 16 Oct 2021 08:07:58 +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 CO1NAM11FT021.mail.protection.outlook.com (10.13.175.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4608.15 via Frontend Transport; Sat, 16 Oct 2021 08:07:57 +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; Sat, 16 Oct 2021 08:07:55 +0000 From: Xueming Li To: CC: , Viacheslav Ovsiienko , "Lior Margalit" Date: Sat, 16 Oct 2021 16:07:24 +0800 Message-ID: <20211016080732.1781622-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: 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: 747a9253-d36b-4563-d6a8-08d9907c106e X-MS-TrafficTypeDiagnostic: BL0PR12MB2467: 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: uYFoABwy7Js0s14dXd3HdhmAHlpgAZXV+ugMssbdizsVR15iZZcprM0SpwgVuq9rpLMjIxk9yA+ITYcYu3F1oIVts/ogob7dGDP7Y/VRnyAASM1aJTRQCFJdIzZiXJmUkvBnSvYFE6XaauhkAYgdMFA5xa2ikuRLmlAtzR9PPy4cP67QAvjJOHp2l74FPyRAND8jQWk3OWXqG0Hv6nJ5/avpQtnHOLSyfP3eWGK62kowU6YFQDTrMCw3OPTy6Zxhgq5cT86WUbYSm980/nhu2k+4QoaIrZaU28sJe9nil185Ja1GF8hnC7XxHnCTA038JiH4CkGcXX/JuxmeNxWyxkOmWWqE7E14mpMiVuDFOOzddtD2NOv4Y7yq5aRWtCdRQGgleuOk0cMbfUuwWvg/2JnlG+ymjdsHj+YuAdrZq4TIUgyx2OD0BX1LNHIuisO2HzRorbrFITqRwUJaBjyZd4U13uqfkKoyfM8eoP/ntwML3sByztp/GjDHRVyTODVarzxdM8EpTxF76v6Thk9YOEhZ2GAKaVvHxvS52D+TiN/3hVammv7Rq1q3NKZ1ZWlXI39edyMpZeMOzDJm57wMNSXTGB03r+LHOcrbATBD69Ely6Ik8Et+KXR16ZGGuCg3uyLu/sXXiAu9g1rZKijKchKVqL7fiYD/c0HZw/zbFGFt9yHS53Xlzpr/DJ/dwjm6XkvYWeunxMu7D7sCNODLmw== 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)(47076005)(6916009)(4326008)(8676002)(36860700001)(55016002)(336012)(83380400001)(508600001)(2616005)(356005)(36756003)(16526019)(426003)(86362001)(186003)(26005)(70586007)(70206006)(7636003)(6286002)(1076003)(7696005)(107886003)(316002)(2906002)(6666004)(8936002)(5660300002)(82310400003)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2021 08:07:57.4690 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 747a9253-d36b-4563-d6a8-08d9907c106e 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: CO1NAM11FT021.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB2467 Subject: [dpdk-dev] [PATCH v2 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 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