datapath: Backport for architecture hash library.
authorJesse Gross <jesse@nicira.com>
Mon, 16 Dec 2013 08:44:05 +0000 (00:44 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 16 Dec 2013 20:36:26 +0000 (12:36 -0800)
commit3c851001cbd55b080eaaa1c89ae033d8129cac28
tree89e83daf9822e2ded78af59ad267b107fcf7c229
parentf6e6595a528d775ec22b5ef01e1acd8068d23ba0
datapath: Backport for architecture hash library.

The architecture-specific hash library automatically selects either
jhash or CRC32 if it is available on the current processor.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux/Modules.mk
datapath/linux/compat/hash-x86.c [new file with mode: 0644]
datapath/linux/compat/hash.c [new file with mode: 0644]
datapath/linux/compat/include/asm/hash.h [new file with mode: 0644]
datapath/linux/compat/include/linux/hash.h [new file with mode: 0644]