aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIsrael Rukshin <[email protected]>2019-10-13 19:57:34 +0300
committerJens Axboe <[email protected]>2019-11-04 10:56:41 -0700
commit59534b9d606e7f566970a6f8621c6022f7c19ff1 (patch)
treec8bbe262d1f014b9c7bca2142b03535446995196 /net/switchdev/switchdev.c
parente522f446027845e3c8b563d021f37e8f3d30c9d9 (diff)
nvmet-rdma: add unlikely check at nvmet_rdma_map_sgl_keyed
The calls to nvmet_req_alloc_sgl and rdma_rw_ctx_init should usually succeed, so add this simple optimization to the fast path. Signed-off-by: Israel Rukshin <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions