[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] Re: [PATCH 17/56] microblaze_v2: checksum support
- To: Arnd Bergmann <arnd@xxxxxxxx>
- Subject: [microblaze-uclinux] Re: [PATCH 17/56] microblaze_v2: checksum support
- From: Michal Simek <monstr@xxxxxxxxx>
- Date: Mon, 05 May 2008 16:05:08 +0200
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, stephen.neuendorffer@xxxxxxxxxx, John.Linn@xxxxxxxxxx, john.williams@xxxxxxxxxxxxx, matthew@xxxxxx, will.newton@xxxxxxxxx, drepper@xxxxxxxxxx, microblaze-uclinux@xxxxxxxxxxxxxx, grant.likely@xxxxxxxxxxxx, Michal Simek <monstr@xxxxxxxxx>
- In-reply-to: <200805042159.55077.arnd@xxxxxxxx>
- References: <1209901305-6404-1-git-send-email-monstr@xxxxxxxxx> <625ef466cf121d655539eedc919dd39166087e0c.1209897266.git.monstr@xxxxxxxxx> <b5067a1846075ddd1035966ea1edc908579e2e88.1209897266.git.monstr@xxxxxxxxx> <200805042159.55077.arnd@xxxxxxxx>
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
- User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Hi,
>> + *
>> + * INET An implementation of the TCP/IP protocol suite for the LINUX
>> + * operating system. INET is implemented using the BSD Socket
>> + * interface as the means of communication with the user level.
>> + *
>> + * IP/TCP/UDP checksumming routines
>> + *
>> + * Authors: Jorge Cwik, <jorge@xxxxxxxxxxxxxxxxx>
>> + * Arnt Gulbrandsen, <agulbra@xxxxxxxxxxx>
>> + * Tom May, <ftom@xxxxxxxxxx>
>> + * Andreas Schwab, <schwab@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
>> + * Lots of code moved from tcp.c and ip.c; see those files
>> + * for more names.
>
> This is a pretty generic implementation, and you copied it from another
> architecture. How about moving it from arch/microblaze/lib/ to lib/?
> I'd suggest building it conditionally under CONFIG_GENERIC_CSUM,
> which you def_bool in your architecture Kconfig.
>
> Arnd <><
I move checksum.c to /lib and checksum.h to asm-generic and add to GENERIC_CSUM
to Kconfig
6 config MICROBLAZE
7 def_bool y
8 select HAVE_LMB
9 select GENERIC_CSUM
M
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/