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)
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