summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-30fix copyright to SPDX and minor changesHEADmasterKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25update and fix cliKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25update and fix cliKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25fix default setup treeKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25merge from master treeKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25cli: add lua support without headersKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25convert to cliKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25fix map file and indentKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25cli: add cli_quit() functionKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25vm_power_manager: add cli codeKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25testpmd: cleanupKeith Wiles
Signed-off-by: Keith Wiles <keith.wiles@intel.com>
2017-11-25testpmd: fix show port crashKeith Wiles
2017-11-25testpmd: format changes for cli codeKeith Wiles
2017-11-25cli_test: reformat fileKeith Wiles
2017-11-25mk: include cli library in buildKeith Wiles
2017-11-25lib: add cli to buildKeith Wiles
2017-11-25cli_test: add new cli test codeKeith Wiles
2017-11-25cli: new CLI codeKeith Wiles
2017-11-25examples: add cli example codeKeith Wiles
2017-11-25docs: include cli documentationKeith Wiles
2017-11-25cofig: add cli build optionKeith Wiles
2017-11-25test-pmd: include cli changesKeith Wiles
2017-11-25update ignore for new filesKeith Wiles
2017-11-23version: 18.02-rc0Thomas Monjalon
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-23doc: add template release notes for 18.02John McNamara
Add template release notes for DPDK 18.02 with inline comments and explanations of the various sections. Signed-off-by: John McNamara <john.mcnamara@intel.com>
2017-11-15version: 17.11.0Thomas Monjalon
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-15doc: fix GSO guide as PDFThomas Monjalon
The PDF cannot be built because of some images integration being forced as SVG. They are converted for PDF format, so the extension must be a wildcard in the RST file. Fixes: f6010c7655cc ("doc: add GSO programmer's guide") Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-15net/mlx5: fix flow mark action on port startShahaf Shuler
Mark action flag was not set on the flow, causing the rx burst function after port start to ignore the flow mark. Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow") Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-11-15maintainers: move NXP bus drivers in related sectionThomas Monjalon
A bus maintainers section has been introduced in 17.11. Let's move all bus drivers in the same place. Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-15doc: add bus libraries to release notesThomas Monjalon
Fixes: 919eeaccb2ba ("bus/dpaa: introduce NXP DPAA bus driver skeleton") Fixes: 7e7df6d0a41d ("bus/fslmc: introduce fsl-mc bus driver") Fixes: c752998b5e2e ("pci: introduce library and driver") Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-15doc: announce behaviour change to i40e RSSJohn McNamara
Add deprecation notice to highlight a future change in the default configuration behavior for flexible payload for RSS. Signed-off-by: John McNamara <john.mcnamara@intel.com> Acked-by: Andrey Chilikin <andrey.chilikin@intel.com>
2017-11-15pdump: fix typo in error logMaria Lingemark
Fixes: 278f945402c5 ("pdump: add new library for packet capture") Signed-off-by: Maria Lingemark <maria.lingemark@ericsson.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2017-11-15mbuf: fix segments number type increaseIlya V. Matveychikov
Update types of variables to correspond to nb_segs type change from uint8_t to uint16_t. Fixes: 97cb466d65c9 ("mbuf: use 2 bytes for port and nb segments") Cc: stable@dpdk.org Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-11-14net/sfc: avoid Tx queue setup failure if thresholds are setAndrew Rybchenko
Tx queue prefetch, host and writeback thresholds are used for performance fine-tuning and not applicable to Solarflare NICs. It is safe to just log warning and do not fail Tx queue setup to be more friendly to DPDK applications which hardcode it. Fixes: b1b7ad933b39 ("net/sfc: set up and release Tx queues") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2017-11-14net/sfc: avoid Rx queue setup failure if thresholds are setAndrew Rybchenko
Rx queue prefetch, host and writeback thresholds are used for performance fine-tuning and not applicable to Solarflare NICs. It is safe to just log warning and do not fail Rx queue setup to be more friendly to DPDK applications which hardcode it. Fixes: ce35b05c635e ("net/sfc: implement Rx queue setup release operations") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2017-11-14net/mlx5: fix build without soft countersThierry Herbelot
total_length is only visible when SOFT_COUNTERS are enabled Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO") Cc: stable@dpdk.org Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
2017-11-14net/mlx5: fix flow director deletionNelio Laranjeiro
The specification are wrongly computed causing the rule to not be match correctly for deletion. Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
2017-11-13version: 17.11-rc4Thomas Monjalon
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2017-11-13doc: add tested platforms with Mellanox NICsRaslan Darawsheh
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
2017-11-13doc: fix a typo in EAL guideRami Rosen
Fix an error in DPDK programmer's guide (EAL section): it should be rte_thread_get_affinity() instead of rte_pthread_get_affinity(). Signed-off-by: Rami Rosen <rami.rosen@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
2017-11-13doc: fix a typo in pipeline app guideRami Rosen
This patch fixes a trivial typo in ip pipeline app guide. Signed-off-by: Rami Rosen <rami.rosen@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
2017-11-13usertools: fix a typo in bind scriptPavel Shirshov
Signed-off-by: Pavel Shirshov <pavel.shirshov@gmail.com>
2017-11-13lib: fix typosPavel Shirshov
Signed-off-by: Pavel Shirshov <pavel.shirshov@gmail.com>
2017-11-12bus/pci: fix a typo in doxygen file descriptionJerin Jacob
Fixes: 764bf26873b9 ("add FreeBSD support") Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
2017-11-12net/virtio: fix memory leak on failurePengzhen Liu
In function eth_virtio_dev_init(), dynamic memory stored in "eth_dev->data->mac_addrs" variable and it is not freed when function return, this is a possible memory leak. Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_addrs is not freed") Cc: stable@dpdk.org Signed-off-by: Pengzhen Liu <liupengzhen3@huawei.com> Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2017-11-12ring: guarantee load/load order in enqueue and dequeueJia He
We watched a rte panic of mbuf_autotest in our qualcomm arm64 server (Amberwing). Root cause: In __rte_ring_move_cons_head() ... do { /* Restore n as it may change every loop */ n = max; *old_head = r->cons.head; //1st load const uint32_t prod_tail = r->prod.tail; //2nd load In weak memory order architectures (powerpc,arm), the 2nd load might be reodered before the 1st load, that makes *entries is bigger than we wanted. This nasty reording messed enque/deque up. cpu1(producer) cpu2(consumer) cpu3(consumer) load r->prod.tail in enqueue: load r->cons.tail load r->prod.head store r->prod.tail load r->cons.head load r->prod.tail ... store r->cons.{head,tail} load r->cons.head Then, r->cons.head will be bigger than prod_tail, then make *entries very big and the consumer will go forward incorrectly. After this patch, the old cons.head will be recaculated after failure of rte_atomic32_cmpset There is no such issue on X86, because X86 is strong memory order model. But rte_smp_rmb() doesn't have impact on runtime performance on X86, so keep the same code without architectures specific concerns. Fixes: 50d769054872 ("ring: add burst API") Cc: stable@dpdk.org Signed-off-by: Jia He <jia.he@hxt-semitech.com> Signed-off-by: Jie Liu <jie2.liu@hxt-semitech.com> Signed-off-by: Bing Zhao <bing.zhao@hxt-semitech.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Jianbo Liu <jianbo.liu@arm.com>
2017-11-12maintainers: update PTP client examplePablo de Lara
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
2017-11-12maintainers: update job stats libraryPablo de Lara
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
2017-11-12maintainers: update for fm10kXiao Wang
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
2017-11-12maintainers: resign from mlx4 maintenanceNelio Laranjeiro
I have been a little too busy these past months and could not follow all the re-work of this PMD. So the best thing for this PMD would be to move the mlx4 maintenance to more involved people. Cc: stable@dpdk.org Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>