From 7617a7136753ca2d00f52dd67797c2e65bbf1fa6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 19 May 2009 17:58:06 +0000 Subject: [PATCH] Added more comments. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@863 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index f2350d1e4..8872be8ba 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -161,10 +161,13 @@ struct srpt_rdma_ch { struct srpt_port { struct srpt_device *sdev; struct ib_mad_agent *mad_agent; + /* One-based port number. */ u8 port; + /* Cached values of the port's sm_lid, lid and gid. */ u16 sm_lid; u16 lid; union ib_gid gid; + /* Work structure for refreshing the aforementioned cached values. */ struct work_struct work; };