linux-sg2042/drivers/infiniband/hw
Ira Weiny 7738613e7c IB/core: Add per port immutable struct to ib_device
As of commit 5eb620c81c "IB/core: Add helpers for uncached GID and P_Key
searches"; pkey_tbl_len and gid_tbl_len are immutable data which are stored in
the ib_device.

The per port core capability flags to be added later are also immutable data to
be stored in the ib_device object.

In preparation for this create a structure for per port immutable data and
place the pkey and gid table lengths within this structure.

"get_port_immutable" is added as a mandatory device function to allow the
drivers to fill in this data.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-05-20 12:38:13 -04:00
..
amso1100 IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
cxgb3 IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
cxgb4 IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
ehca IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
ipath IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
mlx4 IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
mlx5 IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
mthca IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
nes IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
ocrdma IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
qib IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
usnic IB/core: Add per port immutable struct to ib_device 2015-05-20 12:38:13 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00