mlx5_core: Add support for page faults events and low level handling
authorHaggai Eran <haggaie@mellanox.com>
Thu, 11 Dec 2014 15:04:19 +0000 (17:04 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:18:59 +0000 (18:18 -0800)
commite420f0c0f3d1022789fcb59b2a0c4b979ce311ba
tree205d214ec065db728f2c7037d58a400f0e3bef8a
parent6cb7ff3dcfe6aad6a36a0fd0e928b5bea4fabdd5
mlx5_core: Add support for page faults events and low level handling

* Add a handler function pointer in the mlx5_core_qp struct for page
  fault events. Handle page fault events by calling the handler
  function, if not NULL.
* Add on-demand paging capability query command.
* Export command for resuming QPs after page faults.
* Add various constants related to paging support.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/fw.c
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/qp.h