FreeBSD src
Go to file
Arthur Kiyanovski f01b2cd98e ena: Re-Enable per-packet missing tx completion print
Commit [1] first added the ena_tx_buffer.print_once member,
so that a message about a missing tx completion is printed only
once per packet (and not every second when the watchdog runs).
In this commit print_once is initialized to true, and is set back
to false after detecting a missing tx completion and printing
a warning about it to dmesg.

Commit [2] incorrectly reverses the values assigned to print_once.
The variable is initialized to be true but is checked to be false
when a missing tx completion is detected. This is never true, and
therefore the warning print for each missing tx completion is never
printed since this commit.

Commit [3] added time passed since last TX cleanup to the missing
tx completions per-packet print. However, due to the issue in commit
[2], this time is never printed.

This commit reverses back the values assigned to ena_tx_buffer.print_once
erroneously by commit [2], bringing back to life the missing tx
completion per-packet print.

Also add a space after "." in the missing tx completion print.

[1] - 9b8d05b8ac ("Add support for Amazon Elastic Network Adapter (ENA) NIC")
[2] - 74dba3ad78 ("Split function checking for missing TX completion in ENA driver")
[3] - d8aba82b5c ("ena: Store ticks of last Tx cleanup")

Fixes: 74dba3ad78 ("Split function checking for missing TX completion in ENA driver")
Fixes: d8aba82b5c ("ena: Store ticks of last Tx cleanup")
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
2023-01-13 17:06:42 +01:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github .github: Switch to v3 of actions/checkout. 2022-12-20 16:27:17 -08:00
bin sh(1): Allow non-printing characters in prompt strings 2022-12-22 19:10:48 +01:00
cddl libdtrace: Change the binding of USDT probe symbols to STB_WEAK 2022-12-11 11:27:22 -05:00
contrib tzcode: Move configuration into separate header. 2023-01-11 11:39:12 +01:00
crypto ssh: describe two additional changes present in base system ssh 2022-12-13 09:45:56 -05:00
etc tests: add test for ipfw fwd localaddr,port 2023-01-06 12:17:42 -08:00
gnu gnu diff3: apply patch to committed src, rather than at build time 2022-11-13 21:33:40 -05:00
include include: put includes into -dev packages 2022-11-09 22:20:38 -06:00
kerberos5 kerberos5: retire now-unused MIPS support 2022-11-02 13:16:18 -04:00
lib xdr: store chars consistently 2023-01-12 18:16:17 +00:00
libexec dma: dma.conf.5 as MLINK to dma.8 2023-01-06 09:40:45 -05:00
release pkgbase: share rules for packages without pkgdeps 2023-01-09 10:42:59 -05:00
rescue retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
sbin ifconfig: abort if loading a module fails other than for ENOENT 2023-01-09 19:56:18 -07:00
secure libcrypto padlock.so: Link with -z noexecstack for ld.bfd. 2022-11-22 08:37:04 -08:00
share netlink: improve RTM_GETADDR handling. 2023-01-08 15:06:34 +00:00
stand stand: create common set_currdev 2023-01-11 15:15:15 -07:00
sys ena: Re-Enable per-packet missing tx completion print 2023-01-13 17:06:42 +01:00
targets retire sconfig(8) ce(4)/cp(4) configuration tool 2022-12-13 15:25:13 -05:00
tests pf tests: test fast port re-use with syncookies 2023-01-13 23:14:17 +01:00
tools git-arc.1: Fix a typo in the manual page 2023-01-11 11:28:20 +01:00
usr.bin fuser: fix loop over kinfo_proc array 2023-01-09 08:40:20 -08:00
usr.sbin makefs: don't needlessly require directories to exist 2023-01-12 19:16:14 +00:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: add gpart show to setup script 2023-01-03 11:06:16 -05:00
.clang-format clang-format: Add bitset loop macros 2021-09-21 12:08:01 -04:00
.gitattributes Add a basic clang-format configuration file 2019-06-07 15:23:52 +00:00
.gitignore gitignore: whack dead architectures 2022-11-23 01:18:03 +00:00
COPYRIGHT Happy New Year 2023! 2023-01-01 13:44:43 +08:00
LOCKS LOCKS: update current locks 2018-06-09 03:08:04 +00:00
MAINTAINERS Remove myself from bhyve maintenance; ENOTIME. 2021-11-19 07:09:30 +10:00
Makefile Makefile: replace mergemaster references with etcupdate 2022-10-06 20:19:16 +02:00
Makefile.inc1 Retire CLANG_IS_CC option 2022-11-21 14:56:13 -05:00
Makefile.libcompat libcompat: avoid installing include files twice 2022-11-16 19:15:20 -05:00
Makefile.sys.inc AUTO_OBJ: For all top-level targets enforce using an OBJDIR. 2017-12-05 21:29:47 +00:00
ObsoleteFiles.inc Missed skey(4), a copy of opie(4). 2023-01-06 11:12:40 +01:00
README.md README.md: link to the list of supported platforms 2022-11-01 12:20:55 -03:00
RELNOTES RELNOTES: Add mention of growfs addition of swap partition. 2022-12-13 08:54:43 -06:00
UPDATING LinuxKPI: implement irq_get_msi_desc() 2023-01-13 00:43:23 +00:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.