add prefix to cache line macros
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Wed, 19 Nov 2014 12:26:06 +0000 (12:26 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 27 Nov 2014 15:21:11 +0000 (16:21 +0100)
commitfdf20fa7bee9df9037116318a87080e1eb7e757e
tree555c742ef267d7d6b1b60aeaad00f9f1407a62f2
parentbe04c7072745e0471fc185c31c2a2df835ee4e06
add prefix to cache line macros

CACHE_LINE_SIZE is a macro defined in machine/param.h in FreeBSD and
conflicts with DPDK macro version.
Adding RTE_ prefix to avoid conflicts.
CACHE_LINE_MASK and CACHE_LINE_ROUNDUP are also prefixed.

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
[Thomas: updated on HEAD, including PPC]
74 files changed:
app/test-acl/main.c
app/test-pipeline/runtime.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test/test_distributor_perf.c
app/test/test_ivshmem.c
app/test/test_malloc.c
app/test/test_mbuf.c
app/test/test_memzone.c
app/test/test_pmd_perf.c
app/test/test_table.h
doc/guides/sample_app_ug/kernel_nic_interface.rst
examples/dpdk_qat/crypto.c
examples/ip_pipeline/cmdline.c
examples/ip_pipeline/init.c
examples/ip_pipeline/pipeline_passthrough.c
examples/ip_pipeline/pipeline_rx.c
examples/ip_pipeline/pipeline_tx.c
examples/ip_reassembly/main.c
examples/kni/main.c
examples/multi_process/l2fwd_fork/flib.c
examples/multi_process/symmetric_mp/main.c
examples/netmap_compat/lib/compat_netmap.c
examples/qos_sched/main.c
examples/vhost/main.c
examples/vhost_xen/vhost_monitor.c
examples/vm_power_manager/channel_manager.c
examples/vm_power_manager/channel_monitor.c
lib/librte_acl/acl_gen.c
lib/librte_acl/rte_acl.c
lib/librte_acl/rte_acl_osdep_alone.h
lib/librte_distributor/rte_distributor.c
lib/librte_eal/common/eal_common_memzone.c
lib/librte_eal/common/include/rte_memory.h
lib/librte_ether/rte_ethdev.c
lib/librte_hash/rte_hash.c
lib/librte_ip_frag/rte_ip_frag_common.c
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm6.c
lib/librte_malloc/malloc_elem.c
lib/librte_malloc/malloc_elem.h
lib/librte_malloc/malloc_heap.c
lib/librte_malloc/rte_malloc.c
lib/librte_mempool/rte_mempool.c
lib/librte_mempool/rte_mempool.h
lib/librte_pipeline/rte_pipeline.c
lib/librte_pmd_e1000/em_rxtx.c
lib/librte_pmd_e1000/igb_rxtx.c
lib/librte_pmd_i40e/i40e_rxtx.c
lib/librte_pmd_ixgbe/ixgbe_rxtx.c
lib/librte_pmd_virtio/virtio_ethdev.c
lib/librte_pmd_virtio/virtio_rxtx.c
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c
lib/librte_port/rte_port_ethdev.c
lib/librte_port/rte_port_frag.c
lib/librte_port/rte_port_ras.c
lib/librte_port/rte_port_ring.c
lib/librte_port/rte_port_sched.c
lib/librte_port/rte_port_source_sink.c
lib/librte_ring/rte_ring.c
lib/librte_sched/rte_bitmap.h
lib/librte_sched/rte_sched.c
lib/librte_table/rte_table_acl.c
lib/librte_table/rte_table_array.c
lib/librte_table/rte_table_hash_ext.c
lib/librte_table/rte_table_hash_key16.c
lib/librte_table/rte_table_hash_key32.c
lib/librte_table/rte_table_hash_key8.c
lib/librte_table/rte_table_hash_lru.c
lib/librte_table/rte_table_lpm.c
lib/librte_table/rte_table_lpm_ipv6.c
mk/arch/ppc_64/rte.vars.mk