Christoph,
All the stubs and wrappers will be removed.
We will also use the native Linux mechanism
where ever you have pointed out and
make beclib it's own module.
Can you point to the bitmask infrastructure
in Linux that you are referring to below ?
If they can eliminate or simplify the
amap macros we will do that.
Thanks.
Subbu
Why do you need all this infrastructure? Any reason the regular
bitmasks in Linux are not enough?
----- Original Message -----
From: Christoph Hellwig [mailto:hch@infradead.org]
To: Subbu Seetharaman [mailto:subbus@serverengines.com]
Cc: jeff@garzik.org, netdev@vger.kernel.org
Sent: Thu, 19 Jun 2008 03:24:32 -0700
Subject: Re: [PATCH 4/12] benet: beclib (h/w access lib) header files
Please use the standard true/false as provided by the kernel headers.
Please use __packed
Please use BUG_ON.
Please use BUILD_BUG_ON.
Please take a look at include/linux/log2.h
Please kill this and just use normal errno values.
These warnings are there for a reason, and having the casts spelled
out where they are required is a good warnings sign.
Should be lower case and without that sa prefix.
Please use the kernel.h helpers.
What do you actually needs this an the helpers for? It seems a rather
odd data structure because linux scatter/gather lists are page-based.
Please just u8 instead of these ugly typedefs.
Why do you need all this infrastructure? Any reason the regular
bitmasks in Linux are not enough?
What's the reasons for this?
Lowercase, please.
Why is this done twice? Also the enum as every type name should be
lower cased.
___________________________________________________________________________________
This message, together with any attachment(s), contains confidential and proprietary information of
ServerEngines Corporation and is intended only for the designated recipient(s) named above. Any unauthorized
review, printing, retention, copying, disclosure or distribution is strictly prohibited. If you are not the
intended recipient of this message, please immediately advise the sender by reply email message and
delete all copies of this message and any attachment(s). Thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]