netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Steve Wise <swise@opengridcomputing.com>
Cc: rdreier@cisco.com, netdev@vger.kernel.org,
	openib-general@openib.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH  v3 13/13] Kconfig/Makefile
Date: Sun, 10 Dec 2006 14:56:02 -0800	[thread overview]
Message-ID: <20061210145602.d2a8bb98.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20061210223916.27166.82130.stgit@dell3.ogc.int>

On Sun, 10 Dec 2006 16:39:16 -0600 Steve Wise wrote:

>  drivers/infiniband/Kconfig              |    1 +
>  drivers/infiniband/Makefile             |    1 +
>  drivers/infiniband/hw/cxgb3/Kconfig     |   27 +++++++++++++++++++++++++++
>  drivers/infiniband/hw/cxgb3/Makefile    |   12 ++++++++++++
>  drivers/infiniband/hw/cxgb3/locking.txt |   25 +++++++++++++++++++++++++
>  5 files changed, 66 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/infiniband/hw/cxgb3/Kconfig b/drivers/infiniband/hw/cxgb3/Kconfig
> new file mode 100644
> index 0000000..84f0f6e
> --- /dev/null
> +++ b/drivers/infiniband/hw/cxgb3/Kconfig
> @@ -0,0 +1,27 @@
> +config INFINIBAND_CXGB3
> +	tristate "Chelsio RDMA Driver"
> +	depends on CHELSIO_T3 && INFINIBAND
> +	select GENERIC_ALLOCATOR
> +	---help---
> +	  This is an iWARP/RDMA driver for the Chelsio T3 1GbE and
> +	  10GbE adapters.
> +
> +          For general information about Chelsio and our products, visit
> +          our website at <http://www.chelsio.com>.
> +
> +          For customer support, please visit our customer support page at
> +          <http://www.chelsio.com/support.htm>.
> +
> +          Please send feedback to <linux-bugs@chelsio.com>.
> +
> +          To compile this driver as a module, choose M here: the module
> +          will be called iw_cxgb3.

Please indent all of that the same amount.
Kconfig help text should be indented 1 tab + 2 spaces,
like the first 2 lines are.


> diff --git a/drivers/infiniband/hw/cxgb3/locking.txt b/drivers/infiniband/hw/cxgb3/locking.txt
> new file mode 100644
> index 0000000..e5e9991
> --- /dev/null
> +++ b/drivers/infiniband/hw/cxgb3/locking.txt
> @@ -0,0 +1,25 @@
> +cq lock:
> +	- spin lock
> +	- used to synchronize the t3_cq
> +
> +qp lock:
> +	- spin lock
> +	- used to synchronize updates to the qp state, attrs, and the t3_wq.
> +	- touched on interrupt and process context
> +	
> +rnicp lock:
> +	- spin lock
> +	- touched on interrupt and process context
> +	- used around lookup tables mapping CQID and QPID to a structure.
> +	- used also to bump the refcnt atomically with the lookup.
> +
> +poll:
> +	lock+disable on cq lock
> +		lock qp lock for each cqe that is polled around the call
> +		to cxio_poll_cq().
> +	
> +post: 
> +	lock+disable qp lock
> +
> +global mutex iwch_mutex:
> +	used to maintain global device list.

Should be in Documentation/infiniband/.
Docs go in the Documentation/ dir, not in drivers/ dir.

---
~Randy

  reply	other threads:[~2006-12-10 22:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-10 22:32 [PATCH v3 00/13] 2.6.20 Chelsio T3 RDMA Driver Steve Wise
2006-12-10 22:33 ` [PATCH v3 01/13] Linux RDMA Core Changes Steve Wise
2006-12-10 22:33 ` [PATCH v3 02/13] Device Discovery and ULLD Linkage Steve Wise
2006-12-10 22:34 ` [PATCH v3 03/13] Provider Methods and Data Structures Steve Wise
2006-12-10 22:34 ` [PATCH v3 04/13] Connection Manager Steve Wise
2006-12-10 22:35 ` [PATCH v3 05/13] Queue Pairs Steve Wise
2006-12-10 22:35 ` [PATCH v3 06/13] Completion Queues Steve Wise
2006-12-10 22:36 ` [PATCH v3 07/13] Async Event Handler Steve Wise
2006-12-10 22:36 ` [PATCH v3 08/13] Memory Registration Steve Wise
2006-12-10 22:37 ` [PATCH v3 09/13] Core WQE/CQE Types Steve Wise
2006-12-10 22:37 ` [PATCH v3 10/13] Core HAL Steve Wise
2006-12-10 22:38 ` [PATCH v3 11/13] Core Resource Allocation Steve Wise
2006-12-10 22:38 ` [PATCH v3 12/13] Core Debug functions Steve Wise
2006-12-10 22:39 ` [PATCH v3 13/13] Kconfig/Makefile Steve Wise
2006-12-10 22:56   ` Randy Dunlap [this message]
2006-12-10 23:04     ` Steve WIse
2006-12-11  5:02     ` Roland Dreier
2006-12-11  4:02 ` [PATCH v3 00/13] 2.6.20 Chelsio T3 RDMA Driver Roland Dreier
2006-12-11 15:36   ` Steve Wise
2006-12-11 19:25     ` Divy Le Ray
2006-12-11 19:49       ` Divy Le Ray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061210145602.d2a8bb98.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=openib-general@openib.org \
    --cc=rdreier@cisco.com \
    --cc=swise@opengridcomputing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).