Commit Graph

30 Commits

Author SHA1 Message Date
Enric Morales
98bd35c20c
linuxPackages.ena: patch kcompat.h for explicit compatibility with < 6.8 2024-05-14 23:58:20 +02:00
Enric Morales
1271a9d48c
linuxPackages.ena: 2.8.9 -> 2.12.0 2024-05-14 09:38:15 +02:00
Nicholas Sielicki
32cd6f0e30 linuxPackages.ena: 2.8.6 -> 2.8.9
Removes several patches added in d915eb8 which are now included in-tree.

Notable commits, excluding aforementioned patches:
 + linux/ena: Add rx_overruns to ena-com structs
 + linux/ena: Report RX overrun errors via net device stats
 + linux/ena: Fix incorrect dma sync when SWIOTLB is on

full changelog: https://github.com/amzn/amzn-drivers/compare/ena_linux_2.8.6...ena_linux_2.8.9
2023-08-20 12:00:13 -05:00
Eelco Dolstra
d915eb8adf linuxPackages.ena: 2.8.3 -> 2.8.6 and fix build against Linux 6.3
This applies some patches that will be in the next version of ena, one
fixing the removal of the adjfreq field in ptp_clock_info, and the
others dealing with devlink changes.

https://hydra.nixos.org/build/221431596
2023-05-27 18:46:12 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Nicholas Sielicki
5dd7384427 linuxPackages.ena: 2.8.2 -> 2.8.3
Signed-off-by: Nicholas Sielicki <git@opensource.nslick.com>
2023-02-18 19:08:46 +00:00
Nicholas Sielicki
33397faec9 ena: 2.8.0 -> 2.8.2
* Notably, fixes build on kernel >= 5.17

Signed-off-by: Nicholas Sielicki <git@opensource.nslick.com>
2023-01-31 03:31:05 +00:00
Nicholas Sielicki
0927c6ee42 ena: 2.7.1 -> 2.8.0
* set ENA_PHC_INCLUDE=1 during build to enable ptp hardware stamping
* add sielicki to maintainers
* remove kernel 5.17 broken marker

Signed-off-by: Nicholas Sielicki <nix@opensource.nslick.com>
2022-11-30 02:35:46 +00:00
Euan Kemp
bb0210e327 ena: 2.5.0 -> 2.7.1
This update is supposed to give us support for the 5.17 kernel according to the
2.7.0 release notes here: https://github.com/amzn/amzn-drivers/releases/tag/ena_linux_2.7.0

Unfortunately, in practice, it does not build with `linuxPackages_5_17`,
so I left that marked as broken.

It does work for 5.15 though, so we can use that, woo!
2022-05-08 21:12:52 -07:00
Alyssa Ross
ae8e8aaee7 treewide: remove obsolete kernel version checks
We no longer support any Linux kernel older than 4.9.
2022-04-08 09:56:09 +00:00
Nick Cao
07d1ce68d4
ena: pass makeFlags from kernel 2022-03-07 12:23:44 +08:00
Alyssa Ross
768c8ca162 linuxPackages.ena: mark broken on Linux 5.15 2021-11-06 11:43:56 -07:00
fortuneteller2k
9d57d41c17 linuxPackages.ena: 2.4.1 -> 2.5.0 2021-05-19 12:48:30 +08:00
Robert T. McGibbon
81e2319c1e kernelPackages.ena: 2.3.0 -> 2.4.1 2021-02-17 10:19:23 -05:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Peter Hoeg
85298db412 kernelPackages.ena: 2.2.11 -> 2.3.0 2020-12-18 10:24:12 +08:00
Tim Steinbach
1687c719f8 ena: 2.2.7 -> 2.2.11 2020-10-05 12:38:43 -07:00
Peter Hoeg
ac3e909685 kernelPackages.ena: 2.1.2 -> 2.2.7 2020-05-18 10:29:57 +08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
danbst
4522648d0e linuxPackages/ena: 2.0.2 -> 2.1.2
Unbreak for newer kernels.
2019-08-15 10:10:25 +03:00
Samuel Dionne-Riel
7093970e1d linuxPackages.ena: 1.5.2 -> 2.0.2 2018-12-26 11:03:10 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Piotr Bogdan
b353ff944a linuxPackages.ena: 1.5.0 -> 1.5.2 2018-03-27 22:28:58 +01:00
Jörg Thalheim
91f03e6b19 linuxPackages.ena: 1.2.0 -> 1.5.0; fix build dependencies 2018-01-05 10:02:25 +01:00
Jörg Thalheim
44f93731d6 linux_chromiumos_3_18: remove kernel due lack of maintainer/breakage
There is no maintainer for this package, probably not many users.
It requires effort to fix all third-party modules for this old kernel
versions. It might contain unpatched security holes.

For Pixel chromebooks, we have the samus-kernel.
Apart from that https://github.com/GalliumOS/linux might be a good choice.
2017-09-05 14:42:23 +02:00
Tim Steinbach
be17a1c525
ena: 20160629 -> 1.2.0 2017-08-28 16:45:48 -04:00
Domen Kožar
d199d5041a ena: mark as broken on chromiumos
(cherry picked from commit bc06f19efb)
Signed-off-by: Domen Kožar <domen@dev.si>
2016-09-21 12:04:17 +02:00
Robin Gloster
6a04de991c
linuxPackages_3_12.ena: fix build 2016-08-29 16:35:13 +00:00
Robin Gloster
0f274be2fd linuxPackages.ena: disable pic 2016-08-13 10:12:07 +00:00
Eelco Dolstra
8710672225 ena: Init at 20160629
This adds the Amazon Elastic Network Adapter kernel module required by
EC2 x1.* instances.
2016-07-11 14:32:18 +02:00