AgeCommit message (Collapse)Author
2017-08-08version: 17.08.0v17.08Thomas Monjalon
Signed-off-by: Thomas Monjalon <>
2017-08-08eventdev: bump library versionJerin Jacob
Bumping the library version to reflect the ABI change, where rte_event_pmd_pci_probe(), rte_event_pmd_pci_remove(), rte_event_pmd_vdev_init(), rte_event_pmd_vdev_uninit() functions removed from the library. Fixes: b1b3d9f90502 ("eventdev: make vdev init and uninit functions optional") Fixes: 9a8269d56942 ("eventdev: make PCI probe and remove functions optional") Reported-by: Thomas Monjalon <> Signed-off-by: Jerin Jacob <>
2017-08-08doc: add eventdev lib in 17.05 release notesJerin Jacob was introduced in v17.05, and it missed to update in release_17_05 release notes. Fixes: 222555480a7f9 ("version: 17.05.0") Cc: Reported-by: Thomas Monjalon <> Signed-off-by: Jerin Jacob <>
2017-08-08eal: bump ABI versionGaetan Rivet
1. PCI domain field in PCI address structure grew from 16 to 32 bits. commit: 463ced957c3f ("pci: increase domain storage to 32 bits") 2. rte_bus structure gaining new ops. commit: 3a8f0bc68a90 ("bus: add method to find device") commit: 7c8810f43f6e ("bus: introduce device plug/unplug") commit: 609eb7dde6d0 ("bus: introduce parsing functionality") commit: 98eb4b845c1a ("bus: introduce scan policies") 3. rte_devargs structure having been mostly rewritten. commit: f3a1188cee4a ("devargs: make device representation generic") commit: 47828c5f3bc3 ("devargs: parse bus info") commit: 39f403e0d5bb ("devargs: restore device type API") Signed-off-by: Gaetan Rivet <>
2017-08-08doc: announce API change for meter libraryCristian Dumitrescu
Signed-off-by: Cristian Dumitrescu <> Acked-by: John McNamara <> Acked-by: Jasvinder Singh <> Acked-by: Radu Nicolau <> Acked-by: David Hunt <>
2017-08-08doc: announce API change in crypto driver allocationPablo de Lara
rte_cryptodev_allocate_driver() function gets one parameter (rte_driver), as the cryptodev_driver structure is allocated inside the function with rte_malloc. This function is called from a constructor function, when crypto PMDs are registered. If malloc fails, there is no way to recover from it, so it is better to allocate this structure statically, in each PMD. Therefore, it is required to add an extra parameter in this function, to also get a pointer to this structure. Signed-off-by: Pablo de Lara <> Acked-by: John McNamara <> Acked-by: Akhil Goyal <> Acked-by: Deepak Kumar Jain <>
2017-08-08doc: announce crypto vdev init removalPablo de Lara
In order to remove all dependencies on vdev for cryptodev, the implementation of rte_cryptodev_vdev_pmd_init() function needs to be moved to rte_cryptodev_vdev.h, and all crypto vdevs will include it, and therefore, this function will be removed as a public API. Signed-off-by: Pablo de Lara <> Acked-by: John McNamara <> Acked-by: Akhil Goyal <> Acked-by: Deepak Kumar Jain <>
2017-08-08doc: announce ABI change for cryptodev/ethdev offloadsAkhil Goyal
Support for security operations is planned to be added in ethdev and cryptodev for the 17.11 release. For this following changes are required. - rte_cryptodev and rte_eth_dev structures need to be added new parameter rte_security_ops which extend support for security ops to the corresponding driver. - rte_cryptodev_info and rte_ethd_dev_info need to be added with rte_security_capabilities to identify the capabilities of the corresponding driver. Signed-off-by: Akhil Goyal <> Acked-by: Hemant Agrawal <> Acked-by: Pablo de Lara <> Acked-by: Boris Pismenny <> Acked-by: Shahaf Shuler <>
2017-08-08ethdev: announce ethdev name size increaseStephen Hemminger
VMBUS support will use GUID in eth_dev_data name field which requires at least 37 characters. Plan for increase in size now. Signed-off-by: Stephen Hemminger <> Acked-by: Yongseok Koh <> Acked-by: Shahaf Shuler <> Acked-by: Thomas Monjalon <>
2017-08-08doc: announce ethdev port id range increaseZhiyong Yang
This is an API/ABI change notice for DPDK 17.11 announcing the redefinition of port_id. port_id is currently defined as uint8_t, which is limited to the range 0 to 255. A larger range is required for vdev scalability. It is necessary for a redefinition of port_id to extend it from 1 bytes to 2 bytes. All ethdev APIs and usages related to port_id will be changed at the same time. Signed-off-by: Zhiyong Yang <> Acked-by: Jianfeng Tan <> Acked-by: Yuanhan Liu <> Acked-by: Jerin Jacob <> Acked-by: Remy Horton <> Acked-by: Shahaf Shuler <>
2017-08-08doc: announce ethdev API change for detach flagGaetan Rivet
The flag RTE_ETH_DEV_DETACHABLE will disappear. This flag is not needed anymore following the hotplug work done for v17.08. It can be removed, its function is now implicitly made available by the relevant EAL and rte_bus implementations. Signed-off-by: Gaetan Rivet <> Acked-by: John McNamara <> Acked-by: Adrien Mazarguil <> Acked-by: Thomas Monjalon <>
2017-08-08doc: announce API changes for mempoolSantosh Shukla
An API/ABI change is planned for 17.11 to change following * Remove unused flag param from rte_mempool_generic_get and _put. * Change data type for mempool 'flag' from int to unsigned int. Refer [1]. * Add struct rte_mempool * param into func rte_mempool_xmem_size, rte_mempool_xmem_usage to make it mempool aware. Refer [2]. [1] [2] Signed-off-by: Santosh Shukla <> Acked-by: Jerin Jacob <> Acked-by: Olivier Matz <>
2017-08-08doc: announce change to make DPDK IOVA awareJerin Jacob
When we run DPDK on guest or VFIO mode on host, the dpdk library or device will not be directly accessing the physical address. Instead, the device does go through an IO address translation memory management unit. On x86, we call it as IOMMU and on ARM as SMMU. More details: Based on discussion in the following thread We would like to change reference to physical address to more appropriate name as with IOMMU/SMMU with the device won't be dealing directly with the physical address. An ABI change is planned for 17.11 to change following data structure or functions to more appropriate name. Currently planned to change it iova as instead of phys Please note: The change will be only for the name and functional aspects of the API will remain same. Following functions/data structures name may change. This list is based on v17.05-rc1. It may change based on v17.11 code base. typedef: phys_addr_t structures: struct rte_memseg::phys_addr struct rte_mbuf::buf_physaddr functions: rte_mempool_populate_phys() rte_mempool_populate_phys_tab() rte_eal_using_phys_addrs() rte_mem_virt2phy() rte_dump_physmem_layout() rte_eal_get_physmem_layout() rte_eal_get_physmem_size() rte_malloc_virt2phy() rte_mem_phy2mch() Signed-off-by: Jerin Jacob <> Acked-by: Santosh Shukla <> Acked-by: Hemant Agrawal <> Acked-by: Olivier Matz <> Acked-by: Thomas Monjalon <>
2017-08-08doc: deprecate Xen supportJianfeng Tan
Following the calls on the mailing list: The Technical Board decided to drop Xen dom0 support from EAL: Signed-off-by: Thomas Monjalon <> Signed-off-by: Jianfeng Tan <> Acked-by: John McNamara <> Acked-by: Jerin Jacob <> Acked-by: Shahaf Shuler <>
2017-08-08doc: update devargs changes planned in 17.11Gaetan Rivet
Suggested-by: Jan Blunck <> Signed-off-by: Gaetan Rivet <> Acked-by: Thomas Monjalon <>
2017-08-08doc: remove bus rework noticesThomas Monjalon
The vdev subsystem is a driver, and the struct rte_pci_driver is not used anymore in generic driver interfaces. Signed-off-by: Thomas Monjalon <>
2017-08-08doc: postpone VLAN flags reworkThomas Monjalon
The rework of VLAN flags in mbuf was not completed in 17.08. Signed-off-by: Thomas Monjalon <>
2017-08-08doc: postpone legacy log functions removalThomas Monjalon
The replacement function rte_log_get_level() has just been implemented in 17.08. Better to postpone the removal of legacy functions to 17.11. Fixes: 4f0981e6ec6c ("eal: deprecate log functions") Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <> Acked-by: Olivier Matz <>
2017-08-07app/crypto-perf: fix operation freePablo de Lara
In crypto latency test, when some crypto operations cannot be enqueued, they are returned to its mempool. However, instead of freeing the operations in the array passed to the enqueue function, the app was freeing the operations in the array passed to the dequeue function, leading to incorrect results. Fixes: 15b55dd75120 ("app/crypto-perf: return crypto ops to mempool in bulk") Signed-off-by: Pablo de Lara <>
2017-08-07doc: update release notes for 17.08John McNamara
Fix grammar, spelling and formatting of DPDK 17.08 release notes. Signed-off-by: John McNamara <>
2017-08-06doc: include fail-safe PMD in release notesGaetan Rivet
Signed-off-by: Gaetan Rivet <> Acked-by: John McNamara <>
2017-08-06doc: add GRO guideJiayu Hu
Add prog_guide doc to explain the design of the GRO library. Signed-off-by: Jiayu Hu <> Acked-by: John McNamara <>
2017-08-06doc: list NPAR as supported feature in qedeShahed Shaikh
Existing qede PMD code already supports NPAR feature. So adding this in "Supported Features" section after testing it with latest DPDK. Also, add myself to the list of maintainers of qede PMD Signed-off-by: Shahed Shaikh <> Acked-by: John McNamara <> Acked-by: Rasesh Mody <>
2017-08-06mem: minor fix spelling and formatKeith Wiles
Signed-off-by: Keith Wiles <>
2017-08-06doc: update FAQ with new testpmd default burst sizeBruce Richardson
Fixes: 836853d3d4cf ("app/testpmd: increase default burst size to 32") Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <>
2017-08-06doc: remove unneeded TLB from FAQ question 2Bruce Richardson
Hugepages are just that, hugepages. The TLB is a sort of cache for doing address translation and does not need to be referenced in the title, since "TLB hugepages" doesn't make any sense (as there are no non-TLB hugepages that you can allocate). Fixes: 6e718ae062d0 ("doc: release notes 1.7") Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <>
2017-08-06doc: clarify restrictions to run as non-rootBruce Richardson
Since modern kernels don't allow unprivileged processes to read the pagemaps file, the instructions on running as non-root are out-of-date. Add a note clarifying that they will only work with earlier kernel versions. Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <>
2017-08-05doc: fix typo in KNI guideJerin Jacob
Fixes: fc1f2750a3ec ("doc: programmers guide") Signed-off-by: Jerin Jacob <> Acked-by: John McNamara <>
2017-08-05doc: document NIC featuresFerruh Yigit
Document NIC features, add more information about them and add more implementation related support. Signed-off-by: Ferruh Yigit <> Signed-off-by: John McNamara <> Reviewed-by: Andrew Rybchenko <> Acked-by: Shreyansh Jain <>
2017-08-05doc: add tags and cscope make targets to quick helpGabriel Carrillo
Update the "make help" output to reflect the additions of make targets for tags database generation. Fixes: aafaea3d3b70 ("devtools: add tags and cscope index generation") Signed-off-by: Gabriel Carrillo <> Signed-off-by: Thomas Monjalon <>
2017-08-05maintainers: volunteer to take power managementDavid Hunt
Signed-off-by: David Hunt <> Acked-by: Bruce Richardson <>
2017-08-05mk: add sensible default target with defconfigDavid Hunt
Users can now use 'make defconfig' to generate a configuration using the most appropriate defaults for the current machine. <arch-machine-execenv-toolchain> arch taken from uname -m machine defaults to native execenv is taken from uname, Linux=linuxapp, otherwise bsdapp toolchain is taken from $CC -v to see which compiler to use Signed-off-by: David Hunt <> Acked-by: Shreyansh Jain <> Tested-by: Jerin Jacob <> Acked-by: Thomas Monjalon <>
2017-08-05examples/eventdev: fix run forever with -n optionHarry van Haaren
During the refactoring of the sample app to be more generic, the option to set -n0 and process a huge number of packets was lost. This commit re-adds -n0, and will process INT64_MAX number of packets. Fixes: adb5d5486c39 ("examples/eventdev_pipeline_sw_pmd: add sample app") Signed-off-by: Harry van Haaren <>
2017-08-05examples/l3fwd: fix IPv6 packet type parseQi Zhang
Fix a typo that cause IPv6 packet type not be parsed. Fixes: 71a7e2424e07 ("examples/l3fwd: fix using packet type blindly") Cc: Signed-off-by: Qi Zhang <>
2017-08-05net/i40e: revert fix of PF notify when VF not upXiaoyun Li
This reverts commit 035a8cf88f010c82de3040c895c801ce0849b065. Don't send messages to inactive VF will cause DPDK PF failing to send messages to kernel VF. With this revert, this issue will be solved. Fixes: 035a8cf88f01 ("net/i40e: fix PF notify when VF is not up") Cc: Signed-off-by: Xiaoyun Li <> Acked-by: Beilei Xing <>
2017-08-05net/ixgbe: fix mask flag on flow rule creationQi Zhang
After fail to create a flow and if this is the first flow, the mask_added flag should be reset, or it will prevent a new flow which require different mask be created, since the mask config remains impact. Fixes: 72c135a89f8 ("net/ixgbe: create consistent filter") Cc: Signed-off-by: Qi Zhang <>
2017-08-05gro: fix missing includesThomas Monjalon
The GRO header file depends on stdint and mbuf. Spotted with devtools/ Fixes: e996506a1c07 ("lib/gro: add Generic Receive Offload API framework") Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2017-08-05eventdev: fix missing includesThomas Monjalon
The PCI helper file depends on some EAL definitions. Spotted with devtools/ error: implicit declaration of function ‘rte_eal_process_type’ error: ‘RTE_PROC_PRIMARY’ undeclared error: implicit declaration of function ‘rte_socket_id’ There was also this error because the inline keyword was missing: error: ‘rte_event_pmd_pci_probe’ defined but not used Fixes: 9a8269d56942 ("eventdev: make PCI probe and remove functions optional") Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2017-08-05cryptodev: fix C11 extensions in exported headerAdrien Mazarguil
Fix issues reported by rte_crypto_sym.h:586:3: error: anonymous structs are a C11 extension [-Werror,-Wc11-extensions] rte_crypto_sym.h:510:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] Fixes: b59502a5e3d0 ("cryptodev: add AEAD parameters in crypto operation") Signed-off-by: Adrien Mazarguil <> Acked-by: Pablo de Lara <>
2017-08-05ethdev: fix C11 extensions in exported TM headerAdrien Mazarguil
Fix issues reported by rte_tm.h:473:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] rte_tm.h:696:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] rte_tm.h:904:2: error: anonymous unions are a C11 extension [-Werror,-Wc11-extensions] Fixes: 5d109deffa87 ("ethdev: add traffic management API") Signed-off-by: Adrien Mazarguil <> Acked-by: Cristian Dumitrescu <>
2017-08-04eal: fix hotplug device parsingGaetan Rivet
snprintf returns the length it would have written had the given length been enough, *terminating null byte excluded*. It will however limit the length of its writing to given length minus one, and always put a terminating null-byte at the end of the string. This must be taken into account when calculating the total length of the device declaration string. Fixes: 3054036f054a ("eal: fix possible crash in hotplug") Signed-off-by: Gaetan Rivet <>
2017-08-04version: 17.08-rc4v17.08-rc4Thomas Monjalon
Signed-off-by: Thomas Monjalon <>
2017-08-04doc: remove unnecessary deprecation noticeJianfeng Tan
The original purpose of this deprecation is to make sure PCI devices are reset whenever DPDK apps crash. Since the commit b58eedfc7dd5 from Shijith can fix this problem without deprecating anything, now there is no need to deprecate iomem and ioport mapping in igb_uio. Fixes: 3bac1dbc1ed5 ("doc: announce iomem and ioport removal from igb_uio") Signed-off-by: Jianfeng Tan <> Acked-by: John McNamara <>
2017-08-04maintainers: add event ring test to eventdevThomas Monjalon
This file was not referenced in MAINTAINERS list. The miss is spotted with devtools/ As this test file is related to eventdev, they should both have the same maintainer. Fixes: 1ee55d7a6e4d ("test/eventdev: add auto-tests for event ring functions") Signed-off-by: Thomas Monjalon <> Acked-by: Jerin Jacob <>
2017-08-04doc: move metrics libs to device API sectionThomas Monjalon
The metrics headers were listed in misc section, whereas they belong to the device API family. Fixes: 349950ddb9c5 ("metrics: add information metrics library") Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library") Fixes: 5cd3cac9ed22 ("latency: added new library for latency stats") Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2017-08-04doc: move keepalive to multicore API sectionThomas Monjalon
The keepalive header was listed in misc section, despite its doxygen comment is "LCore Keepalive Monitor". Fixes: 75583b0d1efd ("eal: add keep alive monitoring") Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2017-08-04doc: remove outdated list of supported OSThomas Monjalon
It is very difficult to list OS which are really supported. Instead of continuing this unrealistic effort, a more reliable list of tested platforms and OS is updated in the release notes. Signed-off-by: Thomas Monjalon <> Acked-by: John McNamara <>
2017-08-04doc: add tested Intel platforms with Intel NICsYulong Pei
Add tested Intel platforms with Intel NICs to the release note. Signed-off-by: Yulong Pei <> Acked-by: John McNamara <>
2017-08-04doc: warn about UIO not working with UEFI secure bootJohn McNamara
Added notes to the documentation warning that if UEFI secure boot is enabled the Linux kernel may disallow the use of UIO on the system, and a suggested workaround of using the vfio-pci kernel module instead of igb_uio or uio_pci_generic. Signed-off-by: John McNamara <>
2017-08-04doc: add how-to on packet capture frameworkReshma Pattan
Add How-To doc to describe the use of the pdump library and the dpdk-pdump tool to capture traffic on DPDK ports. Signed-off-by: Reshma Pattan <> Acked-by: John McNamara <>