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 36CE5A0C46; Fri, 23 Jul 2021 12:26:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE3DA40040; Fri, 23 Jul 2021 12:26:37 +0200 (CEST) Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) by mails.dpdk.org (Postfix) with ESMTP id C30E44003C for ; Fri, 23 Jul 2021 12:26:36 +0200 (CEST) Received: by mail-ej1-f50.google.com with SMTP id o5so3031268ejy.2 for ; Fri, 23 Jul 2021 03:26:36 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=cnmkAfSV9HegRR763sDKoUTuKMM1FcQTKk/8QZPQuoI=; b=ewS83IcaJ2N44mv4QzdGjsdEjqWGHRrAYBpNex40DmTs8/VFrkUxCSThu9T4HQ9xnm BCcoHLCAbulQ46HuaEfBv4sprRN7FdnFRP5Lk7CjpoW2oDbg/mAUGqs36bp/7zQ47+sg DLeLD8pePq4TB4zS1O/dOQLxhkayekeV7/+x4KiWo5PwlJH2Ga5+Aahf7nu5tbYsbeSP p73XujBdQ/MXYpwA4h8a/HQbjKQqw9PgUspnSdcJLG/L2cYzFbSyOxnwo6KLMjVPntxY cGN43TEgFuidpus6tlIzojKs7g9npv+JshFLFLL3PMDtNusmAJXjiFhuSZhocF3aLN+Q zxVA== 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:mime-version:content-transfer-encoding; bh=cnmkAfSV9HegRR763sDKoUTuKMM1FcQTKk/8QZPQuoI=; b=bJ3Vypvrw0JUDt0bxf2HPM1PSaDAvduqq653qhgv7AauIQDOiyTca/k9HTcfKI6DBQ FTYxSWlFJF3BGzIbbeTkYAVd09nt5Y+5B/yQihSEqP23jdElzUZ4g7smGYYcuiltDEm/ RTbLd9gL6SbsxAcMCeFaeLO9CkZf25pMa5x2XWtrPrRAnCSO/xWVkQL5Gq60ZAhLGaXl SVj6hV66zXTfChSqZDPPnz6ExMEJmHccfljcULfnJrNEldnNlu2iGfApU642/93cT9XJ ewWxDUddUPEkBh03KBRMu01q2oVwyoMykZmBaRmhdj2wPhixRBwN+oHW6c6OkXbv0H1t BjVg== X-Gm-Message-State: AOAM5317wqyF7QcsXKZdnqYdQcU/4Lz1M1tp2dihpSRVj6cXDBXBEWX6 D6orGqJjT7Ty9tAzkEwSUZeQU7RqG8n0rdQ6 X-Google-Smtp-Source: ABdhPJw7vGp9lP7zgAsWRxYTKHw3la5mLh09pZJrEdy0nmYYeIK2K0vYy2XH0GcCARfF8u/KaKAH9Q== X-Received: by 2002:a17:906:288d:: with SMTP id o13mr3938764ejd.120.1627035996101; Fri, 23 Jul 2021 03:26:36 -0700 (PDT) Received: from DESKTOP-U5LNN3J.localdomain (093105178068.dynamic-ww-01.vectranet.pl. [93.105.178.68]) by smtp.gmail.com with ESMTPSA id jp26sm10506142ejb.28.2021.07.23.03.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 03:26:35 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: ndagan@amazon.com, shaibran@amazon.com, upstream@semihalf.com, Michal Krawczyk Date: Fri, 23 Jul 2021 12:24:48 +0200 Message-Id: <20210723102454.12206-1-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210714104320.4096-1-mk@semihalf.com> References: <20210714104320.4096-1-mk@semihalf.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 0/6] net/ena: v2.4.0 driver update 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" Hi, this set contains 2 major ENA features: * RSS hash function key and reconfiguration - API for changing hf was also introduced, although it's not supported in the device right now. * Rx interrupts support. Moreover support for the RTE_ETHDEV_DEBUG_[TR]X flags introduced in v21.05 was added and the driver uses the Tx and Rx loggers. ENA logs was reworked a bit and especially the new line characters were fixed across all the loggers. v4: * "net/ena: rework RSS configuration" (5/6) changes: * Fix checkpatch warning - use format type %PRIx64 instead of %llx. * Above change alone causes compilation warning, so ENA_ALL_RSS_HF in this log must be casted explicitly to uint64_t. v3: * Remove Gerrit Change-Id from the commit messages (regression in v2). v2: * "net/ena: rework RSS configuration" (5/6) changes: * Fix documentation for the ena_reorder_rss_hash_key() - the HW just needs to use the reverse order, the endianness don't need to be changed. * Fix alignment of the ena_reorder_rss_hash_key() arguments. Michal Krawczyk (6): net/ena: adjust driver logs net/ena: make use of the IO debug build option net/ena: trigger reset when Tx prepare fails net/ena: add support for Rx interrupts net/ena: rework RSS configuration net/ena: update version to v2.4.0 doc/guides/nics/ena.rst | 12 + doc/guides/nics/features/ena.ini | 2 + doc/guides/rel_notes/release_21_08.rst | 8 + drivers/net/ena/base/ena_plat_dpdk.h | 7 - drivers/net/ena/ena_ethdev.c | 560 +++++++++++------------ drivers/net/ena/ena_ethdev.h | 34 ++ drivers/net/ena/ena_logs.h | 21 +- drivers/net/ena/ena_rss.c | 591 +++++++++++++++++++++++++ drivers/net/ena/meson.build | 1 + 9 files changed, 923 insertions(+), 313 deletions(-) create mode 100644 drivers/net/ena/ena_rss.c -- 2.25.1