lkml.org 
[lkml]   [2014]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/3] x86/hash: swap parameters of crc32_u32()
    On 02/24/2014 12:03 AM, Jan Beulich wrote:
    > rte_hash_crc_4byte(uint32_t data, uint32_t init_val)
    >
    > as opposed to
    >
    > static inline u32 crc32_u32(u32 crc, u32 val)
    >
    > (quite obviously data <-> val and crc <-> init_val, supported
    > by the second argument in each caller being named "seed").
    >

    "Quite obviously", but unfortunately wrong (see other email).

    -hpa




    \
     
     \ /
      Last update: 2014-02-24 14:21    [W:4.276 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site