linux/drivers/infiniband/hw
Michal Kalderon 93a3d05f9d RDMA/qedr: Add kernel capability flags for dpm enabled mode
HW/FW support two types of latency enhancement features.  Until now
user-space implemented only edpm (enhanced dpm).  We add kernel capability
flags to differentiate between current FW in kernel that supports both
ldpm and edpm.  Since edpm is not yet supported for iWARP we add different
flags for iWARP + RoCE.  We also fix bad practice of defining sizes in
rdma-core and pass initialization to kernel, for forward compatibility.

The capability flags are added for backward-forward compatibility between
kernel and rdma-core for qedr.

Before this change there was a field called dpm_enabled which could hold
either 0 or 1 value, this indicated whether RoCE edpm was enabled or
not. We modified this field to be dpm_flags, and bit 1 still holds the
same meaning of RoCE edpm being enabled or not.

Link: https://lore.kernel.org/r/20191121112957.25162-1-michal.kalderon@marvell.com
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-01-03 12:37:00 -04:00
..
bnxt_re RDMA/bnxt_re: Fix missing le16_to_cpu 2019-11-25 10:31:47 -04:00
cxgb4 RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
efa treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hfi1 treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hns RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
i40iw IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
mlx4 IB/mlx4: Follow mirror sequence of device add during device removal 2019-12-12 15:38:15 -05:00
mlx5 IB/mlx5: Fix device memory flows 2019-12-12 16:55:36 -05:00
mthca IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
ocrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
qedr RDMA/qedr: Add kernel capability flags for dpm enabled mode 2020-01-03 12:37:00 -04:00
qib RDMA/qib: Validate ->show()/store() callbacks before calling them 2019-11-14 11:49:15 -04:00
usnic mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
vmw_pvrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00