diff options
author | Matan Barak <matanb@mellanox.com> | 2015-10-15 18:38:54 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-21 23:48:18 -0400 |
commit | 10e07f13c06690488087f5d3f2c59a9728def339 (patch) | |
tree | e5477affdbac4335d8e1bcf0cbba8a5b45b76e70 /include/rdma/ib_sa.h | |
parent | aa744cc01fe0f21dfbe2744d3fd5f2fb3244c9b3 (diff) | |
download | linux-10e07f13c06690488087f5d3f2c59a9728def339.tar.gz linux-10e07f13c06690488087f5d3f2c59a9728def339.tar.bz2 linux-10e07f13c06690488087f5d3f2c59a9728def339.zip |
IB/core: Remove smac and vlan id from path record
The GID cache accompanies every GID with attributes.
The GID attributes link the GID with its netdevice, which could be
resolved to smac and vlan id easily. Since we've added the netdevice
(ifindex and net) to the path record, storing the L2 attributes is
duplicated data and hence these attributes are removed.
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 'include/rdma/ib_sa.h')
-rw-r--r-- | include/rdma/ib_sa.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h index 406ecf177f21..301969552d0a 100644 --- a/include/rdma/ib_sa.h +++ b/include/rdma/ib_sa.h @@ -155,9 +155,7 @@ struct ib_sa_path_rec { u8 packet_life_time_selector; u8 packet_life_time; u8 preference; - u8 smac[ETH_ALEN]; u8 dmac[ETH_ALEN]; - u16 vlan_id; /* ignored in IB */ int ifindex; /* ignored in IB */ |