| To: | arnd@xxxxxxxx |
|---|---|
| Subject: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Mon, 20 Dec 2004 22:17:09 +0900 (JST) |
| Cc: | roland@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, openib-general@xxxxxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx |
| In-reply-to: | <200412201314.35502.arnd@xxxxxxxx> |
| Organization: | USAGI Project |
| References: | <200412192215.fZX1ZQqQD4QGkKcF@xxxxxxxxxxx> <20041220.155836.75677852.yoshfuji@xxxxxxxxxxxxxx> <200412201314.35502.arnd@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
In article <200412201314.35502.arnd@xxxxxxxx> (at Mon, 20 Dec 2004 13:14:35
+0100), Arnd Bergmann <arnd@xxxxxxxx> says:
> 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.
No, it is not the similar case.
--yoshfuji
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] PKT_SCHED: Fix cls indev validation, Thomas Graf |
|---|---|
| Next by Date: | Re: primary and secondary ip addresses, jamal |
| Previous by Thread: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver, Arnd Bergmann |
| Next by Thread: | Re: [PATCH][v4][19/24] Add IPoIB (IP-over-InfiniBand) driver, Arnd Bergmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |