diff options
author | Eli Cohen | 2015-10-08 17:13:58 +0300 |
---|---|---|
committer | David S. Miller | 2015-10-09 07:27:48 -0700 |
commit | 020446e01eebc9dbe7eda038e570ab9c7ab13586 (patch) | |
tree | 5d8f970c6061ae1ef437856a8b6bd0cc187357d3 /lib/flex_array.c | |
parent | 5a7883989b1c57513bb4067ca4b42c96d449d1a5 (diff) |
net/mlx5_core: Prepare cmd interface to system errors handling
In preparation to handling system errors at the mlx5_core level, change the
interface of cmd_work_handler to accept a 64 bit argument for the vector.
This allows to encode a flag that signifies when the handler is called
as a result of a driver logic that wishes to terminate commands that
the hardware may not be able to terminate. Such command completions
are detected at the handler and proper return status is encoded.
To be able to terminate page handler commands, we make sure to set
the corresponding bit in the bitmask.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions