RDMA/ocrdma: Resolve L2 address when creating user AH
authordevesh.sharma@emulex.com <devesh.sharma@emulex.com>
Fri, 5 Sep 2014 09:39:48 +0000 (15:09 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 22 Sep 2014 16:37:42 +0000 (09:37 -0700)
commit1be528bcb88d0b854dda1d60b31f4f8f7310f034
treea62856b1a990d9b47bedee1b82ea9d78efda619c
parentf93439e476d012b2503dbb07fe0fc675bcbff099
RDMA/ocrdma: Resolve L2 address when creating user AH

Because of IP-based GIDs, userspace AHs must have MAC and VLAN ID
resolved separately.  Presently, user AHs are broken for ocrdma.  This
patch resolves L2 addresses while creating user AH and obtains the
right DMAC and VLAN ID before creating AH.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ocrdma/ocrdma_ah.c