From: "Bryan O'Sullivan" <bos@pathscale.com>
To: Roland Dreier <rdreier@cisco.com>
Cc: akpm@osdl.org, greg@kroah.com, linux-kernel@vger.kernel.org,
openib-general@openib.org
Subject: Re: [openib-general] Re: [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17
Date: Fri, 24 Mar 2006 14:33:37 -0800 [thread overview]
Message-ID: <1143239617.30626.83.camel@serpentine.pathscale.com> (raw)
In-Reply-To: <adaveu3pml7.fsf@cisco.com>
On Fri, 2006-03-24 at 13:19 -0800, Roland Dreier wrote:
> Having #ifdef CONFIG_NET all over is definitely suboptimal.
> Unfortunately it looks kind of hard to untangle your skb use from the
> rest of the driver, so putting a dependency on NET might be the best bet.
I don't think it will be that bad, actually. I'll see how it works to
just move skb-based code into a single source file and build it iff
CONFIG_NET.
> How are you building on powerpc?
I have a hack that lets me compile-test, which I used to make sure I was
getting sparse annotations and header inclusions into decent shape.
> Anyway building an ia64 cross toolchain is easy with http://kegel.com/crosstool
I'll take a look.
> I would just get rid of your atomic_clear_mask() and atomic_set_mask()
> calls. They're bogus because you're not even operating on an
> atomic_t, and not many architectures implement them.
They're not obviously defined to operate on atomic_t objects, but what
you say makes sense. I guess that's a peril of using macros for that
stuff.
> Bryan> I've been building with C=1 for months. I'll see if I can
> Bryan> figure out why you're getting such different results.
>
> It's probably because I use CF=-D__CHECK_ENDIAN__ too.
Ah.
> The whole duplicated SMA / ipath_verbs doesn't work without ib_mad loaded.
There is no duplicated SMA code. There are two routines in ipathfs that
handle nodeinfo and portinfo structures, but they're for passing them to
userspace; they don't even really resemble the code in ipath_mad.c.
Regarding "ipath_verbs doesn't work without ib_mad loaded", I don't know
that there's a problem there any more. We took out the use of
ib_register_mad_agent to create an automatic dependency that depmod
would find, and we're just recommending mangling modprobe.conf instead
for now.
> - Andrew raised some questions about the special "pick a device for
> me" that I'm not sure we satisfied him on.
That's possible. Andrew, what's your opinion on that?
> It looks like ipath_copy.c is completely unused now that you're not
> including the ipath_ether driver.
That's true; sorry about that. Do you want me to send you a patch that
drops it and pulls it out of headers and kbuild stuff?
<b
next prev parent reply other threads:[~2006-03-24 22:33 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-24 4:41 [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17 Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 1 of 18] ipath - core device driver Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 2 of 18] ipath - core driver header files Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 3 of 18] ipath - copy and send routines for sending an skb Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 4 of 18] ipath - support for HyperTransport devices Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 5 of 18] ipath - support for PCI Express devices Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 6 of 18] ipath - chip initialisation code Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 7 of 18] ipath - misc driver support code Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 8 of 18] ipath - sysfs and ipathfs support for core driver Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 10 of 18] ipath - support for userspace apps using core driver Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 11 of 18] ipath - layering interfaces used by higher-level driver code Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 12 of 18] ipath - infiniband header files Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 13 of 18] ipath - infiniband UC and UD protocol support Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 14 of 18] ipath - infiniband RC " Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 15 of 18] ipath - misc infiniband code, part 1 Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 16 of 18] ipath - misc infiniband code, part 2 Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 17 of 18] ipath - infiniband verbs support Bryan O'Sullivan
2006-03-24 4:41 ` [PATCH 18 of 18] ipath - kbuild infrastructure Bryan O'Sullivan
2006-03-24 18:57 ` [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17 Roland Dreier
2006-03-24 19:11 ` Bryan O'Sullivan
2006-03-24 20:57 ` Muli Ben-Yehuda
2006-03-24 21:19 ` [openib-general] " Roland Dreier
2006-03-24 22:33 ` Bryan O'Sullivan [this message]
2006-03-24 23:21 ` Roland Dreier
2006-03-25 0:03 ` Bryan O'Sullivan
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=1143239617.30626.83.camel@serpentine.pathscale.com \
--to=bos@pathscale.com \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=openib-general@openib.org \
--cc=rdreier@cisco.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