<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src, branch vendor/ena-com/2.7.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fena-com%2F2.7.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=vendor%2Fena-com%2F2.7.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-12-28T13:29:14Z</updated>
<entry>
<title>ena: Upgrade ena-com to freebsd v2.7.0</title>
<updated>2023-12-28T13:29:14Z</updated>
<author>
<name>Osama Abboud</name>
<email>osamaabb@amazon.com</email>
</author>
<published>2023-12-28T13:25:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04cf7cee5ae0c6bb29eb21ce85bab7ca7386a95f'/>
<id>urn:sha1:04cf7cee5ae0c6bb29eb21ce85bab7ca7386a95f</id>
<content type='text'>
This commit introduces a number of infrastructures in ena-com, some of
which are being used as of ENA v2.7.0 while other certain infrastructure
assets have been made available for potential future application.

Upgrade ena-com to include the following changes:

* Introduce customer metrics infrastructures
* Introduce SRD metrics infrastructures
* Remove unused fields from ena_com_io_cq and ena_com_io_sq structs
* Minor rework of ena_com_fill_hash_function
* Introduce PHC infrastructures
* Update the licenses for ena-com files
* Delete duplicate *_defs.h found in ena-com and ena_defs directories
* Add validation for completion descriptors consistency
* Move ena_fbsd_log.h file to ena_plat.h

Approved by: cperciva (mentor)
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>ena-com: add NUMA allocations macros</title>
<updated>2022-01-21T18:57:04Z</updated>
<author>
<name>Artur Rojek</name>
<email>ar@semihalf.com</email>
</author>
<published>2022-01-21T18:55:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2530eb1fa01bf28fbcfcdda58bd41e055dcb2e4a'/>
<id>urn:sha1:2530eb1fa01bf28fbcfcdda58bd41e055dcb2e4a</id>
<content type='text'>
Add implementation for the ENA_MEM_ALLOC_NODE and
ENA_MEM_ALLOC_COHERENT_NODE_* macros. Also the signature of
ena_dma_alloc() function was updated, for which the implementation
will be updated in ENA driver's patch.

Submitted by: Artur Rojek &lt;ar@semihalf.com&gt;
Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Submitted by: Michal Krawczyk &lt;mk@semihalf.com&gt;
Obtained from: Semihalf
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>ena-com: remove CSUM_OFFLOAD from the plat file</title>
<updated>2022-01-21T18:57:04Z</updated>
<author>
<name>Michal Krawczyk</name>
<email>mk@semihalf.com</email>
</author>
<published>2022-01-21T18:53:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=41160c140e31c8ee0d7de4b2f7b9857e6cad57d0'/>
<id>urn:sha1:41160c140e31c8ee0d7de4b2f7b9857e6cad57d0</id>
<content type='text'>
CSUM_OFFLOAD is a constant which is used only by the core driver code.
Because of that it shouldn't be defined in the platform file, as it's
not the platform specific code which is used only by the ena_com layer.

Submitted by: Dawid Gorecki &lt;dgr@semihalf.com&gt;
Submitted by: Michal Krawczyk &lt;mk@semihalf.com&gt;
Obtained from: Semihalf
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>ena-com: remove redundant declaration of ena_log_level.</title>
<updated>2022-01-21T18:57:00Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-01-21T18:52:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32e1beb19c7e8366ff6ad10d17769c6d0bdcc20a'/>
<id>urn:sha1:32e1beb19c7e8366ff6ad10d17769c6d0bdcc20a</id>
<content type='text'>
GCC6 raises a -Wredundant-decl error due to duplicate declarations
in ena_fbsd_log.h and ena_plat.h.

Sponsored by:   Chelsio Communications
</content>
</entry>
<entry>
<title>ena-com: restructure the ENA logging system</title>
<updated>2021-06-24T13:48:26Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2021-06-24T13:48:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f4f67f52424ac53d07ff524af9762fdf2e2b210'/>
<id>urn:sha1:1f4f67f52424ac53d07ff524af9762fdf2e2b210</id>
<content type='text'>
Introduce a new logging system, which replaces the old logging method.

All logs are now displayed in `device_printf` format, requiring
`adapter-&gt;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-&gt;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 &lt;ar@semihalf.com&gt;
Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>ena-com: update sources to the latest version</title>
<updated>2021-06-24T13:45:53Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2021-06-24T13:45:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0f5dd7cdd3d85acef2ecde7b74a952521e2e947'/>
<id>urn:sha1:e0f5dd7cdd3d85acef2ecde7b74a952521e2e947</id>
<content type='text'>
This patch mainly introduces fixes from the static code analysis.

Submitted by: Michal Krawczyk &lt;mk@semihalf.com&gt;
Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>Upgrade ENA HAL to the latest version (26/10/20)</title>
<updated>2020-11-18T14:54:55Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2020-11-18T14:54:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62023a0e6de531f0fe50b2f4352fcb86806de450'/>
<id>urn:sha1:62023a0e6de531f0fe50b2f4352fcb86806de450</id>
<content type='text'>
Add support for the ENI metrics, bug fix for destroying wait event and
also other minor bug fixes, improvements, etc.

Submitted by:   Ido Segev &lt;idose@amazon.com&gt;
Obtained from:  Amazon, Inc.
</content>
</entry>
<entry>
<title>ena-com: Fix ena-com to allocate cdesc aligned to 4k</title>
<updated>2020-11-18T14:30:59Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2020-11-18T14:30:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5fc5012bbae5e51a9be9f63372a1ef6fef10371'/>
<id>urn:sha1:d5fc5012bbae5e51a9be9f63372a1ef6fef10371</id>
<content type='text'>
The latest generation hardware requires IO CQ (completion queue)
descriptors memory to be aligned to a 4K. It needs that feature for
the best performance.

Allocating unaligned descriptors will have a big performance impact as
the packet processing in a HW won't be optimized properly.

It's a critical fix, especially for the arm64 EC2 instances.
</content>
</entry>
<entry>
<title>Upgrade ENA HAL to the version from 20.04.2020</title>
<updated>2020-05-26T15:04:49Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2020-05-26T15:04:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73cf51936f0f8f2a5661bf98d34521a7bf8feebd'/>
<id>urn:sha1:73cf51936f0f8f2a5661bf98d34521a7bf8feebd</id>
<content type='text'>
This version of the HAL supports newest generation ENA HW, random
RSS generation upon device initialization and also includes bug fixes
in the platform file, like fix for IO write/read macros regarding using
barriers.

Submitted by: Michal Krawczyk &lt;mk@semihalf.com&gt;
Obtained from: Semihalf
Sponsored by: Amazon, Inc.
</content>
</entry>
<entry>
<title>Update ena-com for the ENAv2 version</title>
<updated>2019-05-30T12:27:55Z</updated>
<author>
<name>Marcin Wojtas</name>
<email>mw@FreeBSD.org</email>
</author>
<published>2019-05-30T12:27:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6ee6cf7ab6368a44c82ae4e5ec591421b7a12df'/>
<id>urn:sha1:b6ee6cf7ab6368a44c82ae4e5ec591421b7a12df</id>
<content type='text'>
The new ena-com is required for the ENAv2 release of the driver.

Genmask macro was fixed in the platform file.

The GENMASK macro is intended to work on 32-bit values. Before this
patch the, calling GENMASK(31, 0) would cause 32-bit value to be
shifted by 32. This could lead to unexpected behavior, as shifting by
the number greater or equal to word length is undefined operation.

Submitted by:  Michal Krawczyk &lt;mk@semihalf.com&gt;
Obtained from: Semihalf
Sponsored by:  Amazon, Inc.
</content>
</entry>
</feed>
