From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39E41A0597; Wed, 8 Apr 2020 10:29:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E4401BF92; Wed, 8 Apr 2020 10:29:27 +0200 (CEST) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by dpdk.org (Postfix) with ESMTP id 5E02A1BF68 for ; Wed, 8 Apr 2020 10:29:25 +0200 (CEST) Received: by mail-lj1-f179.google.com with SMTP id q22so2926925ljg.0 for ; Wed, 08 Apr 2020 01:29:25 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=k925IV/WeTtR4CuSeUKxxiXM0wr6t4Ce133pfNwNOOo=; b=Mv2452nn3DNdilU+KBMLspWHYeJ8tU2J5LFfnOPEwHnuNbui6OP8Sh/JLKcNzwe4Y8 AeH+bUK1kzo3A1WT9QZz2WsU62W4PDvn65mazev1RbtEi199MqDxKQUkkIrHVew9vryv judt0qtwOwAAJvsOMOFpGrMxqer7EjftLBdJm5fKknEtgM98u5AT97NDH4adZoyunOY8 yKrcbsxtqnQ4xkBuBgh34AgPLznIbyWKS27HuGG9cI2gmXMuORMV7Io/FhYDC2DSq+hz CXv0kGhBp4jLY6uJEJwIEMNN0QgkHRkcGltS8nWo7TSFfyENDTSQZ/jDPXf7spDasSJK k1qQ== 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:mime-version :content-transfer-encoding; bh=k925IV/WeTtR4CuSeUKxxiXM0wr6t4Ce133pfNwNOOo=; b=LxOuwOT7aT8la8+9umF2/UlT+47LfGQdedl2UJFN45jF5lNQyrZ20ofmXt75J7nFwX X/wVFCVHT3C8B9IAF4Fn4HRncwE8SyviZ48qpUDRGdcwDcc3cwFmzL4OBInif4EoLDbM 9XujmzSbFNFqQbWa+r6OpIzcSKbg9TstgcZnRx60lE+8i3mXdyIzgrbZrUllVezRNOLM Ou+kR5Jlrq9VEv1MUt6HJJai5eh9tr4oWcwtJFYn3FaVQal8p1ZKlKKqreq4GaNzFLHU bZvdI1szlUa0wP84LTeX/mIW1Zgrhf/JPyNnNbxGgxDax/3JIcHPUnVO2VjskqiK5hr9 GCMQ== X-Gm-Message-State: AGi0Pua5tAIzAaTbwf3Bp4RbE8K8YL9gg8ErdfTm1o6An3M32aFAo47f BsBLRznLkBKjzJIBgxZrsggh0M1ieXE= X-Google-Smtp-Source: APiQypIi4Eo5uYcSNnMKTZaAu/iRC1l2njWdKA0E4AVpGF7a+xxDDaEskQC2Bf6S6Hbk4nRIDfSgrg== X-Received: by 2002:a2e:8652:: with SMTP id i18mr4402125ljj.265.1586334563997; Wed, 08 Apr 2020 01:29:23 -0700 (PDT) Received: from mkPC.semihalf.local (193-106-246-138.noc.fibertech.net.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id e8sm765685lja.3.2020.04.08.01.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 01:29:23 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: mw@semihalf.com, mba@semihalf.com, gtzalik@amazon.com, evgenys@amazon.com, igorch@amazon.com, ferruh.yigit@intel.com, arybchenko@solarflare.com, Michal Krawczyk Date: Wed, 8 Apr 2020 10:28:51 +0200 Message-Id: <20200408082921.31000-1-mk@semihalf.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 00/30] Update ENA driver to v2.1.0 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" Hi, This patchset is including severeal changes, including: * ena_com (HAL) update * Support for upcoming device features * Refactor of the IO path * Documentation update about ENA usage on metal instances v2: * Fix comments from review v3: * Split ena_com patch for RSS into several patches * Add entry to v20.05 release notes * Minor fixes of the commit logs * Update copyright date in patches doing the modifications Igor Chauskin (2): net/ena/base: make allocation macros thread-safe net/ena/base: prevent allocation of 0-sized memory Michal Krawczyk (28): net/ena: check if size of buffer is at least 1400B net/ena/base: generate default, random RSS hash key net/ena/base: fix testing for supported hash func net/ena/base: remove unnecessary conversion of the ind tbl net/ena/base: rework interrupt moderation net/ena/base: remove extra properties strings net/ena/base: add accelerated LLQ mode net/ena/base: fix documentation of the functions net/ena/base: fix indentation in cq polling net/ena/base: add error logs when preparing Tx net/ena/base: use 48-bit memory addresses in ena_com net/ena/base: fix types for printing timestamps net/ena/base: fix indentation of multiple defines net/ena/base: update gen date and commit net/ena: set IO ring size to the valid value net/ena: refactor getting IO queues capabilities net/ena: add support for large LLQ headers net/ena: remove memory barriers before doorbells net/ena: add Tx drops statistic net/ena: disable meta caching net/ena: refactor Rx path net/ena: rework getting number of available descs net/ena: limit refill threshold by fixed value net/ena: use macros for ring idx operations net/ena: refactor Tx path net/ena: reuse 0 length Rx descriptor doc: add notes on ENA usage on metal instances net/ena: update version of the driver to v2.1.0 doc/guides/nics/ena.rst | 58 +- doc/guides/rel_notes/release_20_05.rst | 9 + drivers/net/ena/base/ena_com.c | 340 ++----- drivers/net/ena/base/ena_com.h | 223 +---- .../net/ena/base/ena_defs/ena_admin_defs.h | 41 +- .../net/ena/base/ena_defs/ena_common_defs.h | 8 +- drivers/net/ena/base/ena_defs/ena_gen_info.h | 6 +- drivers/net/ena/base/ena_eth_com.c | 75 +- drivers/net/ena/base/ena_plat_dpdk.h | 48 +- drivers/net/ena/ena_ethdev.c | 902 +++++++++++------- drivers/net/ena/ena_ethdev.h | 48 +- 11 files changed, 940 insertions(+), 818 deletions(-) -- 2.20.1