From: Netanel Belgazal <neta...@amazon.com>
This patchset contains fixes for the bugs that were discovered so far.
Netanel Belgazal (8):
net: ena: fix rare uncompleted admin command false alarm
net: ena: fix bug that might cause hang after consecutive open/close
interface.
ne
From: Netanel Belgazal <neta...@amazon.com>
The current flow to detect admin completion is:
while (command_not_completed) {
if (timeout)
error
check_for_completion()
sleep()
}
So in case the sleep took more than the timeout
(in case the
From: Netanel Belgazal <neta...@amazon.com>
Fixing a bug that the driver does not unmask the IO interrupts
in ndo_open():
occasionally, the MSI-X interrupt (for one or more IO queues)
can be masked when ndo_close() was called.
If that is followed by ndo open(),
then the MSI-X will be still
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/ethernet/amazon/ena/
From: Netanel Belgazal <neta...@amazon.com>
check_for_missing_tx_completions() is called from a timer
task and looking for lost tx packets.
The old implementation accumulate all the lost tx packets
and did not check if those packets were retrieved on a later stage.
This cause to a situation
From: Netanel Belgazal <neta...@amazon.com>
Bug:
"Completion context is occupied" error printout will be noticed in
dmesg.
This error will cause the admin command to fail, which will lead to
an ena_probe() failure or a watchdog reset (depends on which admin
command fail
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
This patch also change the mapping functions to devm_ functions
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains fixes for the bugs that were discovered so far.
Netanel Belgazal (8):
net: ena: fix rare uncompleted admin command false alarm
net: ena: fix bug that might cause hang after consecutive open/close
interface.
ne
From: Netanel Belgazal <neta...@amazon.com>
The current flow to detect admin completion is:
while (command_not_completed) {
if (timeout)
error
check_for_completion()
sleep()
}
So in case the sleep took more than the timeout
(in case the
From: Netanel Belgazal <neta...@amazon.com>
This patch also change the mapping functions to devm_ functions
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/ethernet/amazon/ena/
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
Fixing a bug that the driver does not unmask the IO interrupts
in ndo_open():
occasionally, the MSI-X interrupt (for one or more IO queues)
can be masked when ndo_close() was called.
If that is followed by ndo open(),
then the MSI-X will be still
From: Netanel Belgazal <neta...@amazon.com>
Bug:
"Completion context is occupied" error printout will be noticed in
dmesg.
This error will cause the admin command to fail, which will lead to
an ena_probe() failure or a watchdog reset (depends on which admin
command fail
From: Netanel Belgazal <neta...@amazon.com>
check_for_missing_tx_completions() is called from a timer
task and looking for lost tx packets.
The old implementation accumulate all the lost tx packets
and did not check if those packets were retrieved on a later stage.
This cause to a situation
From: Netanel Belgazal <neta...@amazon.com>
Instead of using:
memset(ptr, 0x0, sizeof(struct ...))
use:
memset(ptr, 0x0, sizeor(*ptr))
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 16
1 file changed, 8 inse
From: Netanel Belgazal <neta...@amazon.com>
With this patch, ENA device can update the ena driver about
the desired timeout values:
These values are part of the "hardware hints" which are transmitted
to the driver as Asynchronous event through ENA async
event notification queue.
From: Netanel Belgazal <neta...@amazon.com>
return -EOPNOTSUPP instead of -EPERM.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 22 +++---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 10 +++---
From: Netanel Belgazal <neta...@amazon.com>
For each device reset, log to the device what is the cause
the reset occur.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 5 +++-
drivers/net/ethernet/amazon/ena/ena_com.
From: Netanel Belgazal <neta...@amazon.com>
rx drop counter is reported by the device in the keep-alive
event.
update the driver's counter with the device counter.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 9 +
1
From: Netanel Belgazal <neta...@amazon.com>
ENA driver post Rx buffers through the Rx submission queue
for the ENA device to fill them with receive packets.
Each Rx buffer is marked with req_id in the Rx descriptor.
Newer ENA devices could consume the posted Rx buffer in out of
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
In ena_com_mem_addr_set(), use the above functions to split dma address
to the lower 32 bits and the higher 16 bits.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 4 ++--
1 fil
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/eth
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 44 +---
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
Current driver tries to allocate msix vectors as the number of the
negotiated io queues. (with another msix vector for management).
If pci_alloc_irq_vectors() fails, the driver aborts the probe
and the ENA network device is never brou
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains some new features/improvements that were added
to the ENA driver to increase its robustness and are based on
experience of wide ENA deployment.
Change log:
V2:
* Remove patch that add inline to C-file static function (cont
From: Netanel Belgazal <neta...@amazon.com>
for optimization purpose, change validate_tx_req_id() to be
inline function.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 44 +---
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/eth
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
rx drop counter is reported by the device in the keep-alive
event.
update the driver's counter with the device counter.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 9 +
1
From: Netanel Belgazal <neta...@amazon.com>
The current flow to detect admin completion is:
while (command_not_completed) {
if (timeout)
error
check_for_completion()
sleep()
}
So in case the sleep took more than the timeout
(in case the
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
Instead of using:
memset(ptr, 0x0, sizeof(struct ...))
use:
memset(ptr, 0x0, sizeor(*ptr))
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 16
1 file changed, 8 inse
From: Netanel Belgazal <neta...@amazon.com>
check_for_missing_tx_completions() is called from a timer
task and looking for lost tx packets.
The old implementation accumulate all the lost tx packets
and did not check if those packets were retrieved on a later stage.
This cause to a situation
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains fixes for the bugs that were discovered so far.
Netanel Belgazal (8):
net: ena: fix rare uncompleted admin command false alarm
net: ena: fix bug that might cause hang after consecutive open/close
interface.
ne
From: Netanel Belgazal <neta...@amazon.com>
Bug:
"Completion context is occupied" error printout will be noticed in
dmesg.
This error will cause the admin command to fail, which will lead to
an ena_probe() failure or a watchdog reset (depends on which admin
command fail
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/ethernet/amazon/ena/
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
This patch also change the mapping functions to devm_ functions
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
From: Netanel Belgazal <neta...@amazon.com>
Fixing a bug that the driver does not unmask the IO interrupts
in ndo_open():
occasionally, the MSI-X interrupt (for one or more IO queues)
can be masked when ndo_close() was called.
If that is followed by ndo open(),
then the MSI-X will be still
From: Netanel Belgazal <neta...@amazon.com>
With this patch, ENA device can update the ena driver about
the desired timeout values:
These values are part of the "hardware hints" which are transmitted
to the driver as Asynchronous event through ENA async
event notification queue.
From: Netanel Belgazal <neta...@amazon.com>
return -EOPNOTSUPP instead of -EPERM.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 22 +++---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 10 +++---
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains some new features/improvements that were added
to the ENA driver to increase its robustness and are based on
experience of wide ENA deployment.
Depends on:
[PATCH net-next 0/8] Bug fixes in ena ethernet driver
Netanel Be
From: Netanel Belgazal <neta...@amazon.com>
Current driver tries to allocate msix vectors as the number of the
negotiated io queues. (with another msix vector for management).
If pci_alloc_irq_vectors() fails, the driver aborts the probe
and the ENA network device is never brou
From: Netanel Belgazal <neta...@amazon.com>
ENA driver post Rx buffers through the Rx submission queue
for the ENA device to fill them with receive packets.
Each Rx buffer is marked with req_id in the Rx descriptor.
Newer ENA devices could consume the posted Rx buffer in out of
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
For each device reset, log to the device what is the cause
the reset occur.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 5 +++-
drivers/net/ethernet/amazon/ena/ena_com.
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
Fixing a bug that the driver does not unmask the IO interrupts
in ndo_open():
occasionally, the MSI-X interrupt (for one or more IO queues)
can be masked when ndo_close() was called.
If that is followed by ndo open(),
then the MSI-X will be still
From: Netanel Belgazal <neta...@amazon.com>
For the rare case where the device runs out of free rx buffer
descriptors (in case of pressure on kernel memory),
and the napi handler continuously fail to refill new Rx descriptors
until device rx queue totally runs out of all free rx buffers
t
From: Netanel Belgazal <neta...@amazon.com>
check_for_missing_tx_completions() is called from a timer
task and looking for lost tx packets.
The old implementation accumulate all the lost tx packets
and did not check if those packets were retrieved on a later stage.
This cause to a situation
From: Netanel Belgazal <neta...@amazon.com>
Fixes: 1738cd3ed342 ("Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 ++
1 file changed, 2 insertions(+)
di
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains fixes for the bugs that were discovered so far.
Netanel Belgazal (9):
net: ena: fix rare uncompleted admin command false alarm
net: ena: fix bug that might cause hang after consecutive open/close
interface.
ne
From: Netanel Belgazal <neta...@amazon.com>
Bug:
"Completion context is occupied" error printout will be noticed in
dmesg.
This error will cause the admin command to fail, which will lead to
an ena_probe() failure or a watchdog reset (depends on which admin
command fail
From: Netanel Belgazal <neta...@amazon.com>
The current flow to detect admin completion is:
while (command_not_completed) {
if (timeout)
error
check_for_completion()
sleep()
}
So in case the sleep took more than the timeout
(in case the
From: Netanel Belgazal <neta...@amazon.com>
This patch also change the mapping functions to devm_ functions
Fixes: 1738cd3ed342 ("Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
Fixes: 1738cd3ed342 ("Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 8
1 file changed, 8 insertions(+)
di
From: Netanel Belgazal <neta...@amazon.com>
ENA driver post Rx buffers through the Rx submission queue
for the ENA device to fill them with receive packets.
Each Rx buffer is marked with req_id in the Rx descriptor.
Newer ENA devices could consume the posted Rx buffer in out of
From: Netanel Belgazal <neta...@amazon.com>
With this patch, ENA device can update the ena driver about
the desired timeout values:
These values are part of the "hardware hints" which are transmitted
to the driver as Asynchronous event through ENA async
event notification queue.
From: Netanel Belgazal <neta...@amazon.com>
for optimization purpose, change validate_tx_req_id() to be
inline function.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/eth
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 44 +---
1 file changed, 27 insertions(+), 17 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena
From: Netanel Belgazal <neta...@amazon.com>
Current driver tries to allocate msix vectors as the number of the
negotiated io queues. (with another msix vector for management).
If pci_alloc_irq_vectors() fails, the driver aborts the probe
and the ENA network device is never brou
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
For each device reset, log to the device what is the cause
the reset occur.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 5 +++-
drivers/net/ethernet/amazon/ena/ena_com.
From: Netanel Belgazal <neta...@amazon.com>
rx drop counter is reported by the device in the keep-alive
event.
update the driver's counter with the device counter.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 9 +
1
From: Netanel Belgazal <neta...@amazon.com>
return -EOPNOTSUPP instead of -EPERM.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 22 +++---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 10 +++---
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains some new features/improvements that were added
to the ENA driver to increase its robustness and are based on
experience of wide ENA deployment.
Netanel Belgazal (13):
net: ena: change return value for unsupported fe
From: Netanel Belgazal <neta...@amazon.com>
Instead of using:
memset(ptr, 0x0, sizeof(struct ...))
use:
memset(ptr, 0x0, sizeor(*ptr))
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_com.c | 16
1 file changed, 8 inse
From: Netanel Belgazal <neta...@amazon.com>
This failure is rare and only found on testing where deliberately fail
devm_ioremap()
[ 451.170464] ena :04:00.0: failed to remap regs bar
451.170549] Workqueue: pciehp-1 pciehp_power_thread
[ 451.170551] task: 88085a5f2d00 task
From: Netanel Belgazal <neta...@amazon.com>
ethtool ena_get_channels() expose the max number of queues as the max
number of queues ENA supports (128 queues) and not the actual number
of created queues.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
Remove ena_device_io_suspend/resume() methods
Those methods were intend to be used by the device to trigger
suspend/resume but eventually it was dropped.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
The ena admin commands timeout is in resolutions of 100ms.
Therefore, When the driver works in polling mode, it sleeps for 100ms
each time. The overall boot time of the ENA driver is ~1.5 sec.
To reduce the boot time, This change mo
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 2 +
drivers/net/ethernet/amazon/ena/ena_netdev.c | 117 --
drivers/net/ethernet/amazon/ena/ena_netdev.h
From: Netanel Belgazal <neta...@amazon.com>
Some fixes for ENA ethernet driver
Netanel Belgazal (3):
net: ena: reduce the severity of some printouts
net: ena: fix rare kernel crash when bar memory remap fails
net: ena: fix wrong max Tx/Rx queues on ethtool
drivers/net/ethernet/amaz
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/eth
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_admin_defs.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ethernet/amazon/ena/ena_admin_defs.h
b/drivers/net/etherne
From: Netanel Belgazal <neta...@amazon.com>
Netanel Belgazal (6):
net: ena: improve ENA driver boot time.
net: ena: remove legacy suspend suspend/resume support
net: ena: add power management ops to the ENA driver
net: ena: add statistics for missed tx packets
net: ena: add new
From: Netanel Belgazal <neta...@amazon.com>
Decrease log level of checksum errors as these messages can be
triggered remotely by bad packets.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 4 ++--
1 file changed, 2 inse
From: Netanel Belgazal <neta...@amazon.com>
Add a new statistic to ethtool stats that show the number of packets
without transmit acknowledgement from ENA device.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_ethtool.c | 1 +
drivers/
From: Netanel Belgazal <neta...@amazon.com>
ENA driver was developed by developers from Annapurna Labs.
Annapurna Labs was acquired by Amazon and the company's domain
(@annapurnalabs.com) will become deprecated soon.
Update the email addresses of the maintainers to the alternative amazon
From: Netanel Belgazal <neta...@amazon.com>
In rare cases, ena driver would reset and re-start the device,
for example, in case of misbehaving application that causes
transmit timeout
The first step in the reset procedure is to stop the Tx traffic by
calling ena_carrier_off().
After the
From: Netanel Belgazal <neta...@amazon.com>
In rare cases, ena driver would reset and re-start the device,
for example, in case of misbehaving application that causes
transmit timeout
The first step in the reset procedure is to stop the Tx traffic by
calling ena_carrier_off().
After the
From: Netanel Belgazal <neta...@amazon.com>
netif_carrier_off() should be called only after register netdev.
Move the function's call after the registration.
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.c | 4 ++--
1 fil
From: Netanel Belgazal <neta...@amazon.com>
ENA admin command queue errors are not handled as part of ena_down().
As a result, in case of error admin queue transitions to non-running
state and aborts all subsequent commands including those coming from
ena_up(). Reset scheduled by the drive
From: Netanel Belgazal <neta...@amazon.com>
Under certain conditions MSI-X interrupt might arrive right after it
was unmasked in ena_up(). There is a chance it would be processed by
the driver before device ENA_FLAG_DEV_UP flag is set. In such a case
the interrupt is ignored.
ENA device op
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains 3 bug fixes:
* handle rare race condition during MSI-X initialization
* fix error processing in ena_down()
* call netif_carrier_off() only after netdev is registered
Netanel Belgazal (3):
net: ena: unmask MSI-X only
From: Netanel Belgazal <neta...@amazon.com>
This patchset contains two changes:
* Add a robust mechanism for detection of stuck Rx/Tx rings due to
missed or misrouted MSI-X
* Increase the driver version to 1.5.0
Netanel Belgazal (2):
net: ena: add detection and recovery mec
From: Netanel Belgazal <neta...@amazon.com>
Signed-off-by: Netanel Belgazal <neta...@amazon.com>
---
drivers/net/ethernet/amazon/ena/ena_netdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.h
b/drivers/net/etherne
1 - 100 of 212 matches
Mail list logo