RDMA/cxgb4: Fix vlan support
authorSteve Wise <swise@opengridcomputing.com>
Fri, 16 May 2014 17:42:46 +0000 (12:42 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 20 May 2014 01:00:32 +0000 (18:00 -0700)
commit11b8e22d4d0979d8201cbdf0b5fffdbe2d5bcedf
treefb3c6c6361115e839eae6ecc19e97c97e81b16e0
parent65b302ad31b02b0790417f4e65833af494cb35ce
RDMA/cxgb4: Fix vlan support

RDMA connections over a vlan interface don't work due to
import_ep() not using the correct egress device.

 - use the real device in import_ep()
 - use rdma_vlan_dev_real_dev() in get_real_dev().

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c