From patchwork Fri Dec 14 13:18:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Krawczyk X-Patchwork-Id: 48877 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2949F1BC8A; Fri, 14 Dec 2018 14:19:44 +0100 (CET) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by dpdk.org (Postfix) with ESMTP id C3A691BBD1 for ; Fri, 14 Dec 2018 14:19:23 +0100 (CET) Received: by mail-lj1-f196.google.com with SMTP id x85-v6so4894406ljb.2 for ; Fri, 14 Dec 2018 05:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KDm0H/W/Wao7rq4zt7nzx2k1NJs1dGZAiqTlePR+FQo=; b=wI6nY4PVp4v1iauWBsWJ/kopStgqnJhpV4fwr/DcSF7kw90ju1Q6fiAKBfCorO9aAR /FhPRVqaRKYawZ2/QS5ti5poLNfz2shU8TQ1kLEoIHfVb457+cIeNcN4MqjpmXSng2gi jP/SMCsjvXh2JGEPbvB0gwTQ9+6pmOXpyrQMRgs7ohMjfKmTptJRLtiyuzhuxjdhyWZM oXWsHUyr7EVJ+kCqkVO7t1Su4F3b/8CSS6R1N4nuvi/Yh6pQjlP8tEZ8pbV+GuLkk8k/ sOzRoVnl5AT/aw20koHY4+emM8AH4++GsVowt6r8rg8UjpuUJPQt7ovykTCqbNQs0plg 9ECA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KDm0H/W/Wao7rq4zt7nzx2k1NJs1dGZAiqTlePR+FQo=; b=JC7uQV2Ekvl89sJt8zrr2m40IpKiZi7cx76gvbuArtMSD9EpgpDZpQACN/jDpDdWbQ G2MREpy4gMTJiwMOgvy9UY9iK1Qy2wqmy3cSiejLdpfjb+mXiU22Hn3EQgPGOKMykN3H EJGSgSXJQ64cl4rGT/harW05nl3fTZ0HWW93/QSA9ND5N/9xHRThIqrE0+ibmCAk//qL oiNke8qXJw5hv+iXqiujW51Ra/jPuPCcvKsR4ISXQMYa/dhWNCLrlq0h/xfbpoNAQlIV IqEtLVd8k6io4NLurU0w2OpyGH/ugufrwVsBpZ+LRuY6K4f4xjC0xvb3WJsyY9UqThSL 8OKA== X-Gm-Message-State: AA+aEWb9fYUKehS1gHyUm74iHH4R6qmbZifHogIEr/nXbrPoGSppdtzS ePfUuGwJju0+H/GrzhrGAnfRuwiiClU= X-Google-Smtp-Source: AFSGD/Xhg+JQfve+OVrlGNNFSq6NIfbuOI/2AOmZJx6o1RnHu7jWA75z8/Tj84WUyQ6OXGdXaHzSaQ== X-Received: by 2002:a2e:834a:: with SMTP id l10-v6mr1808300ljh.42.1544793562960; Fri, 14 Dec 2018 05:19:22 -0800 (PST) Received: from mkPC.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id o25sm873884lfd.29.2018.12.14.05.19.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Dec 2018 05:19:21 -0800 (PST) From: Michal Krawczyk To: dev@dpdk.org Cc: gtzalik@dpdk.org, mw@dpdk.org, matua@amazon.com, rk@semihalf.com, Michal Krawczyk Date: Fri, 14 Dec 2018 14:18:45 +0100 Message-Id: <20181214131846.22439-20-mk@semihalf.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20181214131846.22439-1-mk@semihalf.com> References: <20181214131846.22439-1-mk@semihalf.com> Subject: [dpdk-dev] [PATCH 19/20] docs: update ENA PMD documentation and features X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Previously, the features list was indicating unsupported ENA PMD features and were missing few ones, that were actually supported. The features file was updated, so it is now reflecting current driver state. The documentation was updated with the more actual example and features, especially ones which are ENA and not listed in the features file. Signed-off-by: Michal Krawczyk --- doc/guides/nics/ena.rst | 31 ++++++++++++++++--------------- doc/guides/nics/features/ena.ini | 12 ++++-------- 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/doc/guides/nics/ena.rst b/doc/guides/nics/ena.rst index 34c48575b..9f0a6509f 100644 --- a/doc/guides/nics/ena.rst +++ b/doc/guides/nics/ena.rst @@ -1,6 +1,6 @@ .. BSD LICENSE - Copyright (c) 2015-2016 Amazon.com, Inc. or its affiliates. + Copyright (c) 2015-2018 Amazon.com, Inc. or its affiliates. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -164,20 +164,18 @@ section of :ref:`the DPDK documentation ` or refer to *DPDK Release N Supported features ------------------ +* MTU configuration * Jumbo frames up to 9K -* Port Hardware Statistics * IPv4/TCP/UDP checksum offload * TSO offload * Multiple receive and transmit queues -* RSS +* RSS hash +* RSS indirection table configuration * Low Latency Queue for Tx - -Unsupported features --------------------- - -The features supported by the device and not yet supported by this PMD include: - -* Asynchronous Event Notification Queue (AENQ) +* Basic and extended statistics +* LSC event notification +* Watchdog (requires handling of timers in the application) +* Device reset upon failure Prerequisites ------------- @@ -214,14 +212,17 @@ Example output: .. code-block:: console [...] - EAL: PCI device 0000:02:00.1 on NUMA socket -1 - EAL: probe driver: 1d0f:ec20 rte_ena_pmd - EAL: PCI memory mapped at 0x7f9b6c400000 - PMD: eth_ena_dev_init(): Initializing 0:2:0.1 + EAL: PCI device 0000:00:06.0 on NUMA socket -1 + EAL: Invalid NUMA socket, default to 0 + EAL: probe driver: 1d0f:ec20 net_ena + Interactive-mode selected + testpmd: create a new mbuf pool : n=171456, size=2176, socket=0 + testpmd: preferred mempool ops selected: ring_mp_mc + Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 0) Port 0: 00:00:00:11:00:01 Checking link statuses... - Port 0 Link Up - speed 10000 Mbps - full-duplex + Done testpmd> diff --git a/doc/guides/nics/features/ena.ini b/doc/guides/nics/features/ena.ini index aa6f05a71..4300dd012 100644 --- a/doc/guides/nics/features/ena.ini +++ b/doc/guides/nics/features/ena.ini @@ -4,25 +4,21 @@ ; Refer to default.ini for the full list of available PMD features. ; [Features] -Speed capabilities = P -Queue start/stop = Y +Link status = Y +Link status event = Y MTU update = Y Jumbo frame = Y Scattered Rx = Y TSO = Y RSS hash = Y -RSS key update = Y RSS reta update = Y -SR-IOV = Y -CRC offload = Y -VLAN offload = Y L3 checksum offload = Y L4 checksum offload = Y -Inner L3 checksum = Y -Inner L4 checksum = Y Basic stats = Y Extended stats = Y Linux UIO = Y Linux VFIO = Y x86-32 = Y x86-64 = Y +Usage doc = Y +Design doc = Y