]> git.baikalelectronics.ru Git - kernel.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)
commitab7d713abbd79247ffdbbb9a048aee52e50cce2b
tree9e044a2b6e27c93f4a76c5b5165b17add1ed1752
parent67257db665c3f622b956d5cce5bfc2de1572d595
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