]> git.baikalelectronics.ru Git - kernel.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)
commit21810e3a5e7a7b7d5e64c9acfa81a200a991928d
treec8d0af3070bdae5a365a3791a702750dbcde4bc1
parentbb3e0e0cd8b55ec00cf856d674fcf6252a2d6f8f
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