summaryrefslogtreecommitdiff
path: root/config/common_bsdapp
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2015-07-20 23:01:36 +0530
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-07-22 15:04:16 +0200
commit1f8613f16d5fc7b0fa85621d4c2917912cc2154d (patch)
tree9bc173bc334f02fba771e41f66f77cb91ef71005 /config/common_bsdapp
parent82ecf62eded2429251b8e6773901a7fe2989fc86 (diff)
downloaddpdk-1f8613f16d5fc7b0fa85621d4c2917912cc2154d.zip
dpdk-1f8613f16d5fc7b0fa85621d4c2917912cc2154d.tar.gz
dpdk-1f8613f16d5fc7b0fa85621d4c2917912cc2154d.tar.xz
cxgbe: enable build on FreeBSD
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD by adding CXGBE prefix to them. Also remove reference to a linux header linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for FreeBSD. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'config/common_bsdapp')
-rw-r--r--config/common_bsdapp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/common_bsdapp b/config/common_bsdapp
index 4e505bf..e96e4a5 100644
--- a/config/common_bsdapp
+++ b/config/common_bsdapp
@@ -217,7 +217,7 @@ CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=1
#
# Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD
#
-CONFIG_RTE_LIBRTE_CXGBE_PMD=n
+CONFIG_RTE_LIBRTE_CXGBE_PMD=y
CONFIG_RTE_LIBRTE_CXGBE_DEBUG=n
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=n
CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=n