]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: fix broken interface between ENA driver and FW
authorArthur Kiyanovski <akiyano@amazon.com>
Wed, 26 Feb 2020 10:03:35 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 04:47:58 +0000 (20:47 -0800)
commitdad9eafec50603f8acbe1e7f3cd4a15b06c3604f
treeb11f6dab4d3ecbf87f787f92130342537f72afd0
parentb7913e3f175d1ccbc4c0e13dd4b480b098a9d9ee
net: ena: fix broken interface between ENA driver and FW

In this commit we revert the part of
commit 7a9e60fac020 ("net/amazon: Ensure that driver version is aligned to the linux kernel"),
which breaks the interface between the ENA driver and FW.

We also replace the use of DRIVER_VERSION with DRIVER_GENERATION
when we bring back the deleted constants that are used in interface with
ENA device FW.

This commit does not change the driver version reported to the user via
ethtool, which remains the kernel version.

Fixes: 7a9e60fac020 ("net/amazon: Ensure that driver version is aligned to the linux kernel")
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h