numam-dpdk/lib/librte_lpm
Xuelin Shi afc5c914a0 lpm: fix big endian support
This module uses type conversion between struct and int.
Also truncation and comparison is used with this int.
It is not safe for different endian arch.

Add ifdef for big endian struct to fix this issue.

Signed-off-by: Xuelin Shi <xuelin.shi@freescale.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-07-10 23:23:15 +02:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_lpm6.c tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
rte_lpm6.h tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
rte_lpm_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_lpm.c lib: remove extra parenthesis after return 2015-06-23 23:31:15 +02:00
rte_lpm.h lpm: fix big endian support 2015-07-10 23:23:15 +02:00