| To: | YOSHIFUJI Hideaki / åèèæ <yoshfuji@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver |
| From: | Arnd Bergmann <arnd@xxxxxxxx> |
| Date: | Mon, 20 Dec 2004 13:14:35 +0100 |
| Cc: | roland@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, openib-general@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041220.155836.75677852.yoshfuji@linux-ipv6.org> |
| References: | <200412192215.69tnzAhGIT1vQGLF@topspin.com> <200412192215.fZX1ZQqQD4QGkKcF@topspin.com> <20041220.155836.75677852.yoshfuji@linux-ipv6.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.6.2 |
On Maandag 20 Dezember 2004 07:58, YOSHIFUJI Hideaki / åèèæ wrote:
> Roland Dreier <roland@xxxxxxxxxxx> says:
>
> > +enum {
> > +ÂÂÂÂÂIPOIB_PACKET_SIZE Â Â Â Â = 2048,
> > +ÂÂÂÂÂIPOIB_BUF_SIZE ÂÂÂÂÂÂÂÂÂ Â= IPOIB_PACKET_SIZE +
> > IB_GRH_BYTES,
> > +
> > +ÂÂÂÂÂIPOIB_ENCAP_LEN ÂÂÂÂÂÂÂÂ Â= 4,
> > +
> > +ÂÂÂÂÂIPOIB_RX_RING_SIZE ÂÂÂÂÂ Â= 128,
> > +ÂÂÂÂÂIPOIB_TX_RING_SIZE ÂÂÂÂÂ Â= 64,
> > +
>
> above entries does not seem to appropriate for enum (than #define).
According to Documentation/CodingStyle, it actually is preferred like this.
See also include/linux/ide.h for another example where this is done.
Arnd <><
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2/2] ipv4 routing: multipath with cache support, 2.6.10-rc3, Einar Lück |
|---|---|
| Next by Date: | Re: [PATCH 1/2] ipv4 routing: splitting of ip_route_[in|out]put_slow, 2.6.10-rc3, Patrick McHardy |
| Previous by Thread: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver, YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |