]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Implement the ODP capability query verb
authorHaggai Eran <haggaie@mellanox.com>
Thu, 11 Dec 2014 15:04:20 +0000 (17:04 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:19:02 +0000 (18:19 -0800)
commit33cf8d2d397d54429d5bcad8ae9e6d8f1d907884
treec9372550bc0430d23f87862451a405038dbf0d93
parent58625c134a170d54ba3057deb5b5498574c71ebe
IB/mlx5: Implement the ODP capability query verb

The patch adds infrastructure to query ODP capabilities in the mlx5
driver. The code will read the capabilities from the device, and
enable only those capabilities that both the driver and the device
supports.  At this point ODP is not supported, so no capability is
copied from the device, but the patch exposes the global ODP device
capability bit.

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/infiniband/hw/mlx5/Makefile
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/odp.c [new file with mode: 0644]