Skip to content

Commit

Permalink
linux/ena: Update driver version to 2.13.0
Browse files Browse the repository at this point in the history
Also updated release notes and RPM files.

Signed-off-by: Shay Agroskin <[email protected]>
  • Loading branch information
ShayAgros committed Sep 9, 2024
1 parent 86101f5 commit a6ee03f
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 11 deletions.
23 changes: 23 additions & 0 deletions kernel/linux/ena/RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,29 @@ The driver was verified on the following distributions:
* SUSE Linux Enterprise Server 12 SP2 or newer
* SUSE Linux Enterprise Server 15 or newer

## r2.13.0 release notes
**New Features**
* Re-enable AF XDP zero-copy support
* Add support for flow steering
* Allow configuring LPC for less than 16 channels

**Bug fixes**
* Fix wrong memory handling of customer metrics
* Better detection of interrupt coalescing support
* Flush XDP TX queued packets in case of an error
* Hide PHC error bound sysfs file from showing when not supported
* Use flexible array in LPC

**Minor Changes**
* Fix typos and style issues
* Remove RPM installation from the main README
* Improve PHC documentation
* Dump invalid descriptors to the kernel ring to help debug issues
* Support kernel 6.10

**Notes**
* The flow steering feature will be available for newly attached ENIs

## r2.12.3 release notes
**Bug fixes**
* Remove explicit numa specification for Linux
Expand Down
4 changes: 2 additions & 2 deletions kernel/linux/ena/ena_netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include "ena_eth_com.h"

#define DRV_MODULE_GEN_MAJOR 2
#define DRV_MODULE_GEN_MINOR 12
#define DRV_MODULE_GEN_SUBMINOR 3
#define DRV_MODULE_GEN_MINOR 13
#define DRV_MODULE_GEN_SUBMINOR 0

#define DRV_MODULE_NAME "ena"
#ifndef DRV_MODULE_GENERATION
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Author: Cristian Gafton <[email protected]>

NAME = ena
VERSION = 2.12.3
VERSION = 2.13.0

TOPDIR := $(shell git rev-parse --show-toplevel)

Expand Down
12 changes: 6 additions & 6 deletions kernel/linux/rpm/README-rpm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Once the pre-requisites have been installed, you can simply issue a
"make" in this directory to build the kmod src.rpm package:

bash$ make
cd .. && git archive --format=tar --prefix=ena-2.12.3/ -o rpm/ena-2.12.3.tar ena_linux_2.12.3
cd .. && git archive --format=tar --prefix=ena-2.13.0/ -o rpm/ena-2.13.0.tar ena_linux_2.13.0
rpmbuild -bs \
--define '_topdir %(pwd)' --define '_ntopdir %(pwd)' \
--define '_builddir %{_ntopdir}' \
Expand All @@ -46,7 +46,7 @@ rpmbuild -bs \
--define '_rpmdir %{_ntopdir}' \
--define '_srcrpmdir %{_ntopdir}' \
ena.spec
Wrote: /home/ec2-user/amzn-drivers/rpm/ena-2.12.3-1.el7.3.src.rpm
Wrote: /home/ec2-user/amzn-drivers/rpm/ena-2.13.0-1.el7.3.src.rpm
bash$ _


Expand All @@ -55,16 +55,16 @@ COMPILING AND INSTALLING
Once the src.rpm has been created, you can build binary packages for
the installed kernel-devel and kernel-headers environments:

bash$ rpmbuild --rebuild ena-2.12.3-1.el7.3.src.rpm
bash$ rpmbuild --rebuild ena-2.13.0-1.el7.3.src.rpm
[....]
Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.12.3-1.el7.3.x86_64.rpm
Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/ena-debuginfo-2.12.3-1.el7.3.x86_64.rpm
Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.13.0-1.el7.3.x86_64.rpm
Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/ena-debuginfo-2.13.0-1.el7.3.x86_64.rpm
[...]
bash$ _

Now you should be able to install/deploy the resulting binary rpm
packages using your preferred rpm install too. For example, using yum:

bash$ sudo yum -y localinstall
/home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.12.3-1.el7.3.x86_64.rpm
/home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.13.0-1.el7.3.x86_64.rpm

7 changes: 5 additions & 2 deletions kernel/linux/rpm/ena.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%define kmod_name ena
%define kmod_driver_version 2.12.3
%define kmod_driver_version 2.13.0
%define kmod_rpm_release 1
%define kmod_git_hash 3ac3e0bf079b2c0468f759f2213541e214a6dd77
%define kmod_kbuild_dir kernel/linux/ena
Expand All @@ -22,7 +22,7 @@ Source7: preamble

Name: %{kmod_name}
Version: %{kmod_driver_version}
Release: %{kmod_rpm_release}%{?dist}.57
Release: %{kmod_rpm_release}%{?dist}.58
Summary: %{kmod_name} kernel module

Group: System/Kernel
Expand Down Expand Up @@ -103,6 +103,9 @@ install -m 644 -D source/%{kmod_kbuild_dir}/RELEASENOTES.md $RPM_BUILD_ROOT/usr/
rm -rf $RPM_BUILD_ROOT

%changelog
* Wed Aug 21 2024 Shay Agroskin [email protected] - 2.13.0-1.58
- Update ENA driver to version 2.13.0

* Fri Jun 28 2024 Arthur Kiyanovski [email protected] - 2.12.3-1.57
- Update ENA driver to version 2.12.3

Expand Down

0 comments on commit a6ee03f

Please sign in to comment.