summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-10-15 17:38:54 +0200
committerDoug Ledford <dledford@redhat.com>2015-10-22 05:48:18 +0200
commit10e07f13c06690488087f5d3f2c59a9728def339 (patch)
treee5477affdbac4335d8e1bcf0cbba8a5b45b76e70 /include
parentIB/core: Remove smac and vlan id from qp_attr and ah_attr (diff)
downloadlinux-10e07f13c06690488087f5d3f2c59a9728def339.tar.xz
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')
-rw-r--r--include/rdma/ib_sa.h2
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 */