alistair23-linux/include/linux/mlx5
Moshe Shemesh 17d00e839d net/mlx5: Add command entry handling completion
When FW response to commands is very slow and all command entries in
use are waiting for completion we can have a race where commands can get
timeout before they get out of the queue and handled. Timeout
completion on uninitialized command will cause releasing command's
buffers before accessing it for initialization and then we will get NULL
pointer exception while trying access it. It may also cause releasing
buffers of another command since we may have timeout completion before
even allocating entry index for this command.
Add entry handling completion to avoid this race.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2020-05-22 17:28:34 -07:00
..
accel.h
cmd.h
cq.h
device.h net/mlx5: Add support for RDMA TX steering 2020-03-27 13:24:48 -03:00
doorbell.h
driver.h net/mlx5: Add command entry handling completion 2020-05-22 17:28:34 -07:00
eq.h
eswitch.h net/mlx5: E-Switch, Enable reg c1 loopback when possible 2020-03-12 15:00:38 -07:00
fs.h RDMA 5.7 pull request 2020-04-01 18:18:18 -07:00
fs_helpers.h
mlx5_ifc.h RDMA 5.7 pull request 2020-04-01 18:18:18 -07:00
mlx5_ifc_fpga.h net/mlx5: fix spelling mistake "reserverd" -> "reserved" 2020-02-18 15:44:07 +02:00
port.h
qp.h
transobj.h
vport.h