From: Roland Dreier <rolandd@cisco.com>
To: general@lists.openfabrics.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] [RFC]IB/mlx4: Mellanox ConnectX adapter driver
Date: Fri, 20 Apr 2007 15:32:36 -0700 [thread overview]
Message-ID: <20074201532.4PiF0gUjC19I1fhy@cisco.com> (raw)
In-Reply-To: <adawt0k3lt1.fsf@cisco.com>
As promised, here is a series of patches adding the mlx4_core and
mlx4_ib drivers for the new Mellanox ConnectX adapter. These patches
are split up in an ad hoc way to avoid mailing list size limits, but
when this driver is finally merged, I will give it to Linus to pull in
a single changeset. The full driver is also available via git from
master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git connectx
and it is also in my for-mm patch, so Andrew will pick it up for -mm
kernels automatically.
The driver is split into two kernel modules because the ConnectX
adapter can be used as an InfiniBand adapter, 1G/10G ethernet NIC, and
an fibre channel HBA at the same time, and so resource management and
basic tasks such as issuing commands to the firmware are handled in a
mlx4_core module, while everything InfiniBand-specific is in mlx4_ib.
In the not-to-distant future, an mlx4_eth module that handles ethernet
NIC stuff will be released.
My goal is to merge this for 2.6.22. If you feel that would not be
appropriate, please do let me know and I will hold off. And of course
all criticisms, suggestions, comments, etc. are very much appreciated.
My feeling is that the driver is fairly clean already (and I will do
some further cleanup before merging) and seems to be reasonably
usable, and I trust myself to continue cleaning things up, so there's
not much to be gained by waiting a release cycle.
The overall driver is not too huge -- 11371 insertions in the diffstat:
drivers/infiniband/Kconfig | 2 +
drivers/infiniband/Makefile | 1 +
drivers/infiniband/hw/mlx4/Kconfig | 9 +
drivers/infiniband/hw/mlx4/Makefile | 3 +
drivers/infiniband/hw/mlx4/ah.c | 100 +++
drivers/infiniband/hw/mlx4/cq.c | 525 ++++++++++++++
drivers/infiniband/hw/mlx4/doorbell.c | 215 ++++++
drivers/infiniband/hw/mlx4/mad.c | 339 +++++++++
drivers/infiniband/hw/mlx4/main.c | 612 ++++++++++++++++
drivers/infiniband/hw/mlx4/mlx4_ib.h | 285 ++++++++
drivers/infiniband/hw/mlx4/mr.c | 184 +++++
drivers/infiniband/hw/mlx4/qp.c | 1263 +++++++++++++++++++++++++++++++++
drivers/infiniband/hw/mlx4/srq.c | 334 +++++++++
drivers/infiniband/hw/mlx4/user.h | 91 +++
drivers/net/Kconfig | 14 +
drivers/net/Makefile | 1 +
drivers/net/mlx4/Makefile | 4 +
drivers/net/mlx4/alloc.c | 179 +++++
drivers/net/mlx4/cmd.c | 429 +++++++++++
drivers/net/mlx4/cq.c | 254 +++++++
drivers/net/mlx4/eq.c | 704 ++++++++++++++++++
drivers/net/mlx4/fw.c | 758 ++++++++++++++++++++
drivers/net/mlx4/fw.h | 165 +++++
drivers/net/mlx4/icm.c | 379 ++++++++++
drivers/net/mlx4/icm.h | 135 ++++
drivers/net/mlx4/intf.c | 142 ++++
drivers/net/mlx4/main.c | 939 ++++++++++++++++++++++++
drivers/net/mlx4/mcg.c | 370 ++++++++++
drivers/net/mlx4/mlx4.h | 334 +++++++++
drivers/net/mlx4/mr.c | 482 +++++++++++++
drivers/net/mlx4/pd.c | 102 +++
drivers/net/mlx4/profile.c | 238 +++++++
drivers/net/mlx4/qp.c | 270 +++++++
drivers/net/mlx4/reset.c | 172 +++++
drivers/net/mlx4/srq.c | 227 ++++++
include/linux/mlx4/cmd.h | 178 +++++
include/linux/mlx4/cq.h | 123 ++++
include/linux/mlx4/device.h | 323 +++++++++
include/linux/mlx4/doorbell.h | 97 +++
include/linux/mlx4/driver.h | 59 ++
include/linux/mlx4/qp.h | 288 ++++++++
include/linux/mlx4/srq.h | 42 ++
42 files changed, 11371 insertions(+), 0 deletions(-)
next prev parent reply other threads:[~2007-04-20 22:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-10 4:17 RFC: "mlx4" drivers for Mellanox ConnectX HCAs Roland Dreier
2007-04-20 22:32 ` Roland Dreier [this message]
2007-04-20 22:32 ` [PATCH 1/6] [RFC]mlx4_core main files Roland Dreier
2007-04-20 22:32 ` [PATCH 2/6] [RFC]mlx4_core rest of files Roland Dreier
2007-04-20 22:32 ` [PATCH 3/6] [RFC]mlx4_core public includes Roland Dreier
2007-04-20 22:32 ` [PATCH 4/6] [RFC]mlx4_ib main files Roland Dreier
2007-04-20 22:32 ` [PATCH 5/6] [RFC]mlx4_ib rest of files Roland Dreier
2007-04-20 22:32 ` [PATCH 6/6] [RFC]mlx4 build system stuff Roland Dreier
2007-04-25 20:50 ` [ofa-general] " Steve Wise
2007-04-25 20:57 ` Roland Dreier
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=20074201532.4PiF0gUjC19I1fhy@cisco.com \
--to=rolandd@cisco.com \
--cc=general@lists.openfabrics.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®