RDMA/rxe: Rename rxe_atomic_reply to atomic_reply
authorXiao Yang <yangx.jy@fujitsu.com>
Tue, 5 Jul 2022 14:52:12 +0000 (22:52 +0800)
committerLeon Romanovsky <leonro@nvidia.com>
Mon, 18 Jul 2022 11:36:18 +0000 (14:36 +0300)
It's better to use the unified naming format.

Link: https://lore.kernel.org/r/20220705145212.12014-2-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe_resp.c

index 5536582..265e46f 100644 (file)
@@ -595,7 +595,7 @@ static struct resp_res *rxe_prepare_res(struct rxe_qp *qp,
 /* Guarantee atomicity of atomic operations at the machine level. */
 static DEFINE_SPINLOCK(atomic_ops_lock);
 
-static enum resp_states rxe_atomic_reply(struct rxe_qp *qp,
+static enum resp_states atomic_reply(struct rxe_qp *qp,
                                         struct rxe_pkt_info *pkt)
 {
        u64 *vaddr;
@@ -1333,7 +1333,7 @@ int rxe_responder(void *arg)
                        state = read_reply(qp, pkt);
                        break;
                case RESPST_ATOMIC_REPLY:
-                       state = rxe_atomic_reply(qp, pkt);
+                       state = atomic_reply(qp, pkt);
                        break;
                case RESPST_ACKNOWLEDGE:
                        state = acknowledge(qp, pkt);