Skip to content

Commit

Permalink
linux/efa: Bump driver version to 2.1.0
Browse files Browse the repository at this point in the history
Reviewed-by: Firas Jahjah <firasj@amazon.com>
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
  • Loading branch information
mrgolin committed Oct 30, 2022
1 parent 8fda87d commit 6fc6364
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 7 deletions.
5 changes: 5 additions & 0 deletions kernel/linux/efa/RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
## Supported Kernel Versions and Distributions
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html#efa-amis

## r2.1.0 release notes
* Add support for CQ receive entries with source GID
* Add 0xefa2 device support
* Fix sysfs show on older kernels

## r1.16.0 release notes
* Add CQ notifications
* Add support for dmabuf
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/conf/dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="efa"
PACKAGE_VERSION="1.16.0"
PACKAGE_VERSION="2.1.0"
CLEAN="cd build; make modules_clean; make clean"
PRE_BUILD="./configure-dkms.sh $kernelver $source_tree"
# Quoted 'make' to suppress DKMS append of KERNELRELEASE
Expand Down
7 changes: 7 additions & 0 deletions kernel/linux/efa/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
efa (2.1.0-1.amzn1) unstable; urgency=medium
* Add support for CQ receive entries with source GID
* Add 0xefa2 device support
* Fix sysfs show on older kernels

-- Michael Margolin <mrgolin@amazon.com> Thu, 27 Oct 2022 19:47:18 +0000

efa (1.16.0-1.amzn1) unstable; urgency=medium
* Add CQ notifications
* Add support for dmabuf
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/efa.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.16.0
DRIVER_VERSION=2.1.0
INSTALL_PATH=/usr/src/${NAME}-${DRIVER_VERSION}

cd $INSTALL_PATH
Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/efa.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

NAME=efa
DRIVER_VERSION=1.16.0
DRIVER_VERSION=2.1.0

dkms remove -m ${NAME} -v ${DRIVER_VERSION} --all

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include /usr/share/dpkg/pkg-info.mk
export DH_VERBOSE = 1

NAME = efa
VERSION = 1.16.0
VERSION = 2.1.0
DESTDIR:=`pwd`/debian/${NAME}
INSTALL_PATH = /usr/src/${NAME}-${VERSION}

Expand Down
2 changes: 1 addition & 1 deletion kernel/linux/efa/rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

NAME = efa
SPEC = $(NAME).spec
VERSION = 1.16.0
VERSION = 2.1.0

TOPDIR := $(shell git rev-parse --show-toplevel)
TAG ?= HEAD
Expand Down
5 changes: 5 additions & 0 deletions kernel/linux/efa/rpm/efa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ install -m 644 neuron_p2p.h %{buildroot}%{install_path}/src
/etc/modprobe.d/efa.conf

%changelog
* Thu Oct 27 2022 Michael Margolin <mrgolin@amazon.com> - 2.1.0
- Add support for CQ receive entries with source GID
- Add 0xefa2 device support
- Fix sysfs show on older kernels

* Mon Jan 24 2022 Firas Jahjah <firasj@amazon.com> - 1.16.0
- Add CQ notifications
- Add support for dmabuf
Expand Down
4 changes: 2 additions & 2 deletions kernel/linux/efa/src/efa_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ static const struct pci_device_id efa_pci_tbl[] = {
{ }
};

#define DRV_MODULE_VER_MAJOR 1
#define DRV_MODULE_VER_MINOR 16
#define DRV_MODULE_VER_MAJOR 2
#define DRV_MODULE_VER_MINOR 1
#define DRV_MODULE_VER_SUBMINOR 0

#ifndef DRV_MODULE_VERSION
Expand Down

0 comments on commit 6fc6364

Please sign in to comment.