aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk
AgeCommit message (Collapse)AuthorFilesLines
2017-01-31Bump up PKG_SUFFIX to vpp3Steve Shin1-1/+1
Change-Id: Ib5e95d5e5a3da5fb395b26177f7dd17e90afd69d Signed-off-by: Steve Shin <jonshin@cisco.com>
2017-01-30This patch fixes a bug in replaying MAC address to the hardwareSteve Shin1-0/+83
in rte_eth_dev_config_restore() routine. Added default MAC replay as well. Fixes: 4bdefaade6d1 ("ethdev: VMDQ enhancements") Change-Id: I646799477e9a6f2fdeff7a52a76d216ef91115e9 Signed-off-by: Steve Shin <jonshin@cisco.com>
2017-01-27dpdk: rework cryptodev ipsec build and setupSergio Gonzalez Monroy1-5/+5
Build Cryptodev IPsec support by default when DPDK is enabled but only build hardware Cryptodev PMDs. To enable Cryptodev support, a new startup.conf option for dpdk has been introduced 'enable-cryptodev'. During VPP init, if Cryptodev support is not enabled or not enough cryptodev resources are available then default to OpenSSL ipsec implementation. Change-Id: I5aa7e0d5c2676bdb41d775ef40364536a081956d Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2017-01-21Fix cosmetic issue in dpdk/MakefileDamjan Marion1-1/+1
Change-Id: I95684396e3dad53ddf7479467a36a5b68e5703cf Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-20Add dpdk development packagingDamjan Marion8-32/+213
Change-Id: I6aa2a6709241d99ce734c29e47487eb456907351 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-02dpdk: do not build igb_uio moduleDamjan Marion1-0/+1
igb_uio is anyway build out of source from dkms package so there is no need to build it here. Also, this creates issues in cases where kernel headers are not available (i.e. building inside containers). Change-Id: I270598a94dc67ad0b31e7f0db9ed6bd6fc8cfe30 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-26dpdk: Add support for Mellanox ConnectX-4 devicesDamjan Marion1-1/+3
Due to external library dependency support for Mellanox devices is disabled. To enable it uncoment following line: vpp_uses_dpdk_mlx5_pmd = yes in build-data/platforms/vpp.mk and install OFED libraries. Change-Id: I131d52b5d449a958349f31f9cc04311948f78b71 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-11-30dpdk patch: virtio: tx with can_push when VERSION_1 is setPierre Pfister1-0/+38
This patch for dpdk 16.11 enables the use of shallow virtio descriptors when VERSION_1 is set. More info on DPDK patchwork: http://dpdk.org/dev/patchwork/patch/17340/ Change-Id: I28cde77ed5a3588921d00da50678debfe0338b08 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-11-28dpdk: add ipsec cryptodev supportSergio Gonzalez Monroy1-0/+4
DPDK Cryptodev support and related IPsec ESP nodes using DPDK Cryptodev APIs. When DPDK Cryptodev support is enabled, the node graph is modified by adding and replacing some of the nodes. The following nodes are replaced: * esp-encrypt -> dpdk-esp-encrypt * esp-decrypt -> dpdk-esp-decrypt The following nodes are added: * dpdk-crypto-input : polling input node * dpdk-esp-encrypt-post : internal node * dpdk-esp-decrypt-post : internal node Change-Id: I6dca9a890abaf4fb2a4fffce3fd08ac013e4d701 Signed-off-by: Zhang, Roy Fan <roy.fan.zhang@intel.com> Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2016-11-24dpdk: remove old patchesDamjan Marion65-50996/+0
Change-Id: I31244207ca5420558c6ff00b2021126ff5628e08 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-11-23dpdk: switch to 16.11Damjan Marion2-2/+1
Change-Id: Icf9de5b89e5c2cda763e52d528fb70091860a754 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-11-14dpdk: add build support for DPDK 16.11 releaseDamjan Marion1-1/+1
Change-Id: Icec79bfc5d786cd293520b1dcc6b8dccd1419acb Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-11-09dpdk: bump to 16.11-rc3 releaseDamjan Marion1-1/+1
Tarball available at: http://dpdk.org/browse/dpdk/snapshot/dpdk-16.11-rc3.tar.xz Change-Id: Ib34f32206d866888c4b5bf6609b8ae53f570daaa Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-10-26dpdk: enable building with dpdk 16.11-rc1Damjan Marion1-0/+1
Works with: http://dpdk.org/browse/dpdk/snapshot/dpdk-16.11-rc1.tar.xz placed into dpdk/ or ~/Downloads Change-Id: I17f6a721529dbefc796f555e2525d157b9bf8740 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-09-12DPDK virtio patch: Enable indirect descriptor featuresPierre Pfister1-0/+34
http://dpdk.org/dev/patchwork/patch/15610/ This change only includes patch for DPDK 16.07 as DPDK 16.04 doesn't seem to compile for me. Change-Id: I18d84456ef6a15aa308d5e14673a24cb4a7b6909 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
2016-08-25VPP-345: pull in upstream checksum patch for ICMP packetsSean Chandler1-0/+18
http://www.dpdk.org/dev/patchwork/patch/15216/ Change-Id: I91b67f3e5c0abff52626e504e2707814ae0c3ed0 Signed-off-by: Sean Chandler <seandchandler@gmail.com>
2016-08-12VPP: NXP dpaa2 platform porting to dpdk-16.07Sachin1-0/+40106
This patch will temporary add the "dpaa2" driver support in VPP in-built DPDK v16.07 Change-Id: Ieb7005c73bdb72e5eac88e17c21474479ad087f0 Signed-off-by: Sachin <sachin.saxena@nxp.com>
2016-08-11Rename DPDK-16.07 patch file from 0007... to 0008... to avoid conflictJohn Lo1-0/+0
There are now two 0007... patch files. So renaming one to 0008... Change-Id: I82ab883db3436b1fce6b169065b257df052fe63c Signed-off-by: John Lo <loj@cisco.com>
2016-08-10DPDK: Fix a crash in igb_uio driver when the device is removed.Ray Kinsella1-0/+38
This crash happens because the device still has MSI configured, the fix is to free the IRQ. Adding pending further investigation. Change-Id: Ifcd3404fcc25fe27dcccc67d0dcf9d8f0ec18582 Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com> Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-10Temporarily disable unthrottled log message from DPDK 16.07John Lo1-0/+26
Patch to prevent the unthrottled message from spilling to syslog and fill up disk space. Change-Id: I239ca27a7568182217a675692e0be966fc3486f5 Signed-off-by: John Lo <loj@cisco.com>
2016-08-09dpdk: allow applications to override rte delayRay1-0/+43
Some applications may wish to define their own implentation of usec delay other than the existing blocking one. The default behavior remains unchanged. Change-Id: I6cb626e7a5d9d985928aa266e522a849d264a2b2 Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com> Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-08-09DPDK: adding patch to init ptype in vmxnet3, e1000 and virtio PMDsRay1-0/+70
Ensure the packet_type is reset before the buffer is used. This can cause packets to be mishandled in systems with more than one type of driver in use. Change-Id: I14ef9bd6be834d66d19bae36122b648450a9f7e6 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com> Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
2016-08-08DPDK: adding patch to revert ptype change to ixgbe vpmdRay1-0/+133
Commit d9a2009a81089093645fea2e04b51dd37edf3e6f on DPDK.org, reverted the ptype functionality from the ixgbe vPMD. Reverting this change pending a deeper analysis. Change-Id: I2515f3d700b2a4922495ba9e63f202d679543d01 Signed-off-by: Ray <ray.kinsella@intel.com>
2016-08-04ENIC driver patch for PKT_RX_VLAN_PKT packet flag backward compatibilityJohn Lo1-0/+42
The PKT_RX_VLAN_PKT flag will be totally obsolete by 16.11. We still need this ENIC driver patch for 16.07. Change-Id: I287035525d2d1b5313e88e9e74b6310536de2c32 Signed-off-by: John Lo <loj@cisco.com>
2016-08-03VPP-180 Clean up multi-socket / multi-chunk mempool discoveryDave Barach3-2/+1
Change the default DPDK version to 16.07, and rename the indicated patch directory. Use the native vhost-user driver. Change-Id: Ie3d17e90e363ce86f0233b58c152de683b5d9456 Signed-off-by: Dave Barach <dave@barachs.net>
2016-08-02VPP: Fixed dpdk-16.07 BAD checksum errorSachin1-1/+1
- Updated tarball name and checksum value Change-Id: If06581285e506859bd1edb516b690e963c7de5d0 Signed-off-by: Sachin <sachin.saxena@nxp.com>
2016-07-29enic: fix bug introduced with scatter rxShesha Sreenivasamurthy1-0/+24
Author: Nelson Escobar <neescoba@cisco.com> Date: Mon Jun 13 17:24:41 2016 -0700 We did not properly set the rq pointers we pass up to dpdk when rx scatter was introduced. This resulted in segfaults whenever more than one rq was being used. Change-Id: I77a9793ea9035baa1ada77d3af7bc83baf58d097 Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
2016-07-22Add DPDK 16.07 support (rc3 based)Damjan Marion3-1/+1322
DPDK vhost-user support is disabled due to significan changes in the DPDK vhost-user code which are not compatible with current VPP code. Change-Id: I3f0d28cb75f6370282ec7e33d57cbfb77e1a3ce1 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-07-20ENIC driver update to init mbuf data offset to RTE_PKTMBUF_HEADROOMJohn Lo1-0/+47
Change-Id: I19e3e2b28c45d9f7efdd791d6dab126f6508df3e Signed-off-by: John Lo <loj@cisco.com>
2016-07-16Add DPDK patches for i40e vPMD (ptype and ip checksum offload)Damjan Marion2-0/+1298
Change-Id: Idf38ee8f8cfc31be62fcf0b828832b2f06876815 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-07-12ENIC driver update to allow bonded interface admin down/up to pass trafficJohn Lo2-0/+79
When ENIC ports are used as slaves to a bonded interface, these patches enable traffic on bonded interface to resume properly on admin down and then up of the bonded interface. Change-Id: I339926010da614068417c72009b7af2f892890ce Signed-off-by: John Lo <loj@cisco.com>
2016-07-05ENIC driver patches to address various issuesJohn Lo10-0/+741
Also clear x-bit for old patch files 0013-xxx and 0014-xxx. Change-Id: I217fdbfb32cef1ae575c668270d3baf593e688c6 Signed-off-by: John Lo <loj@cisco.com>
2016-07-02Enable PCI extended tags in the DPDK configDamjan Marion1-1/+3
This change should improve DPDK performance on 40G+ NICs with small packets. It also removes ITR setting for i40e devices, allowing driver to set default. Change-Id: I70761b155e48fb0281f7c231516d83027bd16ca2 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-06-17NXP DPAA2 Poll Mode Driver Support in DPDKSachin1-0/+40404
Upstreaming of DPAA2 driver changes is in progress.This patch will temporary add the support in VPP in built DPDK. Two types of changes: 1. Driver specfic independent files. No impact on any other functionality. 2. Changes in common EAL framework. These changes are done in compile time DPAA2 specific flag, so no impact is expected on other existing features if not compiling for DPAA2. Change-Id: I02abe7189313835b51ff654b4d7e566bc0fb8327 Signed-off-by: Sachin <sachin.saxena@nxp.com>
2016-06-09VPP-106: fix performance hit due to unprefetched data readDave Barach1-41/+0
Change-Id: I1325b60b6deadcb51631e178011a31ee70c06cc7 Signed-off-by: Dave Barach <dave@barachs.net>
2016-06-07Rebase DPDK patchesDamjan Marion7-100/+139
Change-Id: I3ef9faceb085bd06b55e3ba7800389eaae56177a Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-06-05dpdk: download from dpdk.orgThomas Monjalon1-6/+6
The tarball repository fast.dpdk.org is fast and reliable enough to be used in VPP build process. Change-Id: Ifaae57d6f8308127b93fc51b2a2a863da5766cd2 Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2016-06-02VPP-106: Patch e40i driver to support VLAN sub-interfaceJohn Lo1-0/+41
Check packet for presence of VLAN tag in the MAC header and set the PKT_RX_VLAN_PKT flag to trigger sub-interface lookup in VPP ethernet-input node. Change-Id: Iadbfc59d08ef85efb936c88323a90194f3cd656f Signed-off-by: John Lo <loj@cisco.com>
2016-05-28VPP-96 ENID driver update for rx of jumbo pkts using muliple mbuf'sJohn Lo2-0/+798
Change-Id: I0e985b079da3224f4886e3ee2cece4d046e291eb Signed-off-by: John Lo <loj@cisco.com>
2016-05-19Add support for multiple microarchitectures in single binaryDamjan Marion1-1/+2
* compiler -march= parameter is changed from native to corei7 so code is always genereted with instructions which are available on the Nehalem microarchitecture (up to SSE4.2) * compiler -mtune= parameter is added so code is optimized for corei7-avx which equals to Sandy Bridge microarchitecture * set of macros is added which allows run-time detection of available cpu instructions (e.g. clib_cpu_supports_avx()) * set of macros is added which allows us to clone graph node funcitons where cloned function is optmized for different microarchitecture Those macros are using following attributes: __attribute__((flatten)) __attribute__((target("arch=core-avx2))) I.e. If applied to foo_node_fn() macro will generate cloned functions foo_node_fn_avx2() and foo_node_fn_avx512() (future) It will also generate function void * foo_node_fn_multiarch_select() which detects available instruction set and returns pointer to the best matching function clone. Change-Id: I2dce0ac92a5ede95fcb56f47f3d1f3c4c040bac0 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-05-17dpdk/Makefile - Allow dpdk target to be set according to the platformChristophe Fontaine1-1/+10
Allows DPDK parameters to be overriden from the platform definition. $(PLATFORM)_dpdk_arch = "armv7a" $(PLATFORM)_dpdk_target = "arm-armv7a-linuxapp-gcc" $(PLATFORM)_dpdk_make_extra_args = "CONFIG_RTE_EAL_IGB_UIO=y" Change-Id: I8c0f233942744cb82ca3ed2d65e33acee845cb4e Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
2016-05-07Switch to using nexus.fd.io for dpdk tarballEd Warnicke1-1/+1
Change-Id: I9751cbb9137627491ee4bd03e0318429327c0bd8 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-04ENIC driver patch to set PKT_RX_VLAN_PKT only if pkt passed has VLAN tagJohn Lo1-0/+42
Change-Id: I72475bfe50e42886ffa8fb6e58eb8192892fa381 Signed-off-by: John Lo <loj@cisco.com>
2016-04-29Revert ixgbe driver vRX removal of packet type recognitionJohn Lo1-0/+128
VPP still needs to use packet type recognition in vRX path of the ixgbe driver so ip packet can bypass ethernet-input node processing for better performance. The shortcoming of packet type recognition in the vRX path does not affect VPP. Change-Id: Ibc96021c50402a75a8bc4f80125c664714276cef Signed-off-by: John Lo <loj@cisco.com>
2016-04-27ENIC driver updates for DPDK 16.04 and 2.2.0John Lo6-12/+3814
Change-Id: I896925ea2208d318d353d486707b97f295c78426 Signed-off-by: John Lo <loj@cisco.com>
2016-04-26Fix compile errors reported by clangDamjan Marion2-3/+42
For using clang as a compiler it is enough to specify CC=clang in the make command line Change-Id: I06f1c1d418b68768f8119de5bdc8748c51f90c02 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-26Build vpp w/ dpdk-16.04 by defaultDave Barach1-1/+1
Change-Id: I82cdd82213517c51064eb439c44068d8977e5619 Signed-off-by: Dave Barach <dave@barachs.net>
2016-04-26Gernerate dpdk config out of target specific filesDamjan Marion1-7/+2
DPDK 16.04 introduced new config parameter RTE_ARCH_X86 which was missing in the dpdk/Makefile That caused issues with virtio devices on older kernels (observed on 3.13.0). This patch changes the source of generated config so it will also include all defines in config/defconfig_TARGET file. Change-Id: Idc6ccbef1d01da84235281ea1078c081846446de Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-20Remove execute flags from some dpdk patch filesDamjan Marion3-0/+0
Change-Id: I972b784082de45480baf1d1f07845743afddea40 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-04-16ENIC driver patch to fix rx miss or drop countersJohn Lo3-0/+87
Change-Id: Ic05d182a5659417e91b85c0ae20b6822a5445945 Signed-off-by: John Lo <loj@cisco.com>