aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade ENA HAL to the latest version (26/10/20)vendor/ena-com/2.3.0vendor/ena-comMarcin Wojtas2020-11-1810-344/+503
| | | | | | | | | | | | Add support for the ENI metrics, bug fix for destroying wait event and also other minor bug fixes, improvements, etc. Submitted by: Ido Segev <idose@amazon.com> Obtained from: Amazon, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=367796 svn path=/vendor-sys/ena-com/2.3.0/; revision=367798; tag=vendor/ena-com/2.3.0
* ena-com: Fix ena-com to allocate cdesc aligned to 4kvendor/ena-com/2.2.1Marcin Wojtas2020-11-183-17/+33
| | | | | | | | | | | | | | | 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. Notes: svn path=/vendor-sys/ena-com/dist/; revision=367793 svn path=/vendor-sys/ena-com/2.2.1/; revision=367794; tag=vendor/ena-com/2.2.1
* Upgrade ENA HAL to the version from 20.04.2020vendor/ena-com/2.2.0Marcin Wojtas2020-05-2610-582/+526
| | | | | | | | | | | | | | | 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 <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=361508 svn path=/vendor-sys/ena-com/2.2.0/; revision=361510; tag=vendor/ena-com/2.2.0
* Update ena-com for the ENAv2 versionvendor/ena-com/2.0.0Marcin Wojtas2019-05-3010-737/+1154
| | | | | | | | | | | | | | | | | | | 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 <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=348383 svn path=/vendor-sys/ena-com/2.0.0/; revision=348384; tag=vendor/ena-com/2.0.0
* Suppress excessive print in ENA HALvendor/ena-com/1.1.4.6Marcin Wojtas2019-01-161-1/+1
| | | | | | | | | | | | | | | | | | | In FreeBSD, this is normal situation that the Tx ring is being full. In that case, the packet is put back into drbr and the next attempt to send it is taken after the cleanup. Too much logs like this can cause system instability and even cause the device reset (because keep alive or cleanup could be missed). To fix that, the log level of this message is changed to debug. Submitted by: Michal Krawczyk <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=343071 svn path=/vendor-sys/ena-com/1.1.4.6/; revision=343072; tag=vendor/ena-com/1.1.4.6
* Apply fixes in ena-comvendor/ena-com/1.1.4.5Marcin Wojtas2018-05-101-2/+7
| | | | | | | | | | | | | | | | | | * Change ena-com BIT macro to work on unsigned value. To make the shifting operations safer, they should be working on unsigned values. * Fix a mutex not owned ASSERT panic in ENA control path. A thread calling cv_broadcast()/cv_signal() must hold the mutex used for cv_wait(). Fix the ENA control path code that has this problem. Submitted by: Krishna Yenduri <kyenduri@brkt.com> Reviewed by: Michal Krawczyk <mk@semihalf.com> Tested by: Michal Krawczyk <mk@semihalf.com> Notes: svn path=/vendor-sys/ena-com/dist/; revision=333451 svn path=/vendor-sys/ena-com/1.1.4.5/; revision=333452; tag=vendor/ena-com/1.1.4.5
* Update ena-com HAL to newest versionvendor/ena-com/1.1.4.4Marcin Wojtas2017-11-091-9/+2
| | | | | | | | | | | The newest ena-com HAL update adds dynamically controlled logging level functionality. Obtained from: Amazon, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=325572 svn path=/vendor-sys/ena-com/1.1.4.4/; revision=325573; tag=vendor/ena-com/1.1.4.4
* Update ena-com HAL to newest versionvendor/ena-com/1.1.4.3Marcin Wojtas2017-10-3111-86/+3215
| | | | | | | | | | The newest ena-com HAL supports LLQv2 and introduces numerous API changes. Obtained from: Amazon.com, Inc. Notes: svn path=/vendor-sys/ena-com/dist/; revision=325234 svn path=/vendor-sys/ena-com/1.1.4.3/; revision=325235; tag=vendor/ena-com/1.1.4.3
* ena_plat.h: delete WARN_ON dead codevendor/ena-com/1.1.4.2Marcin Wojtas2017-08-011-9/+0
| | | | | | | | | | | | | | | | | | gcc issues a "useless statement" error about unlikely(__ret_warn_on); in the WARN_ON in ena_plat.h. In WARN_ONs defined elsewhere, this terminal statement is part of a statement-expression, but not here. Rather than make this WARN_ON like the others, just delete it, as it is apparently unused anyway: the only caller (ENA_ASSERT) always passes false. This fixes buildkernel for ena-com with gcc. Submitted by: rlibby Reviewed by: mw Approved by: cognet (mentor) Notes: svn path=/vendor-sys/ena-com/dist/; revision=321861 svn path=/vendor-sys/ena-com/1.1.4.2/; revision=321862; tag=vendor/ena-com/1.1.4.2
* Introduce HAL for Amazon Elastic Network Adapter (ENA)vendor/ena-com/1.1.4.1Zbigniew Bodek2017-04-279-0/+7426
This commit adds HAL (Hardware Abstraction Layer) code for Amazon Elastic Network Adapter (ENA). Version: 1.1.4.1 Obtained from: Amazon.com, Inc. Notes: svn path=/vendor-sys/ena-com/1.1.4.1/; revision=317516; tag=vendor/ena-com/1.1.4.1