RDMA/siw: Factor out siw_rx_data helper
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Mon, 13 Nov 2023 11:57:16 +0000 (19:57 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 15 Nov 2023 13:58:13 +0000 (15:58 +0200)
commit60d2136db8780b080bb6d5c7bdb0522b49c4eac6
treec710b5d268a061d817d5f6fb16a0c0565df2ee5a
parent065186d228c5280d0390fde0e7ddba998e66f047
RDMA/siw: Factor out siw_rx_data helper

Remove the redundant code given they share the same logic.

Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20231113115726.12762-8-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/siw/siw_qp_rx.c