OSDN Git Service

IB/hfi1: Consolidate the creation of user TIDs
authorDean Luick <dean.luick@cornelisnetworks.com>
Mon, 9 Jan 2023 19:04:14 +0000 (14:04 -0500)
committerLeon Romanovsky <leon@kernel.org>
Tue, 10 Jan 2023 10:52:35 +0000 (12:52 +0200)
commitd8f4ab01c6d0d59f7010b27c3b4ffca512324457
tree8061c1ae967bbce6c5e2f1bc8aeed43ffb7c6651
parenta479433a6b7a2b0f21da3071d6a9afb66bfd5887
IB/hfi1: Consolidate the creation of user TIDs

The function rcventry2tidinfo() only creates part of
a TID and all calls to it are only used to make a user
TID.  Consolidate all usage into a single routine.

Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167329105402.1472990.9685946655723333660.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hfi1/exp_rcv.h
drivers/infiniband/hw/hfi1/user_exp_rcv.c