[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 12 Dec 2013 19:04:14 +0100
From: Daniel Borkmann <dborkman@...hat.com>
To: nicolas.dichtel@...nd.com
CC: Francesco Fusco <ffusco@...hat.com>, jesse@...ira.com,
netdev@...r.kernel.org, dev@...nvswitch.org,
Thomas Graf <tgraf@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2 1/2] lib: introduce arch optimized hash library
On 12/12/2013 06:54 PM, Nicolas Dichtel wrote:
...
> Is it possible to trace that this comes from the DPDK?
> At least in the commit log, like it was done in the v1.
Hm, that got lost; but we can put that back into the commit log.
In any case, we properly included the header comment, of course.
>> +static inline u32 crc32_u32(u32 crc, u32 val)
>> +{
>> + asm ("crc32l %1,%0\n" : "+r" (crc) : "rm" (val));
> I'm not an expert, but is it not possible to use intrisics functions, like it is
> done in the original code?
Intrinsics are not used/available in the kernel, so we used asm
as everywhere else.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists