From 2034880b37d83fd4cd9cf8974f63a61b47a0846b Mon Sep 17 00:00:00 2001 From: David Arinzon Date: Mon, 25 Jul 2022 17:05:06 +0300 Subject: [PATCH] linux/ena: Bump driver version to 2.7.4 Also update the release notes Signed-off-by: David Arinzon --- kernel/linux/ena/RELEASENOTES.md | 4 ++++ kernel/linux/ena/ena_netdev.h | 2 +- kernel/linux/rpm/Makefile | 2 +- kernel/linux/rpm/README-rpm.txt | 12 ++++++------ kernel/linux/rpm/ena.spec | 7 +++++-- 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/kernel/linux/ena/RELEASENOTES.md b/kernel/linux/ena/RELEASENOTES.md index 3a1a4b4f..2f86bb24 100644 --- a/kernel/linux/ena/RELEASENOTES.md +++ b/kernel/linux/ena/RELEASENOTES.md @@ -32,6 +32,10 @@ The driver was verified on the following distributions: * SUSE Linux Enterprise Server 12 SP3 * SUSE Linux Enterprise Server 15 or newer +## r2.7.4 release notes +**Bug Fixes** +* Fix remaining space check in DRB + ## r2.7.3 release notes **Changes** * Make AF XDP native support experimental diff --git a/kernel/linux/ena/ena_netdev.h b/kernel/linux/ena/ena_netdev.h index be7e50da..e19cd75b 100644 --- a/kernel/linux/ena/ena_netdev.h +++ b/kernel/linux/ena/ena_netdev.h @@ -26,7 +26,7 @@ #define DRV_MODULE_GEN_MAJOR 2 #define DRV_MODULE_GEN_MINOR 7 -#define DRV_MODULE_GEN_SUBMINOR 3 +#define DRV_MODULE_GEN_SUBMINOR 4 #define DRV_MODULE_NAME "ena" #ifndef DRV_MODULE_GENERATION diff --git a/kernel/linux/rpm/Makefile b/kernel/linux/rpm/Makefile index 4f2304a1..a1b97208 100644 --- a/kernel/linux/rpm/Makefile +++ b/kernel/linux/rpm/Makefile @@ -3,7 +3,7 @@ # Author: Cristian Gafton NAME = ena -VERSION = 2.7.3 +VERSION = 2.7.4 TOPDIR := $(shell git rev-parse --show-toplevel) diff --git a/kernel/linux/rpm/README-rpm.txt b/kernel/linux/rpm/README-rpm.txt index cf4b85c7..676438d3 100644 --- a/kernel/linux/rpm/README-rpm.txt +++ b/kernel/linux/rpm/README-rpm.txt @@ -32,7 +32,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.7.3/ -o rpm/ena-2.7.3.tar ena_linux_2.7.3 +cd .. && git archive --format=tar --prefix=ena-2.7.4/ -o rpm/ena-2.7.4.tar ena_linux_2.7.4 rpmbuild -bs \ --define '_topdir %(pwd)' --define '_ntopdir %(pwd)' \ --define '_builddir %{_ntopdir}' \ @@ -41,7 +41,7 @@ rpmbuild -bs \ --define '_rpmdir %{_ntopdir}' \ --define '_srcrpmdir %{_ntopdir}' \ ena.spec -Wrote: /home/ec2-user/amzn-drivers/rpm/ena-2.7.3-1.el7.3.src.rpm +Wrote: /home/ec2-user/amzn-drivers/rpm/ena-2.7.4-1.el7.3.src.rpm bash$ _ @@ -50,10 +50,10 @@ 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.7.3-1.el7.3.src.rpm +bash$ rpmbuild --rebuild ena-2.7.4-1.el7.3.src.rpm [....] -Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.7.3-1.el7.3.x86_64.rpm -Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/ena-debuginfo-2.7.3-1.el7.3.x86_64.rpm +Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.7.4-1.el7.3.x86_64.rpm +Wrote: /home/ec2-user/rpmbuild/RPMS/x86_64/ena-debuginfo-2.7.4-1.el7.3.x86_64.rpm [...] bash$ _ @@ -61,5 +61,5 @@ 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.7.3-1.el7.3.x86_64.rpm +/home/ec2-user/rpmbuild/RPMS/x86_64/kmod-ena-2.7.4-1.el7.3.x86_64.rpm diff --git a/kernel/linux/rpm/ena.spec b/kernel/linux/rpm/ena.spec index 09c2ac96..4ac05cc7 100644 --- a/kernel/linux/rpm/ena.spec +++ b/kernel/linux/rpm/ena.spec @@ -1,5 +1,5 @@ %define kmod_name ena -%define kmod_driver_version 2.7.3 +%define kmod_driver_version 2.7.4 %define kmod_rpm_release 1 %define kmod_git_hash 3ac3e0bf079b2c0468f759f2213541e214a6dd77 %define kmod_kbuild_dir kernel/linux/ena @@ -22,7 +22,7 @@ Source7: preamble Name: %{kmod_name} Version: %{kmod_driver_version} -Release: %{kmod_rpm_release}%{?dist}.37 +Release: %{kmod_rpm_release}%{?dist}.38 Summary: %{kmod_name} kernel module Group: System/Kernel @@ -99,6 +99,9 @@ install -m 644 -D source/%{kmod_kbuild_dir}/RELEASENOTES.md $RPM_BUILD_ROOT/usr/ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jul 25 2022 David Arinzon darinzon@amazon.com - 2.7.4-1.38 +- Update ENA driver to version 2.7.4 + * Wed Jun 15 2022 Shay Agroskin shayagr@amazon.com - 2.7.3-1.37 - Update ENA driver to version 2.7.3