IB/iser: Move PI context alloc/free to routines
authorSagi Grimberg <sagig@mellanox.com>
Tue, 14 Apr 2015 15:08:22 +0000 (18:08 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 20:07:13 +0000 (16:07 -0400)
commit4dec2a27e385ac753d754af69f344625f5c50576
tree954b6c3bfb2f9c2e871d7c0d71ed84cdd1395711
parentbd8b944eeeb06f5dac705d2357af3800395174eb
IB/iser: Move PI context alloc/free to routines

Make iser_[create|destroy]_fastreg_desc shorter, more
readable and easily extendable.

This patch does not change any functionality.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_verbs.c