diff options
author | Ira Weiny <ira.weiny@intel.com> | 2015-05-14 03:02:58 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-05-20 19:38:13 +0300 |
commit | 7738613e7cb419179545910744b1777d87edac5c (patch) | |
tree | fb2f63a6dd2b81c536cff96e2e60ca3c2173e82d /drivers/hwspinlock | |
parent | 26c454288a4beac774ea31c15284783fcd75721d (diff) | |
download | linux-7738613e7cb419179545910744b1777d87edac5c.tar.xz |
IB/core: Add per port immutable struct to ib_device
As of commit 5eb620c81ce3 "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>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions