]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: add unlikely checks in the fast path
authorMax Gurtovoy <maxg@mellanox.com>
Mon, 23 Sep 2019 21:32:49 +0000 (00:32 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 1 Oct 2019 14:23:22 +0000 (11:23 -0300)
commitdbb2bdd4e33b78b2e50f4d5e2836103851ccc8cb
tree472d373c26d4f0b11a8ad45c3e33084cc4e217d8
parente9fd108731feb1cbe69263e8029f4bfc455345b9
IB/iser: add unlikely checks in the fast path

ib_post_send, ib_post_recv and ib_dma_map_sg  operations should succeed
unless something unusual happened to the ib device.

Link: https://lore.kernel.org/r/1569274369-29217-1-git-send-email-maxg@mellanox.com
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c