From patchwork Thu Oct 7 18:43:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srikanth Kaka X-Patchwork-Id: 100809 X-Patchwork-Delegate: rasland@nvidia.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C791EA034F; Fri, 8 Oct 2021 12:59:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDAD94121A; Fri, 8 Oct 2021 12:56:42 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id 29C2E411E0 for ; Thu, 7 Oct 2021 20:46:06 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id pf6-20020a17090b1d8600b0019fa884ab85so7597669pjb.5 for ; Thu, 07 Oct 2021 11:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneconvergence.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e/sPGHDv03OO0OyyDNR+8Bvf3meXtVRMOBNXEN4VD9Y=; b=DCISR4geLGUdSbl5wy15vKG1xUC42alMbDntZvm5rUZpTrrQ3yCZmaM0nmT9IqOxkL 0Dor84MHO3LuOOuJT52CBGQGgIZN1DwBfNz8qfoxYHfbr0k3nOafseSnxp7eFauf03xl /3N0g/dBSncwFDfKy9cfwlGDsPEwp90pdret8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e/sPGHDv03OO0OyyDNR+8Bvf3meXtVRMOBNXEN4VD9Y=; b=IPEfFqrs3mWvpHw4d21bRroH8VHS4h56sKe14yS/ZOSa5RVmfDWp6Q3PV3IvD0fFew yBXCmZ0dMQ11N3bwvBxLvZtS5l764GWKFy/RgyjjKSvWK78HOMkSxWLqnZpd5wV2HlZr /0fU0k1qL7pxsnK8+HCE79aV7g+O1zVP3LBt8/1q+tCOMpJ65NW5aWzH3MWz+QOmAiH2 FcQAP+b5q5Ko2cOf+YGEOTeZGh8eArbRZw7vQ8saAX2/itbhHozuqv0Kjb8+zSzV+Frc +7XJolAM7dttp6+H3shxU8OrZxu+rpS4I17SnhlNQzewT7yHZO7wWGQhCE6pNLRe063+ L1rQ== X-Gm-Message-State: AOAM5303iLu/IV5oZeXbk6ZfQFYI4C6dE112PrIsneXOPzLKcMefDo3a Kb1339gyBBoVGRjLO4WBfa1xGSbL4eKf+Q== X-Google-Smtp-Source: ABdhPJwOEtHvHYhgl1UuEd7AzGXWYG8mGTxntD4DEApgOjLW+W21013QNIgukJKk7SZ5AIl6OhykBA== X-Received: by 2002:a17:90b:3e8d:: with SMTP id rj13mr6639206pjb.183.1633632365382; Thu, 07 Oct 2021 11:46:05 -0700 (PDT) Received: from srikanth-ThinkPad-T450.domain.name ([136.185.113.102]) by smtp.gmail.com with ESMTPSA id c11sm3311586pji.38.2021.10.07.11.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 11:46:04 -0700 (PDT) From: Srikanth Kaka To: Matan Azrad , Viacheslav Ovsiienko Cc: dev@dpdk.org, Vag Singh , Anand Thulasiram , Srikanth Kaka Date: Fri, 8 Oct 2021 00:13:50 +0530 Message-Id: <20211007184350.73858-42-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211007184350.73858-1-srikanth.k@oneconvergence.com> References: <20211007184350.73858-1-srikanth.k@oneconvergence.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Oct 2021 12:55:54 +0200 Subject: [dpdk-dev] [PATCH v2 41/41] doc/mlx5: update docs with FreeBSD information 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" Added FreeBSD prerequisites, limitations and features supported. --- doc/guides/nics/mlx5.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index bae73f42d8..cf6d1e70f6 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -133,6 +133,25 @@ Limitations - IPv4/TCP with CVLAN filtering - L4 steering rules for port RSS of UDP, TCP and IP +- FreeBSD support: + + On FreeBSD, only SRIOV interface is supported along with the following features: + + - Hypervisors: KVM, ESXi and Azure/HyperV + - Multiple Tx and Rx queues + - Support for scattered Tx and Rx frames + - RSS + - VLAN filtering, stripping and insertion + - RX CRC stripping configuration + - Promiscuous and Multicast mode + - Statistics query including Basic, Extended, and per queue. + - Configurable MTU and MAC + - Jumbo frame support + - Trust mode support + - Vxlan + - QoS + - Flow steering + - For secondary process: - Forked secondary process not supported. @@ -1340,6 +1359,17 @@ DevX for Windows must be enabled in the Windows registry. The keys ``DevxEnabled`` and ``DevxFsRules`` must be set. Additional information can be found in the WinOF2 user manual. +FreeBSD Prerequisites +--------------------- + +Currently there is an ongoing review of FreeBSD OFED drivers and RDMA-core libraries. +Their status can be tracked at +`OFED Review `__. + +The FreeBSD MLX5 PMD requires these OFED changes to run. +To build successfully, file ``/usr/include/infiniband/mlx5dv.h`` should be present. It +is generally missing on FreeBSD. + Supported NICs --------------