IB/cm: Remove the usage of smac and vid of qp_attr and cm_av
authorMatan Barak <matanb@mellanox.com>
Thu, 15 Oct 2015 15:38:52 +0000 (18:38 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Oct 2015 03:48:18 +0000 (23:48 -0400)
commit5c266b2304fb886d1f2b1e3c5f5be91ff1c61254
treebbb8235d2913e9608bbccb9744e9d7e002794992
parentdbf727de7440f73c4b92be4b958cbc24977e8ca2
IB/cm: Remove the usage of smac and vid of qp_attr and cm_av

The cm and cma don't need to explicitly handle vlan and smac,
as they are resolved from the GID index now. Removing this
portion of code.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-By: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cma.c