Re: [openib-general] Re: [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux