From owner-dev-commits-src-all@freebsd.org Thu Jun 24 14:34:54 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FD6D64CCE3 for ; Thu, 24 Jun 2021 14:34:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9jMf03lJz4c2y; Thu, 24 Jun 2021 14:34:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DEC0819BC0; Thu, 24 Jun 2021 14:34:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15OEYr1e032188; Thu, 24 Jun 2021 14:34:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15OEYra6032187; Thu, 24 Jun 2021 14:34:53 GMT (envelope-from git) Date: Thu, 24 Jun 2021 14:34:53 GMT Message-Id: <202106241434.15OEYra6032187@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org From: Marcin Wojtas Subject: git: e0d2e3c06856 - Create tag vendor/ena-com/2.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mw X-Git-Repository: src X-Git-Refname: refs/tags/vendor/ena-com/2.4.0 X-Git-Reftype: annotated tag X-Git-Commit: e0d2e3c06856cec5df6209503cc55af1078a96fc Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2021 14:34:54 -0000 The annotated tag vendor/ena-com/2.4.0 has been created by mw: URL: https://cgit.FreeBSD.org/src/tag/?h=vendor/ena-com/2.4.0 tag vendor/ena-com/2.4.0 Tagger: Marcin Wojtas TaggerDate: 2021-06-24 13:53:41 +0000 Upgrade ENA HAL to v2.4.0 Sponsored by: Amazon, Inc. commit 1f4f67f52424ac53d07ff524af9762fdf2e2b210 Author: Marcin Wojtas AuthorDate: 2021-06-24 13:48:26 +0000 Commit: Marcin Wojtas CommitDate: 2021-06-24 13:48:26 +0000 ena-com: restructure the ENA logging system Introduce a new logging system, which replaces the old logging method. All logs are now displayed in `device_printf` format, requiring `adapter->pdev` to be passed down to `ena_log`. Whenever that's impossible, a `printf` wrapped `ena_log_raw` is provided. For netmap logs, `ena_log_nm` is available, prepending "[nm] " to an `ena_log` formatted message. Tx/Rx data path logs are now printed via `ena_log_io`. This allows them to be conditionally compiled out, depending on the presence of ENA_LOG_IO_ENABLE compilation flag. By default this flag is disabled. All `ena_trc_*` ena_com level messages are now also wrapped around `ena_log` and require `ena_dev->dmadev` to be present. There are four log levels: * 0 - ENA_ERR - enable driver error messages and ena_com error logs, * 1 - ENA_WARN - enable logs for non-critical errors, * 2 - ENA_INFO - make the driver more verbose about its actions, * 3 - ENA_DBG - enable debug logs Please see `ena_fbsd_log.h` for implementation details. Submitted by: Artur Rojek Obtained from: Semihalf MFC after: 2 weeks Sponsored by: Amazon, Inc.