From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id BBBFB2C02 for ; Mon, 22 Feb 2016 16:09:06 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 22 Feb 2016 07:09:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,484,1449561600"; d="scan'208";a="921279551" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga002.fm.intel.com with ESMTP; 22 Feb 2016 07:09:02 -0800 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.113]) by IRSMSX103.ger.corp.intel.com ([169.254.3.30]) with mapi id 14.03.0248.002; Mon, 22 Feb 2016 15:09:01 +0000 From: "Trahe, Fiona" To: "Wiles, Keith" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] config: remove duplicate configuration information Thread-Index: AQHRbXiXONNjF6p6O0qgYjk63ETIfZ84KJNw Date: Mon, 22 Feb 2016 15:09:00 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B43588F70F25@IRSMSX101.ger.corp.intel.com> References: <1456149217-24833-1-git-send-email-keith.wiles@intel.com> In-Reply-To: <1456149217-24833-1-git-send-email-keith.wiles@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTEzOTI2ODktOTMyMi00M2FkLWI1ZmUtNzI1YjhlOTE0MjY0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImF6SE5BRVwvdUZnS2tZSmxIb0hLcnh6cWhEdkpDTWVnZ2VzMkFIQTRscU5ZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] config: remove duplicate configuration information X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 15:09:07 -0000 Hi Keith, What makes a param common? e.g. cryptodev QAT PMD is supported in linux, but currently not supported = in bsd. So typically I disable it in the bsd file and enable it in the linux file. Couldn't the same apply to any other parameter, i.e. there may be users who= want to have differences in config for different OSs? So why not just leave as is and give users the option to choose? Regards, Fiona > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Keith Wiles > Sent: Monday, February 22, 2016 1:54 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] config: remove duplicate configuration inform= ation >=20 > In order to cleanup the configuration files some and reduce the number of > duplicate configuration information. Add a new file called common_base wh= ich > contains just about all of the configuration lines in one place. Then hav= e the > common_bsdapp, common_linuxapp files include this one file. Then in those= OS > specific files add the delta configuration lines. >=20 > Signed-off-by: Keith Wiles > --- > config/common_base | 498 ++++++++++++++++++++++= ++++++ > config/common_bsdapp | 436 +---------------------= -- > config/common_linuxapp | 491 +---------------------= ----- > config/defconfig_x86_64-native-bsdapp-clang | 1 + > config/defconfig_x86_64-native-bsdapp-gcc | 1 + > 5 files changed, 518 insertions(+), 909 deletions(-) create mode 100644 > config/common_base >=20 > diff --git a/config/common_base b/config/common_base new file mode 100644 > index 0000000..91a12eb > --- /dev/null > +++ b/config/common_base > @@ -0,0 +1,498 @@ > +# BSD LICENSE > +# > +# Copyright(c) 2010-2016 Intel Corporation. All rights reserved. > +# All rights reserved. > +# > +# Redistribution and use in source and binary forms, with or without > +# modification, are permitted provided that the following conditions > +# are met: > +# > +# * Redistributions of source code must retain the above copyright > +# notice, this list of conditions and the following disclaimer. > +# * Redistributions in binary form must reproduce the above copyrigh= t > +# notice, this list of conditions and the following disclaimer in > +# the documentation and/or other materials provided with the > +# distribution. > +# * Neither the name of Intel Corporation nor the names of its > +# contributors may be used to endorse or promote products derived > +# from this software without specific prior written permission. > +# > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND > CONTRIBUTORS > +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND > FITNESS FOR > +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE > COPYRIGHT > +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, > INCIDENTAL, > +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT > NOT > +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF > USE, > +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND > ON ANY > +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF > THE USE > +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH > DAMAGE. > +# > + > +# > +# Use intrinsics or assembly code for key routines # > +CONFIG_RTE_FORCE_INTRINSICS=3Dn > + > +# > +# Machine forces strict alignment constraints. > +# > +CONFIG_RTE_ARCH_STRICT_ALIGN=3Dn > + > +# > +# Compile to share library > +# > +CONFIG_RTE_BUILD_SHARED_LIB=3Dn > + > +# > +# Combine to one single library > +# > +CONFIG_RTE_BUILD_COMBINE_LIBS=3Dn > + > +# > +# Use newest code breaking previous ABI # CONFIG_RTE_NEXT_ABI=3Dy > + > +# > +# Machine's cache line size > +# > +CONFIG_RTE_CACHE_LINE_SIZE=3D64 > + > +# > +# Compile Environment Abstraction Layer # CONFIG_RTE_LIBRTE_EAL=3Dy > +CONFIG_RTE_MAX_LCORE=3D128 > +CONFIG_RTE_MAX_NUMA_NODES=3D8 > +CONFIG_RTE_MAX_MEMSEG=3D256 > +CONFIG_RTE_MAX_MEMZONE=3D2560 > +CONFIG_RTE_MAX_TAILQ=3D32 > +CONFIG_RTE_LOG_LEVEL=3D8 > +CONFIG_RTE_LOG_HISTORY=3D256 > +CONFIG_RTE_LIBEAL_USE_HPET=3Dn > +CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=3Dn > +CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=3Dn > +CONFIG_RTE_EAL_IGB_UIO=3Dy > +CONFIG_RTE_EAL_VFIO=3Dy > +CONFIG_RTE_MALLOC_DEBUG=3Dn > + > +# Default driver path (or "" to disable) CONFIG_RTE_EAL_PMD_PATH=3D"" > + > +# > +# Special configurations in PCI Config Space for high performance # > +CONFIG_RTE_PCI_CONFIG=3Dn CONFIG_RTE_PCI_EXTENDED_TAG=3D"" > +CONFIG_RTE_PCI_MAX_READ_REQUEST_SIZE=3D0 > + > +# > +# Compile Environment Abstraction Layer to support Vmware TSC map # > +CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=3Dy > + > +# > +# Compile the argument parser library > +# > +CONFIG_RTE_LIBRTE_KVARGS=3Dy > + > +# > +# Compile generic ethernet library > +# > +CONFIG_RTE_LIBRTE_ETHER=3Dy > +CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dn > +CONFIG_RTE_MAX_ETHPORTS=3D32 > +CONFIG_RTE_MAX_QUEUES_PER_PORT=3D1024 > +CONFIG_RTE_LIBRTE_IEEE1588=3Dn > +CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=3D16 > +CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy > + > +# > +# Support NIC bypass logic > +# > +CONFIG_RTE_NIC_BYPASS=3Dn > + > +# > +# Compile burst-oriented IGB & EM PMD drivers # > +CONFIG_RTE_LIBRTE_EM_PMD=3Dy CONFIG_RTE_LIBRTE_IGB_PMD=3Dy > +CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=3Dn > +CONFIG_RTE_LIBRTE_E1000_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=3Dn > + > +# > +# Compile burst-oriented IXGBE PMD driver # > +CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy > CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=3Dn > +CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=3Dn > +CONFIG_RTE_IXGBE_INC_VECTOR=3Dy > +CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=3Dy > + > +# > +# Compile burst-oriented I40E PMD driver # CONFIG_RTE_LIBRTE_I40E_PMD=3D= y > +CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=3Dn > +CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=3Dy > +CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=3Dn > +CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=3Dy > +CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=3Dn > +CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=3D64 > +CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=3D4 > +CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=3D4 > +# interval up to 8160 us, aligned to 2 (or default value) > +CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=3D-1 > + > +# > +# Compile burst-oriented FM10K PMD > +# > +CONFIG_RTE_LIBRTE_FM10K_PMD=3Dy > +CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=3Dn > +CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=3Dy > +CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=3Dy > + > +# > +# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD # > +CONFIG_RTE_LIBRTE_MLX4_PMD=3Dn CONFIG_RTE_LIBRTE_MLX4_DEBUG=3Dn > +CONFIG_RTE_LIBRTE_MLX4_SGE_WR_N=3D4 > +CONFIG_RTE_LIBRTE_MLX4_MAX_INLINE=3D0 > +CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=3D8 > +CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=3D1 > + > +# > +# Compile burst-oriented Mellanox ConnectX-4 (MLX5) PMD # > +CONFIG_RTE_LIBRTE_MLX5_PMD=3Dn CONFIG_RTE_LIBRTE_MLX5_DEBUG=3Dn > +CONFIG_RTE_LIBRTE_MLX5_SGE_WR_N=3D4 > +CONFIG_RTE_LIBRTE_MLX5_MAX_INLINE=3D0 > +CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=3D8 > + > +# > +# Compile burst-oriented Broadcom PMD driver # > +CONFIG_RTE_LIBRTE_BNX2X_PMD=3Dn CONFIG_RTE_LIBRTE_BNX2X_DEBUG=3Dn > +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=3Dn > +CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=3Dn > + > +# > +# Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD # > +CONFIG_RTE_LIBRTE_CXGBE_PMD=3Dy CONFIG_RTE_LIBRTE_CXGBE_DEBUG=3Dn > +CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=3Dn > +CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=3Dn > +CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=3Dn > + > +# > +# Compile burst-oriented Cisco ENIC PMD driver # > +CONFIG_RTE_LIBRTE_ENIC_PMD=3Dy CONFIG_RTE_LIBRTE_ENIC_DEBUG=3Dn > + > +# > +# Compile burst-oriented Netronome NFP PMD driver # > +CONFIG_RTE_LIBRTE_NFP_PMD=3Dn CONFIG_RTE_LIBRTE_NFP_DEBUG=3Dn > + > +# > +# Compile software PMD backed by SZEDATA2 device # > +CONFIG_RTE_LIBRTE_PMD_SZEDATA2=3Dn > + > +# > +# Compile burst-oriented VIRTIO PMD driver # > +CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dy > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=3Dn > +CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=3Dn > + > +# > +# Compile burst-oriented VMXNET3 PMD driver # > +CONFIG_RTE_LIBRTE_VMXNET3_PMD=3Dy > CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=3Dn > +CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=3Dn > + > +# > +# Compile example software rings based PMD # > +CONFIG_RTE_LIBRTE_PMD_RING=3Dy > +CONFIG_RTE_PMD_RING_MAX_RX_RINGS=3D16 > +CONFIG_RTE_PMD_RING_MAX_TX_RINGS=3D16 > + > +# > +# Compile software PMD backed by PCAP files # > +CONFIG_RTE_LIBRTE_PMD_PCAP=3Dn > + > +# > +# Compile link bonding PMD library > +# > +CONFIG_RTE_LIBRTE_PMD_BOND=3Dy > +CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=3Dn > +CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=3Dn > + > +# > +# Compile software PMD backed by AF_PACKET sockets (Linux only) # > +CONFIG_RTE_LIBRTE_PMD_AF_PACKET=3Dy > + > +# > +# Compile Xen PMD > +# > +CONFIG_RTE_LIBRTE_PMD_XENVIRT=3Dn > + > +# > +# Compile null PMD > +# > +CONFIG_RTE_LIBRTE_PMD_NULL=3Dy > + > +# > +# Do prefetch of packet data within PMD driver receive function # > +CONFIG_RTE_PMD_PACKET_PREFETCH=3Dy > + > +# > +# Compile generic crypto device library # EXPERIMENTAL: API may change > +without prior notice # CONFIG_RTE_LIBRTE_CRYPTODEV=3Dy > +CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=3Dn > +CONFIG_RTE_CRYPTO_MAX_DEVS=3D64 > +CONFIG_RTE_CRYPTODEV_NAME_LEN=3D64 > + > +# > +# Compile PMD for QuickAssist based devices # > +CONFIG_RTE_LIBRTE_PMD_QAT=3Dn > CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=3Dn > +CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=3Dn > +CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=3Dn > +CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=3Dn > +# > +# Number of sessions to create in the session memory pool # on a single > +QuickAssist device. > +# > +CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=3D2048 > + > +# > +# Compile PMD for AESNI backed device > +# > +CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dn > +CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=3Dn > +CONFIG_RTE_AESNI_MB_PMD_MAX_NB_QUEUE_PAIRS=3D8 > +CONFIG_RTE_AESNI_MB_PMD_MAX_NB_SESSIONS=3D2048 > + > +# > +# Compile librte_ring > +# > +CONFIG_RTE_LIBRTE_RING=3Dy > +CONFIG_RTE_LIBRTE_RING_DEBUG=3Dn > +CONFIG_RTE_RING_SPLIT_PROD_CONS=3Dn > +CONFIG_RTE_RING_PAUSE_REP_COUNT=3D0 > + > +# > +# Compile librte_mempool > +# > +CONFIG_RTE_LIBRTE_MEMPOOL=3Dy > +CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=3D512 > +CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=3Dn > + > +# > +# Compile librte_mbuf > +# > +CONFIG_RTE_LIBRTE_MBUF=3Dy > +CONFIG_RTE_LIBRTE_MBUF_DEBUG=3Dn > +CONFIG_RTE_MBUF_REFCNT_ATOMIC=3Dy > +CONFIG_RTE_PKTMBUF_HEADROOM=3D128 > + > +# > +# Compile librte_mbuf_offload > +# EXPERIMENTAL: API may change without prior notice # > +CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=3Dy > CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=3Dn > + > +# > +# Compile librte_timer > +# > +CONFIG_RTE_LIBRTE_TIMER=3Dy > +CONFIG_RTE_LIBRTE_TIMER_DEBUG=3Dn > + > +# > +# Compile librte_cfgfile > +# > +CONFIG_RTE_LIBRTE_CFGFILE=3Dy > + > +# > +# Compile librte_cmdline > +# > +CONFIG_RTE_LIBRTE_CMDLINE=3Dy > +CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=3Dn > + > +# > +# Compile librte_hash > +# > +CONFIG_RTE_LIBRTE_HASH=3Dy > +CONFIG_RTE_LIBRTE_HASH_DEBUG=3Dn > + > +# > +# Compile librte_jobstats > +# > +CONFIG_RTE_LIBRTE_JOBSTATS=3Dy > + > +# > +# Compile librte_lpm > +# > +CONFIG_RTE_LIBRTE_LPM=3Dy > +CONFIG_RTE_LIBRTE_LPM_DEBUG=3Dn > + > +# > +# Compile librte_acl > +# > +CONFIG_RTE_LIBRTE_ACL=3Dy > +CONFIG_RTE_LIBRTE_ACL_DEBUG=3Dn > + > +# > +# Compile librte_power > +# > +CONFIG_RTE_LIBRTE_POWER=3Dy > +CONFIG_RTE_LIBRTE_POWER_DEBUG=3Dn > +CONFIG_RTE_MAX_LCORE_FREQS=3D64 > + > +# > +# Compile librte_net > +# > +CONFIG_RTE_LIBRTE_NET=3Dy > + > +# > +# Compile librte_ip_frag > +# > +CONFIG_RTE_LIBRTE_IP_FRAG=3Dy > +CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=3Dn > +CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=3D4 > +CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=3Dn > + > +# > +# Compile librte_meter > +# > +CONFIG_RTE_LIBRTE_METER=3Dy > + > +# > +# Compile librte_sched > +# > +CONFIG_RTE_LIBRTE_SCHED=3Dy > +CONFIG_RTE_SCHED_DEBUG=3Dn > +CONFIG_RTE_SCHED_RED=3Dn > +CONFIG_RTE_SCHED_COLLECT_STATS=3Dn > +CONFIG_RTE_SCHED_SUBPORT_TC_OV=3Dn > +CONFIG_RTE_SCHED_PORT_N_GRINDERS=3D8 > +CONFIG_RTE_SCHED_VECTOR=3Dn > + > +# > +# Compile the distributor library > +# > +CONFIG_RTE_LIBRTE_DISTRIBUTOR=3Dy > + > +# > +# Compile the reorder library > +# > +CONFIG_RTE_LIBRTE_REORDER=3Dy > + > +# > +# Compile librte_port > +# > +CONFIG_RTE_LIBRTE_PORT=3Dy > +CONFIG_RTE_PORT_STATS_COLLECT=3Dn > + > +# > +# Compile librte_table > +# > +CONFIG_RTE_LIBRTE_TABLE=3Dy > +CONFIG_RTE_TABLE_STATS_COLLECT=3Dn > + > +# > +# Compile librte_pipeline > +# > +CONFIG_RTE_LIBRTE_PIPELINE=3Dy > +CONFIG_RTE_PIPELINE_STATS_COLLECT=3Dn > + > +# > +# Compile librte_kni > +# > +CONFIG_RTE_LIBRTE_KNI=3Dy > +CONFIG_RTE_KNI_KMOD=3Dy > +CONFIG_RTE_KNI_PREEMPT_DEFAULT=3Dy > +CONFIG_RTE_KNI_KO_DEBUG=3Dn > +CONFIG_RTE_KNI_VHOST=3Dn > +CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=3D1024 > +CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=3Dn > +CONFIG_RTE_KNI_VHOST_DEBUG_RX=3Dn > +CONFIG_RTE_KNI_VHOST_DEBUG_TX=3Dn > + > +# > +# Compile vhost library > +# fuse-devel is needed to run vhost-cuse. > +# fuse-devel enables user space char driver development # vhost-user is > +turned on by default. > +# > +CONFIG_RTE_LIBRTE_VHOST=3Dy > +CONFIG_RTE_LIBRTE_VHOST_USER=3Dy > +CONFIG_RTE_LIBRTE_VHOST_NUMA=3Dn > +CONFIG_RTE_LIBRTE_VHOST_DEBUG=3Dn > + > +# > +#Compile Xen domain0 support > +# > +CONFIG_RTE_LIBRTE_XEN_DOM0=3Dn > + > +# > +# Enable warning directives > +# > +CONFIG_RTE_INSECURE_FUNCTION_WARNING=3Dn > + > +# > +# Compile the test application > +# > +CONFIG_RTE_APP_TEST=3Dy > + > +# > +# Compile the PMD test application > +# > +CONFIG_RTE_TEST_PMD=3Dy > +CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=3Dn > +CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=3Dn > diff --git a/config/common_bsdapp b/config/common_bsdapp index > 696382c..de0ca7d 100644 > --- a/config/common_bsdapp > +++ b/config/common_bsdapp > @@ -1,6 +1,6 @@ > # BSD LICENSE > # > -# Copyright(c) 2010-2015 Intel Corporation. All rights reserved. > +# Copyright(c) 2010-2016 Intel Corporation. All rights reserved. > # All rights reserved. > # > # Redistribution and use in source and binary forms, with or without > @@ -37,74 +37,38 @@ > CONFIG_RTE_EXEC_ENV=3D"bsdapp" > CONFIG_RTE_EXEC_ENV_BSDAPP=3Dy >=20 > -## > -## machine can define specific variables or action for a specific board = -## > RTE_MACHINE values are the directories in mk/machine/ -## - > #CONFIG_RTE_MACHINE=3D"native" > -# > -## > -## define the architecture we compile for. > -## RTE_ARCH values are the directories in mk/arch/ -## - > #CONFIG_RTE_ARCH=3D"x86_64" > -#CONFIG_RTE_ARCH_X86_64=3Dy > -#CONFIG_RTE_ARCH_X86=3Dy > -# > -## > -## The compiler we use. > -## RTE_TOOLCHAIN values are the directories in mk/toolchain/ -## - > #CONFIG_RTE_TOOLCHAIN=3D"gcc" > -#CONFIG_RTE_TOOLCHAIN_GCC=3Dy > - > -# > -# Use intrinsics or assembly code for key routines -# - > CONFIG_RTE_FORCE_INTRINSICS=3Dn > +#include "common_base" >=20 > # > -# Machine forces strict alignment constraints. > +# Compile Environment Abstraction Layer for linux, FreeBSD, OS X, ... > # > -CONFIG_RTE_ARCH_STRICT_ALIGN=3Dn > +CONFIG_RTE_LIBRTE_EAL_BSDAPP=3Dy >=20 > # > -# Compile to share library > +# Compile Environment Abstraction Layer > # > -CONFIG_RTE_BUILD_SHARED_LIB=3Dn > +CONFIG_RTE_EAL_IGB_UIO=3Dn > +CONFIG_RTE_EAL_VFIO=3Dn >=20 > # > -# Combine to one single library > +# Compile software PMD backed by AF_PACKET sockets (Linux only) > # > -CONFIG_RTE_BUILD_COMBINE_LIBS=3Dn > +CONFIG_RTE_LIBRTE_PMD_AF_PACKET=3Dn >=20 > # > -# Use newest code breaking previous ABI > +# Compile librte_power > # > -CONFIG_RTE_NEXT_ABI=3Dy > +CONFIG_RTE_LIBRTE_POWER=3Dn >=20 > # > -# Machine's cache line size > +# Compile librte_kni > # > -CONFIG_RTE_CACHE_LINE_SIZE=3D64 > +CONFIG_RTE_LIBRTE_KNI=3Dn >=20 > # > -# Compile Environment Abstraction Layer > +# Compile vhost library > # > -CONFIG_RTE_LIBRTE_EAL=3Dy > -CONFIG_RTE_MAX_LCORE=3D128 > -CONFIG_RTE_MAX_NUMA_NODES=3D8 > -CONFIG_RTE_MAX_MEMSEG=3D256 > -CONFIG_RTE_MAX_MEMZONE=3D2560 > -CONFIG_RTE_MAX_TAILQ=3D32 > -CONFIG_RTE_LOG_LEVEL=3D8 > -CONFIG_RTE_LOG_HISTORY=3D256 > -CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=3Dn > -CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=3Dn > -CONFIG_RTE_MALLOC_DEBUG=3Dn > - > -# Default driver path (or "" to disable) -CONFIG_RTE_EAL_PMD_PATH=3D"" > +CONFIG_RTE_LIBRTE_VHOST=3Dn >=20 > # > # FreeBSD contiguous memory driver settings @@ -113,373 +77,3 @@ > CONFIG_RTE_CONTIGMEM_MAX_NUM_BUFS=3D64 > CONFIG_RTE_CONTIGMEM_DEFAULT_NUM_BUFS=3D2 > CONFIG_RTE_CONTIGMEM_DEFAULT_BUF_SIZE=3D1024*1024*1024 >=20 > -# > -# Compile Environment Abstraction Layer for BSD -# - > CONFIG_RTE_LIBRTE_EAL_BSDAPP=3Dy > - > -# > -# Compile Environment Abstraction Layer for linux -# - > CONFIG_RTE_LIBRTE_EAL_LINUXAPP=3Dn > - > -# > -# Compile Environment Abstraction Layer to support Vmware TSC map -# - > CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=3Dy > - > -# > -# Compile the argument parser library > -# > -CONFIG_RTE_LIBRTE_KVARGS=3Dy > - > -# > -# Compile generic ethernet library > -# > -CONFIG_RTE_LIBRTE_ETHER=3Dy > -CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dn > -CONFIG_RTE_MAX_ETHPORTS=3D32 > -CONFIG_RTE_MAX_QUEUES_PER_PORT=3D1024 > -CONFIG_RTE_LIBRTE_IEEE1588=3Dn > -CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=3D16 > -CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy > - > -# > -# Support NIC bypass logic > -# > -CONFIG_RTE_NIC_BYPASS=3Dn > - > -# > -# Compile burst-oriented IGB & EM PMD drivers -# - > CONFIG_RTE_LIBRTE_EM_PMD=3Dy -CONFIG_RTE_LIBRTE_IGB_PMD=3Dy - > CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=3Dn > - > -# > -# Compile burst-oriented IXGBE PMD driver -# - > CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy - > CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=3Dn > -CONFIG_RTE_IXGBE_INC_VECTOR=3Dy > -CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=3Dy > - > -# > -# Compile burst-oriented I40E PMD driver -# - > CONFIG_RTE_LIBRTE_I40E_PMD=3Dy -CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=3Dy > -CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=3Dn > -CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=3Dy > -CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=3Dn > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=3D64 > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=3D4 > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=3D4 > -# interval up to 8160 us, aligned to 2 (or default value) > -CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=3D-1 > - > -# > -# Compile burst-oriented FM10K PMD > -# > -CONFIG_RTE_LIBRTE_FM10K_PMD=3Dy > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=3Dy > - > -# > -# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD -# - > CONFIG_RTE_LIBRTE_MLX4_PMD=3Dn -CONFIG_RTE_LIBRTE_MLX4_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_MLX4_SGE_WR_N=3D4 > -CONFIG_RTE_LIBRTE_MLX4_MAX_INLINE=3D0 > -CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=3D8 > -CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=3D1 > - > -# > -# Compile burst-oriented Mellanox ConnectX-4 (MLX5) PMD -# - > CONFIG_RTE_LIBRTE_MLX5_PMD=3Dn -CONFIG_RTE_LIBRTE_MLX5_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_MLX5_SGE_WR_N=3D4 > -CONFIG_RTE_LIBRTE_MLX5_MAX_INLINE=3D0 > -CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=3D8 > - > -# > -# Compile burst-oriented Broadcom PMD driver -# - > CONFIG_RTE_LIBRTE_BNX2X_PMD=3Dn -CONFIG_RTE_LIBRTE_BNX2X_DEBUG=3Dn - > CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=3Dn > - > -# > -# Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD -# - > CONFIG_RTE_LIBRTE_CXGBE_PMD=3Dy -CONFIG_RTE_LIBRTE_CXGBE_DEBUG=3Dn - > CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=3Dn > - > -# > -# Compile burst-oriented Cisco ENIC PMD driver -# - > CONFIG_RTE_LIBRTE_ENIC_PMD=3Dy -CONFIG_RTE_LIBRTE_ENIC_DEBUG=3Dn > - > -# > -# Compile software PMD backed by SZEDATA2 device -# - > CONFIG_RTE_LIBRTE_PMD_SZEDATA2=3Dn > - > -# > -# Compile burst-oriented VIRTIO PMD driver -# - > CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dy - > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=3Dn > - > -# > -# Compile burst-oriented VMXNET3 PMD driver -# - > CONFIG_RTE_LIBRTE_VMXNET3_PMD=3Dy - > CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=3Dn > - > -# > -# Compile example software rings based PMD -# - > CONFIG_RTE_LIBRTE_PMD_RING=3Dy > -CONFIG_RTE_PMD_RING_MAX_RX_RINGS=3D16 > -CONFIG_RTE_PMD_RING_MAX_TX_RINGS=3D16 > - > -# > -# Compile software PMD backed by PCAP files -# - > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy > - > -# > -# Compile link bonding PMD library > -# > -CONFIG_RTE_LIBRTE_PMD_BOND=3Dy > -CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=3Dn > -CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=3Dn > - > -# > -# Compile null PMD > -# > -CONFIG_RTE_LIBRTE_PMD_NULL=3Dy > - > -# > -# Do prefetch of packet data within PMD driver receive function -# - > CONFIG_RTE_PMD_PACKET_PREFETCH=3Dy > - > -# > -# Compile generic crypto device library -# EXPERIMENTAL: API may change > without prior notice -# -CONFIG_RTE_LIBRTE_CRYPTODEV=3Dy - > CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=3Dn > -CONFIG_RTE_CRYPTO_MAX_DEVS=3D64 > -CONFIG_RTE_CRYPTODEV_NAME_LEN=3D64 > - > -# > -# Compile PMD for QuickAssist based devices -# - > CONFIG_RTE_LIBRTE_PMD_QAT=3Dn -CONFIG_RTE_LIBRTE_QAT_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_QAT_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_QAT_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_QAT_DEBUG_DRIVER=3Dn > -# > -# Number of sessions to create in the session memory pool -# on a single > QuickAssist device. > -# > -CONFIG_RTE_MAX_QAT_SESSIONS=3D200 > - > -# > -# Compile PMD for AESNI backed device > -# > -CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dn > -CONFIG_RTE_LIBRTE_AESNI_MB_DEBUG=3Dn > - > -# > -# Compile librte_ring > -# > -CONFIG_RTE_LIBRTE_RING=3Dy > -CONFIG_RTE_LIBRTE_RING_DEBUG=3Dn > -CONFIG_RTE_RING_SPLIT_PROD_CONS=3Dn > -CONFIG_RTE_RING_PAUSE_REP_COUNT=3D0 > - > -# > -# Compile librte_mempool > -# > -CONFIG_RTE_LIBRTE_MEMPOOL=3Dy > -CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=3D512 > -CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=3Dn > - > -# > -# Compile librte_mbuf > -# > -CONFIG_RTE_LIBRTE_MBUF=3Dy > -CONFIG_RTE_LIBRTE_MBUF_DEBUG=3Dn > -CONFIG_RTE_MBUF_REFCNT_ATOMIC=3Dy > -CONFIG_RTE_PKTMBUF_HEADROOM=3D128 > - > -# > -# Compile librte_mbuf_offload > -# EXPERIMENTAL: API may change without prior notice -# - > CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=3Dy - > CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=3Dn > - > -# > -# Compile librte_timer > -# > -CONFIG_RTE_LIBRTE_TIMER=3Dy > -CONFIG_RTE_LIBRTE_TIMER_DEBUG=3Dn > - > -# > -# Compile librte_cfgfile > -# > -CONFIG_RTE_LIBRTE_CFGFILE=3Dy > - > -# > -# Compile librte_cmdline > -# > -CONFIG_RTE_LIBRTE_CMDLINE=3Dy > -CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=3Dn > - > -# > -# Compile librte_hash > -# > -CONFIG_RTE_LIBRTE_HASH=3Dy > -CONFIG_RTE_LIBRTE_HASH_DEBUG=3Dn > - > -# > -# Compile librte_jobstats > -# > -CONFIG_RTE_LIBRTE_JOBSTATS=3Dy > - > -# > -# Compile librte_lpm > -# > -CONFIG_RTE_LIBRTE_LPM=3Dy > -CONFIG_RTE_LIBRTE_LPM_DEBUG=3Dn > - > -# > -# Compile librte_acl > -# > -CONFIG_RTE_LIBRTE_ACL=3Dy > -CONFIG_RTE_LIBRTE_ACL_DEBUG=3Dn > - > -# > -# Compile librte_power > -# > -CONFIG_RTE_LIBRTE_POWER=3Dn > -CONFIG_RTE_LIBRTE_POWER_DEBUG=3Dn > -CONFIG_RTE_MAX_LCORE_FREQS=3D64 > - > -# > -# Compile librte_net > -# > -CONFIG_RTE_LIBRTE_NET=3Dy > - > -# > -# Compile librte_ip_frag > -# > -CONFIG_RTE_LIBRTE_IP_FRAG=3Dy > -CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=3D4 > -CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=3Dn > - > -# > -# Compile librte_meter > -# > -CONFIG_RTE_LIBRTE_METER=3Dy > - > -# > -# Compile librte_sched > -# > -CONFIG_RTE_LIBRTE_SCHED=3Dy > -CONFIG_RTE_SCHED_DEBUG=3Dn > -CONFIG_RTE_SCHED_RED=3Dn > -CONFIG_RTE_SCHED_COLLECT_STATS=3Dn > -CONFIG_RTE_SCHED_SUBPORT_TC_OV=3Dn > -CONFIG_RTE_SCHED_PORT_N_GRINDERS=3D8 > -CONFIG_RTE_SCHED_VECTOR=3Dn > - > -# > -# Compile the distributor library > -# > -CONFIG_RTE_LIBRTE_DISTRIBUTOR=3Dy > - > -# > -# Compile the reorder library > -# > -CONFIG_RTE_LIBRTE_REORDER=3Dy > - > -# > -# Compile librte_port > -# > -CONFIG_RTE_LIBRTE_PORT=3Dy > -CONFIG_RTE_PORT_STATS_COLLECT=3Dn > - > -# > -# Compile librte_table > -# > -CONFIG_RTE_LIBRTE_TABLE=3Dy > -CONFIG_RTE_TABLE_STATS_COLLECT=3Dn > - > -# > -# Compile librte_pipeline > -# > -CONFIG_RTE_LIBRTE_PIPELINE=3Dy > -CONFIG_RTE_PIPELINE_STATS_COLLECT=3Dn > - > -# > -# Enable warning directives > -# > -CONFIG_RTE_INSECURE_FUNCTION_WARNING=3Dn > - > -# > -# Compile the test application > -# > -CONFIG_RTE_APP_TEST=3Dy > - > -# > -# Compile the PMD test application > -# > -CONFIG_RTE_TEST_PMD=3Dy > -CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=3Dn > -CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=3Dn > diff --git a/config/common_linuxapp b/config/common_linuxapp index > f1638db..64ddbe9 100644 > --- a/config/common_linuxapp > +++ b/config/common_linuxapp > @@ -1,6 +1,6 @@ > # BSD LICENSE > # > -# Copyright(c) 2010-2015 Intel Corporation. All rights reserved. > +# Copyright(c) 2010-2016 Intel Corporation. All rights reserved. > # All rights reserved. > # > # Redistribution and use in source and binary forms, with or without > @@ -37,494 +37,9 @@ > CONFIG_RTE_EXEC_ENV=3D"linuxapp" > CONFIG_RTE_EXEC_ENV_LINUXAPP=3Dy >=20 > -## > -## machine can define specific variables or action for a specific board = -## > RTE_MACHINE values are the directories in mk/machine/ -## - > #CONFIG_RTE_MACHINE=3D"native" > -# > -## > -## define the architecture we compile for. > -## RTE_ARCH values are the directories in mk/arch/ -## - > #CONFIG_RTE_ARCH=3D"x86_64" > -#CONFIG_RTE_ARCH_X86_64=3Dy > -#CONFIG_RTE_ARCH_X86=3Dy > -# > -## > -## The compiler we use. > -## RTE_TOOLCHAIN values are the directories in mk/toolchain/ -## - > #CONFIG_RTE_TOOLCHAIN=3D"gcc" > -#CONFIG_RTE_TOOLCHAIN_GCC=3Dy > - > -# > -# Use intrinsics or assembly code for key routines -# - > CONFIG_RTE_FORCE_INTRINSICS=3Dn > - > -# > -# Machine forces strict alignment constraints. > -# > -CONFIG_RTE_ARCH_STRICT_ALIGN=3Dn > - > -# > -# Compile to share library > -# > -CONFIG_RTE_BUILD_SHARED_LIB=3Dn > - > -# > -# Combine to one single library > -# > -CONFIG_RTE_BUILD_COMBINE_LIBS=3Dn > - > -# > -# Use newest code breaking previous ABI -# -CONFIG_RTE_NEXT_ABI=3Dy > - > -# > -# Machine's cache line size > -# > -CONFIG_RTE_CACHE_LINE_SIZE=3D64 > - > -# > -# Compile Environment Abstraction Layer -# -CONFIG_RTE_LIBRTE_EAL=3Dy > -CONFIG_RTE_MAX_LCORE=3D128 > -CONFIG_RTE_MAX_NUMA_NODES=3D8 > -CONFIG_RTE_MAX_MEMSEG=3D256 > -CONFIG_RTE_MAX_MEMZONE=3D2560 > -CONFIG_RTE_MAX_TAILQ=3D32 > -CONFIG_RTE_LOG_LEVEL=3D8 > -CONFIG_RTE_LOG_HISTORY=3D256 > -CONFIG_RTE_LIBEAL_USE_HPET=3Dn > -CONFIG_RTE_EAL_ALLOW_INV_SOCKET_ID=3Dn > -CONFIG_RTE_EAL_ALWAYS_PANIC_ON_ERROR=3Dn > -CONFIG_RTE_EAL_IGB_UIO=3Dy > -CONFIG_RTE_EAL_VFIO=3Dy > -CONFIG_RTE_MALLOC_DEBUG=3Dn > -# Default driver path (or "" to disable) -CONFIG_RTE_EAL_PMD_PATH=3D"" > - > -# > -# Special configurations in PCI Config Space for high performance -# - > CONFIG_RTE_PCI_CONFIG=3Dn -CONFIG_RTE_PCI_EXTENDED_TAG=3D"" > -CONFIG_RTE_PCI_MAX_READ_REQUEST_SIZE=3D0 > +#include "common_base" >=20 > # > -# Compile Environment Abstraction Layer for linux > +# Compile Environment Abstraction Layer for linux, FreeBSD, OS X, ... > # > CONFIG_RTE_LIBRTE_EAL_LINUXAPP=3Dy > - > -# > -# Compile Environment Abstraction Layer to support Vmware TSC map -# - > CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=3Dy > - > -# > -# Compile the argument parser library > -# > -CONFIG_RTE_LIBRTE_KVARGS=3Dy > - > -# > -# Compile generic ethernet library > -# > -CONFIG_RTE_LIBRTE_ETHER=3Dy > -CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=3Dn > -CONFIG_RTE_MAX_ETHPORTS=3D32 > -CONFIG_RTE_MAX_QUEUES_PER_PORT=3D1024 > -CONFIG_RTE_LIBRTE_IEEE1588=3Dn > -CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=3D16 > -CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy > - > -# > -# Support NIC bypass logic > -# > -CONFIG_RTE_NIC_BYPASS=3Dn > - > -# > -# Compile burst-oriented IGB & EM PMD drivers -# - > CONFIG_RTE_LIBRTE_EM_PMD=3Dy -CONFIG_RTE_LIBRTE_IGB_PMD=3Dy - > CONFIG_RTE_LIBRTE_E1000_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_E1000_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=3Dn > - > -# > -# Compile burst-oriented IXGBE PMD driver -# - > CONFIG_RTE_LIBRTE_IXGBE_PMD=3Dy - > CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_IXGBE_PF_DISABLE_STRIP_CRC=3Dn > -CONFIG_RTE_IXGBE_INC_VECTOR=3Dy > -CONFIG_RTE_IXGBE_RX_OLFLAGS_ENABLE=3Dy > - > -# > -# Compile burst-oriented I40E PMD driver -# - > CONFIG_RTE_LIBRTE_I40E_PMD=3Dy -CONFIG_RTE_LIBRTE_I40E_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_I40E_RX_ALLOW_BULK_ALLOC=3Dy > -CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=3Dn > -CONFIG_RTE_LIBRTE_I40E_RX_OLFLAGS_ENABLE=3Dy > -CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=3Dn > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF=3D64 > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=3D4 > -CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=3D4 > -# interval up to 8160 us, aligned to 2 (or default value) > -CONFIG_RTE_LIBRTE_I40E_ITR_INTERVAL=3D-1 > - > -# > -# Compile burst-oriented FM10K PMD > -# > -CONFIG_RTE_LIBRTE_FM10K_PMD=3Dy > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_FM10K_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=3Dy > -CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=3Dy > - > -# > -# Compile burst-oriented Mellanox ConnectX-3 (MLX4) PMD -# - > CONFIG_RTE_LIBRTE_MLX4_PMD=3Dn -CONFIG_RTE_LIBRTE_MLX4_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_MLX4_SGE_WR_N=3D4 > -CONFIG_RTE_LIBRTE_MLX4_MAX_INLINE=3D0 > -CONFIG_RTE_LIBRTE_MLX4_TX_MP_CACHE=3D8 > -CONFIG_RTE_LIBRTE_MLX4_SOFT_COUNTERS=3D1 > - > -# > -# Compile burst-oriented Mellanox ConnectX-4 (MLX5) PMD -# - > CONFIG_RTE_LIBRTE_MLX5_PMD=3Dn -CONFIG_RTE_LIBRTE_MLX5_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_MLX5_SGE_WR_N=3D4 > -CONFIG_RTE_LIBRTE_MLX5_MAX_INLINE=3D0 > -CONFIG_RTE_LIBRTE_MLX5_TX_MP_CACHE=3D8 > - > -# > -# Compile burst-oriented Broadcom PMD driver -# - > CONFIG_RTE_LIBRTE_BNX2X_PMD=3Dn -CONFIG_RTE_LIBRTE_BNX2X_DEBUG=3Dn - > CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=3Dn > -CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=3Dn > - > -# > -# Compile burst-oriented Chelsio Terminator 10GbE/40GbE (CXGBE) PMD -# - > CONFIG_RTE_LIBRTE_CXGBE_PMD=3Dy -CONFIG_RTE_LIBRTE_CXGBE_DEBUG=3Dn - > CONFIG_RTE_LIBRTE_CXGBE_DEBUG_REG=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_MBOX=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_CXGBE_DEBUG_RX=3Dn > - > -# > -# Compile burst-oriented Cisco ENIC PMD driver -# - > CONFIG_RTE_LIBRTE_ENIC_PMD=3Dy -CONFIG_RTE_LIBRTE_ENIC_DEBUG=3Dn > - > -# > -# Compile burst-oriented Netronome NFP PMD driver -# - > CONFIG_RTE_LIBRTE_NFP_PMD=3Dn -CONFIG_RTE_LIBRTE_NFP_DEBUG=3Dn > - > -# > -# Compile software PMD backed by SZEDATA2 device -# - > CONFIG_RTE_LIBRTE_PMD_SZEDATA2=3Dn > - > -# > -# Compile burst-oriented VIRTIO PMD driver -# - > CONFIG_RTE_LIBRTE_VIRTIO_PMD=3Dy - > CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=3Dn > -CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=3Dn > - > -# > -# Compile burst-oriented VMXNET3 PMD driver -# - > CONFIG_RTE_LIBRTE_VMXNET3_PMD=3Dy - > CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=3Dn > -CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=3Dn > - > -# > -# Compile example software rings based PMD -# - > CONFIG_RTE_LIBRTE_PMD_RING=3Dy > -CONFIG_RTE_PMD_RING_MAX_RX_RINGS=3D16 > -CONFIG_RTE_PMD_RING_MAX_TX_RINGS=3D16 > - > -# > -# Compile software PMD backed by PCAP files -# - > CONFIG_RTE_LIBRTE_PMD_PCAP=3Dn > - > -# > -# Compile link bonding PMD library > -# > -CONFIG_RTE_LIBRTE_PMD_BOND=3Dy > -CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB=3Dn > -CONFIG_RTE_LIBRTE_BOND_DEBUG_ALB_L1=3Dn > - > -# > -# Compile software PMD backed by AF_PACKET sockets (Linux only) -# - > CONFIG_RTE_LIBRTE_PMD_AF_PACKET=3Dy > - > -# > -# Compile Xen PMD > -# > -CONFIG_RTE_LIBRTE_PMD_XENVIRT=3Dn > - > -# > -# Compile null PMD > -# > -CONFIG_RTE_LIBRTE_PMD_NULL=3Dy > - > -# > -# Do prefetch of packet data within PMD driver receive function -# - > CONFIG_RTE_PMD_PACKET_PREFETCH=3Dy > - > -# > -# Compile generic crypto device library -# EXPERIMENTAL: API may change > without prior notice -# -CONFIG_RTE_LIBRTE_CRYPTODEV=3Dy - > CONFIG_RTE_LIBRTE_CRYPTODEV_DEBUG=3Dn > -CONFIG_RTE_CRYPTO_MAX_DEVS=3D64 > -CONFIG_RTE_CRYPTODEV_NAME_LEN=3D64 > - > -# > -# Compile PMD for QuickAssist based devices -# - > CONFIG_RTE_LIBRTE_PMD_QAT=3Dn - > CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_INIT=3Dn > -CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_TX=3Dn > -CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_RX=3Dn > -CONFIG_RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER=3Dn > -# > -# Number of sessions to create in the session memory pool -# on a single > QuickAssist device. > -# > -CONFIG_RTE_QAT_PMD_MAX_NB_SESSIONS=3D2048 > - > -# > -# Compile PMD for AESNI backed device > -# > -CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dn > -CONFIG_RTE_LIBRTE_PMD_AESNI_MB_DEBUG=3Dn > -CONFIG_RTE_AESNI_MB_PMD_MAX_NB_QUEUE_PAIRS=3D8 > -CONFIG_RTE_AESNI_MB_PMD_MAX_NB_SESSIONS=3D2048 > - > -# > -# Compile librte_ring > -# > -CONFIG_RTE_LIBRTE_RING=3Dy > -CONFIG_RTE_LIBRTE_RING_DEBUG=3Dn > -CONFIG_RTE_RING_SPLIT_PROD_CONS=3Dn > -CONFIG_RTE_RING_PAUSE_REP_COUNT=3D0 > - > -# > -# Compile librte_mempool > -# > -CONFIG_RTE_LIBRTE_MEMPOOL=3Dy > -CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE=3D512 > -CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=3Dn > - > -# > -# Compile librte_mbuf > -# > -CONFIG_RTE_LIBRTE_MBUF=3Dy > -CONFIG_RTE_LIBRTE_MBUF_DEBUG=3Dn > -CONFIG_RTE_MBUF_REFCNT_ATOMIC=3Dy > -CONFIG_RTE_PKTMBUF_HEADROOM=3D128 > - > -# > -# Compile librte_mbuf_offload > -# EXPERIMENTAL: API may change without prior notice -# - > CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=3Dy - > CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=3Dn > - > -# > -# Compile librte_timer > -# > -CONFIG_RTE_LIBRTE_TIMER=3Dy > -CONFIG_RTE_LIBRTE_TIMER_DEBUG=3Dn > - > -# > -# Compile librte_cfgfile > -# > -CONFIG_RTE_LIBRTE_CFGFILE=3Dy > - > -# > -# Compile librte_cmdline > -# > -CONFIG_RTE_LIBRTE_CMDLINE=3Dy > -CONFIG_RTE_LIBRTE_CMDLINE_DEBUG=3Dn > - > -# > -# Compile librte_hash > -# > -CONFIG_RTE_LIBRTE_HASH=3Dy > -CONFIG_RTE_LIBRTE_HASH_DEBUG=3Dn > - > -# > -# Compile librte_jobstats > -# > -CONFIG_RTE_LIBRTE_JOBSTATS=3Dy > - > -# > -# Compile librte_lpm > -# > -CONFIG_RTE_LIBRTE_LPM=3Dy > -CONFIG_RTE_LIBRTE_LPM_DEBUG=3Dn > - > -# > -# Compile librte_acl > -# > -CONFIG_RTE_LIBRTE_ACL=3Dy > -CONFIG_RTE_LIBRTE_ACL_DEBUG=3Dn > - > -# > -# Compile librte_power > -# > -CONFIG_RTE_LIBRTE_POWER=3Dy > -CONFIG_RTE_LIBRTE_POWER_DEBUG=3Dn > -CONFIG_RTE_MAX_LCORE_FREQS=3D64 > - > -# > -# Compile librte_net > -# > -CONFIG_RTE_LIBRTE_NET=3Dy > - > -# > -# Compile librte_ip_frag > -# > -CONFIG_RTE_LIBRTE_IP_FRAG=3Dy > -CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=3D4 > -CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=3Dn > - > -# > -# Compile librte_meter > -# > -CONFIG_RTE_LIBRTE_METER=3Dy > - > -# > -# Compile librte_sched > -# > -CONFIG_RTE_LIBRTE_SCHED=3Dy > -CONFIG_RTE_SCHED_DEBUG=3Dn > -CONFIG_RTE_SCHED_RED=3Dn > -CONFIG_RTE_SCHED_COLLECT_STATS=3Dn > -CONFIG_RTE_SCHED_SUBPORT_TC_OV=3Dn > -CONFIG_RTE_SCHED_PORT_N_GRINDERS=3D8 > -CONFIG_RTE_SCHED_VECTOR=3Dn > - > -# > -# Compile the distributor library > -# > -CONFIG_RTE_LIBRTE_DISTRIBUTOR=3Dy > - > -# > -# Compile the reorder library > -# > -CONFIG_RTE_LIBRTE_REORDER=3Dy > - > -# > -# Compile librte_port > -# > -CONFIG_RTE_LIBRTE_PORT=3Dy > -CONFIG_RTE_PORT_STATS_COLLECT=3Dn > - > -# > -# Compile librte_table > -# > -CONFIG_RTE_LIBRTE_TABLE=3Dy > -CONFIG_RTE_TABLE_STATS_COLLECT=3Dn > - > -# > -# Compile librte_pipeline > -# > -CONFIG_RTE_LIBRTE_PIPELINE=3Dy > -CONFIG_RTE_PIPELINE_STATS_COLLECT=3Dn > - > -# > -# Compile librte_kni > -# > -CONFIG_RTE_LIBRTE_KNI=3Dy > -CONFIG_RTE_KNI_KMOD=3Dy > -CONFIG_RTE_KNI_PREEMPT_DEFAULT=3Dy > -CONFIG_RTE_KNI_KO_DEBUG=3Dn > -CONFIG_RTE_KNI_VHOST=3Dn > -CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=3D1024 > -CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=3Dn > -CONFIG_RTE_KNI_VHOST_DEBUG_RX=3Dn > -CONFIG_RTE_KNI_VHOST_DEBUG_TX=3Dn > - > -# > -# Compile vhost library > -# fuse-devel is needed to run vhost-cuse. > -# fuse-devel enables user space char driver development -# vhost-user is= turned > on by default. > -# > -CONFIG_RTE_LIBRTE_VHOST=3Dy > -CONFIG_RTE_LIBRTE_VHOST_USER=3Dy > -CONFIG_RTE_LIBRTE_VHOST_NUMA=3Dn > -CONFIG_RTE_LIBRTE_VHOST_DEBUG=3Dn > - > -# > -#Compile Xen domain0 support > -# > -CONFIG_RTE_LIBRTE_XEN_DOM0=3Dn > - > -# > -# Enable warning directives > -# > -CONFIG_RTE_INSECURE_FUNCTION_WARNING=3Dn > - > -# > -# Compile the test application > -# > -CONFIG_RTE_APP_TEST=3Dy > - > -# > -# Compile the PMD test application > -# > -CONFIG_RTE_TEST_PMD=3Dy > -CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=3Dn > -CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS=3Dn > diff --git a/config/defconfig_x86_64-native-bsdapp-clang > b/config/defconfig_x86_64-native-bsdapp-clang > index d2baf2c..8b870b3 100644 > --- a/config/defconfig_x86_64-native-bsdapp-clang > +++ b/config/defconfig_x86_64-native-bsdapp-clang > @@ -37,6 +37,7 @@ CONFIG_RTE_MACHINE=3D"native" > CONFIG_RTE_ARCH=3D"x86_64" > CONFIG_RTE_ARCH_X86_64=3Dy > CONFIG_RTE_ARCH_X86=3Dy > +CONFIG_RTE_ARCH_64=3Dy >=20 > CONFIG_RTE_TOOLCHAIN=3D"clang" > CONFIG_RTE_TOOLCHAIN_CLANG=3Dy > diff --git a/config/defconfig_x86_64-native-bsdapp-gcc > b/config/defconfig_x86_64-native-bsdapp-gcc > index 5a6a4e8..4ea4433 100644 > --- a/config/defconfig_x86_64-native-bsdapp-gcc > +++ b/config/defconfig_x86_64-native-bsdapp-gcc > @@ -37,6 +37,7 @@ CONFIG_RTE_MACHINE=3D"native" > CONFIG_RTE_ARCH=3D"x86_64" > CONFIG_RTE_ARCH_X86_64=3Dy > CONFIG_RTE_ARCH_X86=3Dy > +CONFIG_RTE_ARCH_64=3Dy >=20 > CONFIG_RTE_TOOLCHAIN=3D"gcc" > CONFIG_RTE_TOOLCHAIN_GCC=3Dy > -- > 2.7.0