From d8218c3dd3e280314712842a5eda52236b95f738 Mon Sep 17 00:00:00 2001 From: Gal Pressman Date: Thu, 5 Sep 2019 16:45:32 +0300 Subject: [PATCH] linux/efa: Bump driver version to 1.4.0 Reviewed-by: Firas JahJah Reviewed-by: Yossi Leybovich Signed-off-by: Gal Pressman --- kernel/linux/efa/RELEASENOTES.md | 5 +++++ kernel/linux/efa/conf/dkms.conf | 2 +- kernel/linux/efa/debian/changelog | 8 ++++++++ kernel/linux/efa/debian/efa.postinst | 2 +- kernel/linux/efa/debian/efa.prerm | 2 +- kernel/linux/efa/debian/rules | 2 +- kernel/linux/efa/efa_main.c | 4 ++-- kernel/linux/efa/rpm/Makefile | 2 +- kernel/linux/efa/rpm/efa.spec | 5 +++++ 9 files changed, 25 insertions(+), 7 deletions(-) diff --git a/kernel/linux/efa/RELEASENOTES.md b/kernel/linux/efa/RELEASENOTES.md index 31e184dc..45332d86 100644 --- a/kernel/linux/efa/RELEASENOTES.md +++ b/kernel/linux/efa/RELEASENOTES.md @@ -13,6 +13,11 @@ The driver was tested on the following distributions: * CentOS 7.4 * CentOS 7.6 +## r1.4.0 release notes +* Expose device statistics +* Rate limit admin queue error prints +* Properly assign err variable on everbs device creation failure + ## r1.3.1 release notes * Fix build issue in debian/rules file diff --git a/kernel/linux/efa/conf/dkms.conf b/kernel/linux/efa/conf/dkms.conf index 11030476..8b7d0687 100644 --- a/kernel/linux/efa/conf/dkms.conf +++ b/kernel/linux/efa/conf/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="efa" -PACKAGE_VERSION="1.3.1" +PACKAGE_VERSION="1.4.0" CLEAN="make clean" MAKE="make KERNEL_VERSION=${kernelver}" BUILT_MODULE_NAME[0]="efa" diff --git a/kernel/linux/efa/debian/changelog b/kernel/linux/efa/debian/changelog index 03c39faa..67f24cae 100644 --- a/kernel/linux/efa/debian/changelog +++ b/kernel/linux/efa/debian/changelog @@ -1,3 +1,11 @@ +efa (1.4.0-1.amzn1) unstable; urgency=medium + + * Expose device statistics + * Rate limit admin queue error prints + * Properly assign err variable on everbs device creation failure + + -- Gal Pressman Thu, 5 Sep 2019 16:31:33 +0000 + efa (1.3.1-1.amzn1) unstable; urgency=medium * Fix build issue in debian/rules file diff --git a/kernel/linux/efa/debian/efa.postinst b/kernel/linux/efa/debian/efa.postinst index 8004e77a..072cf518 100644 --- a/kernel/linux/efa/debian/efa.postinst +++ b/kernel/linux/efa/debian/efa.postinst @@ -3,7 +3,7 @@ set -e NAME=efa -DRIVER_VERSION=1.3.1 +DRIVER_VERSION=1.4.0 dkms add -m ${NAME} -v ${DRIVER_VERSION} for kernel in $(/bin/ls /lib/modules); do diff --git a/kernel/linux/efa/debian/efa.prerm b/kernel/linux/efa/debian/efa.prerm index f8f7988c..4de2bde3 100644 --- a/kernel/linux/efa/debian/efa.prerm +++ b/kernel/linux/efa/debian/efa.prerm @@ -3,7 +3,7 @@ set -e NAME=efa -DRIVER_VERSION=1.3.1 +DRIVER_VERSION=1.4.0 dkms remove -m ${NAME} -v ${DRIVER_VERSION} --all diff --git a/kernel/linux/efa/debian/rules b/kernel/linux/efa/debian/rules index b16e4276..9d67418b 100755 --- a/kernel/linux/efa/debian/rules +++ b/kernel/linux/efa/debian/rules @@ -9,7 +9,7 @@ include /usr/share/dpkg/pkg-info.mk export DH_VERBOSE = 1 NAME = efa -VERSION = 1.3.1 +VERSION = 1.4.0 DESTDIR:=`pwd`/debian/${NAME} INSTALL_PATH = /usr/src/${NAME}-${VERSION} diff --git a/kernel/linux/efa/efa_main.c b/kernel/linux/efa/efa_main.c index c6de7401..116ac547 100644 --- a/kernel/linux/efa/efa_main.c +++ b/kernel/linux/efa/efa_main.c @@ -22,8 +22,8 @@ static const struct pci_device_id efa_pci_tbl[] = { }; #define DRV_MODULE_VER_MAJOR 1 -#define DRV_MODULE_VER_MINOR 3 -#define DRV_MODULE_VER_SUBMINOR 1 +#define DRV_MODULE_VER_MINOR 4 +#define DRV_MODULE_VER_SUBMINOR 0 #ifndef DRV_MODULE_VERSION #define DRV_MODULE_VERSION \ diff --git a/kernel/linux/efa/rpm/Makefile b/kernel/linux/efa/rpm/Makefile index c250ebd2..a396d600 100644 --- a/kernel/linux/efa/rpm/Makefile +++ b/kernel/linux/efa/rpm/Makefile @@ -1,7 +1,7 @@ # Makefile for creating rpm of the Amazon EFA driver NAME = efa -VERSION = 1.3.1 +VERSION = 1.4.0 TOPDIR := $(shell git rev-parse --show-toplevel) TAG = master diff --git a/kernel/linux/efa/rpm/efa.spec b/kernel/linux/efa/rpm/efa.spec index 1b87563c..3923fe9a 100644 --- a/kernel/linux/efa/rpm/efa.spec +++ b/kernel/linux/efa/rpm/efa.spec @@ -66,6 +66,11 @@ install -m 644 RELEASENOTES.md %{buildroot}%{install_path} /etc/modprobe.d/efa.conf %changelog +* Thu Sep 5 2019 Gal Pressman - 1.4.0 +- Expose device statistics +- Rate limit admin queue error prints +- Properly assign err variable on everbs device creation failure + * Thu Aug 8 2019 Gal Pressman - 1.3.1 - Fix build issue in debian/rules file - Fix kcompat issue (usage before include)