From ed195d5e4f3d0e7cf4cf9c2c4d7ff3762268265c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 6 Aug 2010 17:28:04 +0000 Subject: [PATCH] Added more comments. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1939 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 590ca9e3e..bfe94ba35 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1128,6 +1128,12 @@ out: * * Side Effect: * Resets ch->req_lim_delta. + * + * Note: + * The caller must either pass the returned value to the initiator in the + * REQUEST LIMIT DELTA field of an SRP information unit or pass the returned + * value to srpt_undo_req_lim_delta(). Any other approach will result in an + * SRP protocol violation. */ static int srpt_req_lim_delta(struct srpt_rdma_ch *ch) {