]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/ocrdma: Always resolve destination mac from GRH for UD QPs
authorDevesh Sharma <devesh.sharma@emulex.com>
Mon, 24 Nov 2014 04:33:39 +0000 (10:03 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 16 Dec 2014 02:13:09 +0000 (18:13 -0800)
commite5f0508d43b45d138d426afcaa1e4cce7658cff4
tree9e044a2b6e27c93f4a76c5b5165b17add1ed1752
parent95bf0093a95f864044d7782ddd15528350f915be
RDMA/ocrdma: Always resolve destination mac from GRH for UD QPs

For user applications that use UD QPs, always resolve destination MAC
from the GRH.  This is to avoid failure due to any garbage value in
the attr->dmac.

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