diff options
author | Moni Shoua <monis@mellanox.co.il> | 2011-07-12 11:23:15 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-07-18 23:50:25 (GMT) |
commit | 2efdd6a038b2d72e74deb8d4725db1663135268c (patch) | |
tree | 9c03373f1cca98e6538f57c7da8984fba57d99ca /scripts/gcc-version.sh | |
parent | 0c9361fcdeccd316ed67d85aa819c08066964c5b (diff) | |
download | linux-fsl-qoriq-2efdd6a038b2d72e74deb8d4725db1663135268c.tar.xz |
RDMA/cma: Don't allow IPoIB port space for IBoE
This patch fixes a kernel crash in cma_set_qkey().
When the link layer is Ethernet, it is wrong to use IPoIB port space
since no IPoIB interface is available. Specifically, setting the
Q_Key when port space is RDMA_PS_IPOIB requires MGID calculation and
an SA query, which doesn't make sense over Ethernet.
Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions