diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2018-12-19 11:00:27 -0500 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 12:05:18 -0500 |
| commit | e0f86bc4f990edb56440640964fdcf3f3cf4e240 (patch) | |
| tree | 91f9ffac26029d67c10199fcf63a704c079eaea4 /net | |
| parent | acf0a39f4f277d0cb7178be5ec8a808c6c2bcd9c (diff) | |
xprtrdma: Update comments in frwr_op_send
Commit f2877623082b ("xprtrdma: Chain Send to FastReg WRs") was
written before commit ce5b37178283 ("xprtrdma: Replace all usage of
"frmr" with "frwr""), but was merged afterwards. Thus it still
refers to FRMR and MWs.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
| -rw-r--r-- | net/sunrpc/xprtrdma/frwr_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/frwr_ops.c b/net/sunrpc/xprtrdma/frwr_ops.c index 8a0f1a6e6927..35c8f62ad61e 100644 --- a/net/sunrpc/xprtrdma/frwr_ops.c +++ b/net/sunrpc/xprtrdma/frwr_ops.c | |||
| @@ -479,7 +479,7 @@ out_mapmr_err: | |||
| 479 | * @ia: interface adapter | 479 | * @ia: interface adapter |
| 480 | * @req: Prepared RPC Call | 480 | * @req: Prepared RPC Call |
| 481 | * | 481 | * |
| 482 | * For FRMR, chain any FastReg WRs to the Send WR. Only a | 482 | * For FRWR, chain any FastReg WRs to the Send WR. Only a |
| 483 | * single ib_post_send call is needed to register memory | 483 | * single ib_post_send call is needed to register memory |
| 484 | * and then post the Send WR. | 484 | * and then post the Send WR. |
| 485 | * | 485 | * |
| @@ -507,7 +507,7 @@ int frwr_send(struct rpcrdma_ia *ia, struct rpcrdma_req *req) | |||
| 507 | } | 507 | } |
| 508 | 508 | ||
| 509 | /* If ib_post_send fails, the next ->send_request for | 509 | /* If ib_post_send fails, the next ->send_request for |
| 510 | * @req will queue these MWs for recovery. | 510 | * @req will queue these MRs for recovery. |
| 511 | */ | 511 | */ |
| 512 | return ib_post_send(ia->ri_id->qp, post_wr, NULL); | 512 | return ib_post_send(ia->ri_id->qp, post_wr, NULL); |
| 513 | } | 513 | } |
