Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 046b30718928d616f7decc79c272fdd4f42cc61d)
Signed-off-by: Kamal Mostafa <email address hidden>
5551ecc...
by
Netanel Belgazal <email address hidden>
net: ena: add new admin define for future support of IPv6 RSS
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 58894d5219c5d3fdd72d4166f007df5004817e84)
Signed-off-by: Kamal Mostafa <email address hidden>
c351816...
by
Netanel Belgazal <email address hidden>
Add a new statistic to ethtool stats that show the number of packets
without transmit acknowledgement from ENA device.
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 11095fdb712b1aaa7ffd6ccd86d0c45d29732eec)
Signed-off-by: Kamal Mostafa <email address hidden>
1b85eb1...
by
Netanel Belgazal <email address hidden>
net: ena: add power management ops to the ENA driver
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 8c5c7abdeb2dfe4b4b28a48702c2cfa83fac15c9)
Signed-off-by: Kamal Mostafa <email address hidden>
d24393c...
by
Netanel Belgazal <email address hidden>
net: ena: remove legacy suspend suspend/resume support
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 <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit dbeaf1e3c24f0e87c8047fc8dcbd8163ab82c8e7)
Signed-off-by: Kamal Mostafa <email address hidden>
92409c1...
by
Netanel Belgazal <email address hidden>
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 modifies the granularity of
the sleeps to 5ms.
This change improves the boot time to 220ms.
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 88aef2f51c9e3640268aca04a256b8f26cf6bdff)
Signed-off-by: Kamal Mostafa <email address hidden>
9a24ba9...
by
Netanel Belgazal <email address hidden>
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 <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit a59df396768a7e37c6ddafeb9666a30c8ac07854)
Signed-off-by: Kamal Mostafa <email address hidden>
266b9c9...
by
Netanel Belgazal <email address hidden>
net: ena: fix rare kernel crash when bar memory remap fails
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 411838e7b41c52cf4afa51929cec54c2162472ff)
Signed-off-by: Kamal Mostafa <email address hidden>
5216073...
by
Netanel Belgazal <email address hidden>
Decrease log level of checksum errors as these messages can be
triggered remotely by bad packets.
Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit cd7aea1875c54c69a54a333b75e9d8732503f273)
Signed-off-by: Kamal Mostafa <email address hidden>
IS_ERR() already implies unlikely(), so it can be omitted.
Signed-off-by: Tobias Klauser <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 1f4cf93b133ba6596ae69cfd09b48aa7b47cca41)
Signed-off-by: Kamal Mostafa <email address hidden>