]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/ocrdma: Initialize the GID table while registering the device
authorSelvin Xavier <selvin.xavier@emulex.com>
Tue, 10 Jun 2014 14:02:25 +0000 (19:32 +0530)
committerRoland Dreier <roland@purestorage.com>
Fri, 1 Aug 2014 22:07:49 +0000 (15:07 -0700)
commitb8806324ea0b242bcf0cf5740f2ceb1e56381c36
treec8d0af3070bdae5a365a3791a702750dbcde4bc1
parent4f1df8440d26bafe0be6ef4dbf17162a1263d3fc
RDMA/ocrdma: Initialize the GID table while registering the device

Current GID table gets updated only at the time of inet notification.
Fix this by initializing the table at the time of device registration.

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