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 E075FA0547; Mon, 27 Sep 2021 10:33:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6ECBE410DA; Mon, 27 Sep 2021 10:33:16 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2046.outbound.protection.outlook.com [40.107.244.46]) by mails.dpdk.org (Postfix) with ESMTP id B9C64406A3 for ; Mon, 27 Sep 2021 10:33:14 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iztU/nRhvZElK1DLC2rtSrYmw3+5pnXl0f7QV5SpZ9IoQysmwGIIIz1C93/MZlpPScOPa7GARu2iPeOyOpyBjWitLludaIm3APa3mbi6FhkG/omItvtHoJRDpcEhtljz7rrzsjHm4e9k8tywYfNx8mmFY3bytrJRj04tMKaOA0xzthxICMsbGhFbvOnPKuKeqvaovEZ1XBAej1nr1mG7dPN8kdjOqFNK7YXqX5hXs6FEDukOTmwSDPQ/IZKr2PlmNfHPPb1R6fMuJYEnVm+hQ/YRtL1HAn435XSYFxcN0PgvbHR/GLCobDqlPQMNmX81VOxEnYAMFPWyeh/vtjkAqg== 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; bh=tVuO2wKMQ9ff7LiLv7xjcxvB2yqgnDSzara5H9fRLBw=; b=Arycla7XBsdjv8N6LQFBjQ+3wMFSmQ4wI5n2AMXnC6C3xCQlYAmSMkhOQ7kqImITT0MKxt1I3J95aW/LHiZhghxH1BrKcLRDxEmPWcTptHemR5HW30CPvqx9fwHank9XXyBK9WGYE05fmNcv++WoHKGYVAVOW0GsLhf1E0c3nvRTWvFmLqgik93ibJpj5oz+88UQ+V2ZePGzjPJ4DUrVhkeBBwPYDk70IY5DZp7KaNd5AY6YnHZpTAmcZda8ub0K9ZcQNfoPebvPOY8p4Ibe7Eyju7eqH1nJhmfj1rk73/UvN50QS3IK14GIOtaEXK807NNCZhomwRfKS/RgPv8ewA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.32) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none 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=tVuO2wKMQ9ff7LiLv7xjcxvB2yqgnDSzara5H9fRLBw=; b=duBkvTQ3gjnguYx6F/vAhwEFe7Ra11Sc7xHHIbKZ+KmtkVaUGccCgvlf5bk8V4d6MxsxJHKcimD3o72qt7bUmFIWlwoGTvhOLPDwTysc4evLTB18U1KG6k0yiGzVJXLEPJCGgAT/pzybtffR5WbTFILHwQObXGFWj+wbwsaI+X/342zpLJms89xuXZ8gCvcN/thB6LMIByi2CvgtP+zMbuWEH25Dp2wxWK22Kqcq/fKVo5g7K+2bDJyByq6nBsAUxMoJzm7rfzOTsd/8NWD0ByFhsgipCDuUWF7upZdGlIhT5rjJ4X80pW/fNBGtbFvnjlbFo0CIW+kWNle/R/ewuA== Received: from DS7PR06CA0021.namprd06.prod.outlook.com (2603:10b6:8:2a::23) by BN6PR12MB1170.namprd12.prod.outlook.com (2603:10b6:404:20::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Mon, 27 Sep 2021 08:33:13 +0000 Received: from DM6NAM11FT035.eop-nam11.prod.protection.outlook.com (2603:10b6:8:2a:cafe::27) by DS7PR06CA0021.outlook.office365.com (2603:10b6:8:2a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Mon, 27 Sep 2021 08:33:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.32) 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.32 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.32; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.32) by DM6NAM11FT035.mail.protection.outlook.com (10.13.172.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4544.13 via Frontend Transport; Mon, 27 Sep 2021 08:33:12 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 27 Sep 2021 01:33:12 -0700 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 27 Sep 2021 08:33:11 +0000 From: Xueming Li To: CC: Date: Mon, 27 Sep 2021 16:32:48 +0800 Message-ID: <20210927083256.337450-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a20db986-a91d-485b-2469-08d9819171bf X-MS-TrafficTypeDiagnostic: BN6PR12MB1170: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 676xloXYTwrlX5d+I9f7kFXSrAus8FURqpgzrEdQLdREPgj8YxOueGKhRYE7BJ5688YSHHfCEq3jF/wBKTAbm29SUdrCAY+43F6VxJzwpTw++SUPhCt8d87Ay2+QFBQT7T/KJRbYNX4I+rCepGle+JXMSwKWL0t8f2gh6eoFd/7YrBfIgAI2gt7rCvqA2O8FLDBL9NUAsW8d8oypjJ1t+KV94+NSZDJl/q0qkChDZvBefqcLe+bts9BAicCquOfcZQYvkDURv3VWAyKbrbGAq+fRyaEp2DJ6udm2/YXqbhTzcDFGi4CLXlo8/Xl2wOrWkdnElJlEIWcONeUIxoBA0yp9DDWLjO/wBfpaslUHa9+3savzwj0IB0NVPANomUQa1XeH6ZQ1SI8ETSGC2S7J43Bua5/Yt8CNvleS5ATPPwY1R8mt94OfSJ4M9TLhg+fKKMm1wPq3TBJshZJGRtn+PlYyg8OYbtSv32st5D8ro7FA3Cc7WEIlYUPc0UZHDod0ET2kG2sDhU+fbUx6adgUxbhUZWK17B25/gYTBBFDa2FYCT/F3qwng6vEIhiCOPuQLB0IUhdVywblExEasuzfEqk9Vharzp2vghoeyHpbkABDZCEGCHLFDG7HpbXZPUM3L4f9rQ8In2PRj4FTElDueaXEbZBqBf6Vr5jXP6qSuQtBEWF70HbPl0ioegH3bwJkqYehcOYKErvq9BijqfDADw== X-Forefront-Antispam-Report: CIP:216.228.112.32; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid01.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(70586007)(83380400001)(107886003)(82310400003)(6666004)(70206006)(1076003)(356005)(508600001)(6286002)(36860700001)(47076005)(4326008)(26005)(86362001)(2906002)(7636003)(316002)(2616005)(7696005)(36756003)(5660300002)(16526019)(426003)(8936002)(336012)(6916009)(186003)(8676002)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2021 08:33:12.7059 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a20db986-a91d-485b-2469-08d9819171bf 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.32]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT035.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1170 Subject: [dpdk-dev] [PATCH 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. 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: check DevX to support more Verb ports net/mlx5: support flow item port of switch manager net/mlx5: supports flow item of normal Tx queue net/mlx5: fix internal root table flow priroity net/mlx5: enable DevX Tx queue creation drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_nl.c | 116 +++++++++++++++++++------- drivers/common/mlx5/linux/mlx5_nl.h | 3 + drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 114 ++++++++----------------- 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, 276 insertions(+), 125 deletions(-) -- 2.33.0