diff options
author | Matan Barak <matanb@mellanox.com> | 2015-10-15 18:38:53 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-22 06:48:18 +0300 |
commit | aa744cc01fe0f21dfbe2744d3fd5f2fb3244c9b3 (patch) | |
tree | af890efc73c2e3a18b04d90abb07281aff4e4367 /drivers/infiniband/core/ucma.c | |
parent | 5c266b2304fb886d1f2b1e3c5f5be91ff1c61254 (diff) | |
download | linux-aa744cc01fe0f21dfbe2744d3fd5f2fb3244c9b3.tar.xz |
IB/core: Remove smac and vlan id from qp_attr and ah_attr
Smac and vlan id could be resolved from the GID attribute, and thus
these attributes aren't needed anymore. Removing them.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
-rw-r--r-- | drivers/infiniband/core/ucma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c index 30467d10df91..3a342dfaac15 100644 --- a/drivers/infiniband/core/ucma.c +++ b/drivers/infiniband/core/ucma.c @@ -1211,7 +1211,6 @@ static int ucma_set_ib_path(struct ucma_context *ctx, return -EINVAL; memset(&sa_path, 0, sizeof(sa_path)); - sa_path.vlan_id = 0xffff; ib_sa_unpack_path(path_data->path_rec, &sa_path); ret = rdma_set_ib_paths(ctx->cm_id, &sa_path, 1); |