[dpdk-dev] [PATCH v2 11/14] net/i40e: support AVF basic interface

2017-11-23 Thread Jingjing Wu
Enable Virtchnl offload Caps negotiation and RSS_PF offload to support AVF basic interface. Signed-off-by: Jingjing Wu --- config/common_base | 2 +- drivers/net/i40e/i40e_ethdev.c | 64 +++ drivers/net/i40e/i40e_ethdev.h | 4 ++ drivers/net/i40e/i40e_pf.c |

[dpdk-dev] [PATCH v2 13/14] net/avf: enable bulk allocate Rx func

2017-11-23 Thread Jingjing Wu
Signed-off-by: Wenzhuo Lu --- drivers/net/avf/avf.h| 1 + drivers/net/avf/avf_ethdev.c | 1 + drivers/net/avf/avf_rxtx.c | 300 +++ drivers/net/avf/avf_rxtx.h | 6 + 4 files changed, 308 insertions(+) diff --git a/drivers/net/avf/avf.h b/

[dpdk-dev] [PATCH v2 14/14] net/avf: enable Rx interrupt support

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- MAINTAINERS | 6 ++ doc/guides/nics/features/avf.ini | 38 +++ doc/guides/nics/features/avf_vec.ini | 38 +++ doc/guides/nics/intel_vf.rst | 16 ++- drivers/net/avf/avf_ethdev.c | 190

[dpdk-dev] [PATCH v2 12/14] net/avf: enable sse vector Rx Tx func

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- config/common_base| 1 + drivers/net/avf/Makefile | 1 + drivers/net/avf/avf.h | 4 + drivers/net/avf/avf_ethdev.c | 11 + drivers/net/avf/avf_rxtx.c| 178 - drivers/net/avf/avf_rxt

[dpdk-dev] [PATCH v2 07/14] net/avf: enable ops for MAC VLAN offload

2017-11-23 Thread Jingjing Wu
- promiscuous_enable - promiscuous_disable - allmulticast_enable - allmulticast_disable - mac_addr_add - mac_addr_remove - mac_addr_set - vlan_filter_set - vlan_offload_set Signed-off-by: Jingjing Wu --- drivers/net/avf/avf.h| 5 + drivers/net/avf/avf_ethdev.c | 215 ++

[dpdk-dev] [PATCH v2 10/14] net/avf: enable ops to check queue info and status

2017-11-23 Thread Jingjing Wu
- rxq_info_get - txq_info_get - rx_queue_count - rx_descriptor_status - tx_descriptor_status Signed-off-by: Jingjing Wu --- drivers/net/avf/avf_ethdev.c | 5 ++ drivers/net/avf/avf_rxtx.c | 120 +++ drivers/net/avf/avf_rxtx.h | 7 +++ 3 files

[dpdk-dev] [PATCH v2 08/14] net/avf: enable ops for RSS setting

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/avf/avf_ethdev.c | 142 +++ 1 file changed, 142 insertions(+) diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c index 9cf1cfd..170317d 100644 --- a/drivers/net/avf/avf_ethdev.c +++ b/drivers

[dpdk-dev] [PATCH v2 09/14] net/avf: enable ops for MTU setting

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/avf/avf_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/avf/avf_ethdev.c b/drivers/net/avf/avf_ethdev.c index 170317d..d257d2a 100644 --- a/drivers/net/avf/avf_ethdev.c +++ b/drivers/net/avf/avf_et

[dpdk-dev] [PATCH v2 05/14] net/avf: enable link status update

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/avf/avf.h| 2 ++ drivers/net/avf/avf_ethdev.c | 48 drivers/net/avf/avf_vchnl.c | 38 ++- 3 files changed, 87 insertions(+), 1 deletion(-) diff --git a/drivers/net/av

[dpdk-dev] [PATCH v2 06/14] net/avf: enable ops to get stats

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/avf/avf.h| 2 ++ drivers/net/avf/avf_ethdev.c | 27 +++ drivers/net/avf/avf_vchnl.c | 26 ++ 3 files changed, 55 insertions(+) diff --git a/drivers/net/avf/avf.h b/drivers/net/avf/avf.h index cbc

[dpdk-dev] [PATCH v2 03/14] net/avf: enable queue and device

2017-11-23 Thread Jingjing Wu
enable device and queue setup ops like: - dev_configure - dev_start - dev_stop - dev_close - dev_infos_get - rx_queue_start - rx_queue_stop - tx_queue_start - tx_queue_stop - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release Signed-off-by: Jingjing Wu --- driver

[dpdk-dev] [PATCH v2 02/14] net/avf: initilization of avf PMD

2017-11-23 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- config/common_base | 5 + drivers/net/Makefile| 1 + drivers/net/avf/Makefile| 58 drivers/net/avf/avf.h | 214 ++ drivers/net/avf/avf_ethdev.c| 482

[dpdk-dev] [PATCH v2 04/14] net/avf: enable basic Rx Tx func

2017-11-23 Thread Jingjing Wu
Signed-off-by: Wenzhuo Lu --- config/common_base | 4 + drivers/net/avf/Makefile | 3 + drivers/net/avf/avf_ethdev.c | 36 +- drivers/net/avf/avf_log.h| 27 +- drivers/net/avf/avf_rxtx.c | 789 ++- drivers/net/avf/avf_rxtx.h | 5

[dpdk-dev] [PATCH v2 00/14] add new avf PMD

2017-11-23 Thread Jingjing Wu
Adaptive Virtual Function (AVF) Driver is VF driver which supports for all future Intel devices without requiring a VM update. It promises the basic high speed connectivity. And since this happens to be an adaptive VF driver, every new drop of the VF driver would add more and more advanced features

[dpdk-dev] [PATCH v5] net/i40e: determine number of queues per VF during run time

2017-11-23 Thread Wei Dai
Without this patch, the number of queues per i40e VF is defined as 4 by CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 in config/common_base. It is fixed value determined in building time and can't be changed during run time. With this patch, the number of queues per i40e VF can be determinated during

Re: [dpdk-dev] [PATCH 2/2] net/virtio: support GUEST ANNOUNCE

2017-11-23 Thread Tiwei Bie
Hi, Some quick comments. Will go through the whole patch later. On Fri, Nov 24, 2017 at 03:04:00AM -0800, Xiao Wang wrote: > When live migration is done, for the backup VM, either the virtio > frontend or the vhost backend needs to send out gratuitous RARP packet > to announce its new network loc

Re: [dpdk-dev] [PATCH 1/2] net/virtio: make control queue thread-safe

2017-11-23 Thread Tiwei Bie
On Fri, Nov 24, 2017 at 03:03:59AM -0800, Xiao Wang wrote: [...] > diff --git a/drivers/net/virtio/virtio_rxtx.h > b/drivers/net/virtio/virtio_rxtx.h > index 54f1e84..24e3026 100644 > --- a/drivers/net/virtio/virtio_rxtx.h > +++ b/drivers/net/virtio/virtio_rxtx.h > @@ -84,6 +84,7 @@ struct virtnet

[dpdk-dev] [PATCH v2 1/2] net/e1000: move RSS to flow API

2017-11-23 Thread Wei Zhao
Rte_flow actually defined to include RSS, but till now, RSS is out of rte_flow. This patch is to move igb existing RSS to rte_flow. Signed-off-by: Wei Zhao --- drivers/net/e1000/e1000_ethdev.h | 20 + drivers/net/e1000/igb_ethdev.c | 17 + drivers/net/e1000/igb_flow.c | 160 +

[dpdk-dev] [PATCH v2 0/2] move RSS to flow API

2017-11-23 Thread Wei Zhao
The patches mainly finish following functions: 1) igb move RSS to flow API 2) ixgbe move RSS to flow API v2: -fix bug for RSS flush code. -fix patch check warning. root (2): net/e1000: move RSS to flow API net/ixgbe: move RSS to flow API drivers/net/e1000/e1000_ethdev.h | 20 + drivers

[dpdk-dev] [PATCH v2 2/2] net/ixgbe: move RSS to flow API

2017-11-23 Thread Wei Zhao
Rte_flow actually defined to include RSS, but till now, RSS is out of rte_flow. This patch is to move ixgbe existing RSS to rte_flow. Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_ethdev.c | 12 +++ drivers/net/ixgbe/ixgbe_ethdev.h | 10 +++ drivers/net/ixgbe/ixgbe_flow.c | 165 +++

[dpdk-dev] [PATCH 2/2] net/virtio: support GUEST ANNOUNCE

2017-11-23 Thread Xiao Wang
When live migration is done, for the backup VM, either the virtio frontend or the vhost backend needs to send out gratuitous RARP packet to announce its new network location. This patch enables VIRTIO_NET_F_GUEST_ANNOUNCE feature to support live migration scenario where the vhost backend doesn't h

[dpdk-dev] [PATCH 0/2] net/virtio: support GUEST ANNOUNCE

2017-11-23 Thread Xiao Wang
When live migration is finished, the backup VM needs to proactively announce its new location. DPDK vhost has implemented VHOST_USER_PROTOCOL_F_RARP to generate a RARP packet to switch in dequeue path. Another method is to let the guest proactively send out RARP packet using VIRTIO_NET_F_GUEST_ANNO

[dpdk-dev] [PATCH 1/2] net/virtio: make control queue thread-safe

2017-11-23 Thread Xiao Wang
The virtio_send_command function may be called from app's configuration routine, but also from an interrupt handler called when live migration is done on the backup side. So this patch makes control queue thread-safe first. Signed-off-by: Xiao Wang --- drivers/net/virtio/virtio_ethdev.c | 7

Re: [dpdk-dev] [PATCH v4 0/4] fix race condition in enqueue/dequeue because of cpu reorder

2017-11-23 Thread Jia He
Hi Bruce I knew little about DPDK's milestone I read some hints from http://dpdk.org/dev/roadmap 18.02 * Proposal deadline: November 24, 2017 * Integration deadline: January 5, 2018 I wonder whether I need to resend the patchset(the 2nd part) again after November 24? Thanks for any sugges

[dpdk-dev] dpdk native tcp/ip stack (ans) performance

2017-11-23 Thread zimeiw
hi, Share dpdk tcp/ip stack performance here:  CPU Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz  NIC 02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) 02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connect

Re: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index

2017-11-23 Thread Kyle Larose
Hello, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Lilijun (Jerry) > Sent: Monday, November 20, 2017 2:16 AM > To: dev@dpdk.org; tomaszx.kula...@intel.com > Cc: Zhang, Jerry; Wanghanlin > Subject: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable >

Re: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index

2017-11-23 Thread Kyle Larose
Sorry -- ignore my previous email. I was looking at it from the wrong perspective. I was thinking of what happens in active activate_slave, which calls bond_mode_8023ad_activate_slave *before* adding to the active_slaves[] array. In this case, the slaves are already active, since we're iterating o

[dpdk-dev] rte_eth_bond: Packets are received by lag despite interface not collecting

2017-11-23 Thread Kyle Larose
Hello, I've run into some unexpected behaviour in the rte_eth_bond pmd using 8023ad mode with dedicated queues. bond_ethdev_rx_burst_8023ad_fast_queue iterates over all active slaves, and receives from each. This incorrectly ignores whether or not the interface is collecting. If it is not colle

Re: [dpdk-dev] [PATCH] version: 18.02-rc0

2017-11-23 Thread Thomas Monjalon
The new release cycle is open, and reviews are more than welcome :) Please consider reviewing your peers, and contribute to the success of this release, thanks!

[dpdk-dev] [PATCH] version: 18.02-rc0

2017-11-23 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index b176f6585..adee8bbc6 100644 --- a/lib/librte_

Re: [dpdk-dev] [PATCH v2] doc: add template release notes for 18.02

2017-11-23 Thread Thomas Monjalon
22/11/2017 18:38, John McNamara: > Add template release notes for DPDK 18.02 with inline > comments and explanations of the various sections. > > Signed-off-by: John McNamara > --- > > V2: Added "Removed Items" and removed "Resolved Issues". > > doc/guides/rel_notes/release_18_02.rst | 186 >

[dpdk-dev] proposal deadline for 18.02 is November 30

2017-11-23 Thread Thomas Monjalon
Hi all, As announced when releasing DPDK 17.11, the proposal deadline is the end of the month. It means that new features may be considered for inclusion in 18.02 if proposed in November (until the 30th). The website will be updated to make it clear: http://dpdk.org/ml/archives/web/2017-N

[dpdk-dev] Question about cache_size in rte_mempool_create

2017-11-23 Thread Roy Shterman
Hi, In the documentation it says that: * @param cache_size * If cache_size is non-zero, the rte_mempool library will try to * limit the accesses to the common lockless pool, by maintaining a * per-lcore object cache. This argument must be lower or equal to * CONFIG_RTE_MEMPOOL_CACHE_

[dpdk-dev] [PATCH v2 5/5] net/mlx4: restore inner VXLAN RSS support

2017-11-23 Thread Adrien Mazarguil
Inner VXLAN RSS was supported and performed by default prior to the entire mlx4 refactoring that occurred in DPDK 17.11, however so far the new Verbs RSS API did not provide means to enable it. This will be addressed in Linux 4.15 and in RDMA core. Thanks to RSS capabilities, the PMD can now probe

[dpdk-dev] [PATCH v2 4/5] net/mlx4: restore UDP RSS by probing capabilities

2017-11-23 Thread Adrien Mazarguil
Until now, UDP RSS support could not be relied on due to a problem in the Linux kernel implementation and mlx4 RSS capabilities were not reported at all, hence the PMD had to make assumptions. Since both issues will be addressed simultaneously in Linux 4.15 (related patches already upstream) and l

[dpdk-dev] [PATCH v2 3/5] net/mlx4: use function to get default RSS fields

2017-11-23 Thread Adrien Mazarguil
Supported RSS hash fields are listed in function mlx4_conv_rss_hf() and duplicated in mlx4_flow_prepare(); the latter are used when RSS is requested without specifying any parameters. This commit standardizes on mlx4_conv_rss_hf(). Signed-off-by: Adrien Mazarguil Acked-by: Neil Horman --- driv

[dpdk-dev] [PATCH v2 2/5] net/mlx4: fix documentation in private structure

2017-11-23 Thread Adrien Mazarguil
A couple of structure fields are not Doxygen-friendly. Fixes: 5db1d364086e ("net/mlx4: restore Tx checksum offloads") Cc: Moti Haimovsky Cc: sta...@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Neil Horman --- drivers/net/mlx4/mlx4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[dpdk-dev] [PATCH v2 1/5] net/mlx4: fix unnecessary include

2017-11-23 Thread Adrien Mazarguil
Fixes: a2ce2121c01c ("net/mlx4: separate Tx configuration functions") Cc: sta...@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Neil Horman --- drivers/net/mlx4/mlx4_txq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4_txq.c b/drivers/net/mlx4/mlx4_txq.c index 7882

[dpdk-dev] [PATCH v2 0/5] net/mlx4: restore inner VXLAN & UDP RSS support

2017-11-23 Thread Adrien Mazarguil
Following the refactoring of the entire mlx4 PMD for DPDK 17.11, UDP RSS support was left in a disabled state. Likewise, inner VXLAN RSS used to be performed automatically by default but it's not the case anymore. This series brings back both features by relying on the latest API updates and bugfi

Re: [dpdk-dev] [PATCH 0/2] AVX2 Vectorized Rx/Tx functions for i40e

2017-11-23 Thread Bruce Richardson
On Thu, Nov 23, 2017 at 04:53:12PM +, Bruce Richardson wrote: > This patch adds an AVX2 vectorized path to the i40e driver, based on the > existing SSE4.2 version. Using AVX2 instructions gives better performance > than the SSE version, though the percentage increase depends on the exact > sett

[dpdk-dev] [PATCH 2/2] net/i40e: add AVX2 Rx function

2017-11-23 Thread Bruce Richardson
Add a new Rx function using AVX2 instructions for higher performance. For now, this functionality is limited to platforms with Intel Xeon Scalable Processor(SP), Skylake uarch. The function to be used is selected at runtime, not just at compile-time. Signed-off-by: Bruce Richardson --- drivers/

[dpdk-dev] [PATCH 1/2] net/i40e: add AVX2 Tx function

2017-11-23 Thread Bruce Richardson
Add a new Tx function using AVX2 instructions for higher performance. For now, this functionality is limited to platforms with Intel Xeon Scalable Processor(SP), Skylake uarch. The function to be used is selected at runtime, not just at compile-time. Signed-off-by: Bruce Richardson --- drivers/

[dpdk-dev] [PATCH 0/2] AVX2 Vectorized Rx/Tx functions for i40e

2017-11-23 Thread Bruce Richardson
This patch adds an AVX2 vectorized path to the i40e driver, based on the existing SSE4.2 version. Using AVX2 instructions gives better performance than the SSE version, though the percentage increase depends on the exact settings used. For example: * Using 16B rather than 32B descriptors gives the

Re: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index

2017-11-23 Thread Kyle Larose
Hello, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Lilijun (Jerry) > Sent: Monday, November 20, 2017 2:16 AM > To: dev@dpdk.org; tomaszx.kula...@intel.com > Cc: Zhang, Jerry; Wanghanlin > Subject: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable >

[dpdk-dev] [PATCH 1/2] app/testpmd: add raw flowtype mode for flow director filter

2017-11-23 Thread Kirill Rybalchenko
Add possibility to load file with raw packet and set it as a template for flow director filter setup. Signed-off-by: Kirill Rybalchenko --- app/test-pmd/cmdline.c | 116 - app/test-pmd/config.c | 8 ++-- app/test-pmd/testpmd.h | 6 +-- 3 files

[dpdk-dev] [PATCH 2/2] doc: add description of raw mode in flow director in testpmd

2017-11-23 Thread Kirill Rybalchenko
Add description of raw flow type mode for flow_director_filter command in testpmd. Modify description of flow type parameter for functions set_hash_global_config, set_hash_input_set and set_fdir_input_set Signed-off-by: Kirill Rybalchenko --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 24

[dpdk-dev] [PATCH 0/2] add raw flowtype mode for flow director filter

2017-11-23 Thread Kirill Rybalchenko
Add possibility to load file with raw packet and set it as a template for flow director filter setup. Kirill Rybalchenko (2): app/testpmd: add raw flowtype mode for flow director filter doc: add description of raw mode in flow director in testpmd app/test-pmd/cmdline.c |

[dpdk-dev] [PATCH v1 7/7] net/mlx5: add device parameter to enabled IPsec

2017-11-23 Thread Nelio Laranjeiro
This feature still relies on some symbols from Verbs and thus the support is only compile if the symbols are available. Only ConnectX-4 Lx INNOVA are security capable. Signed-off-by: Aviad Yehezkel Signed-off-by: Nelio Laranjeiro --- doc/guides/nics/mlx5.rst | 9 + drivers/net/mlx5/mlx

[dpdk-dev] [PATCH v1 6/7] net/mlx5: support security flow action

2017-11-23 Thread Nelio Laranjeiro
From: Shahaf Shuler Signed-off-by: Shahaf Shuler Signed-off-by: Aviad Yehezkel Signed-off-by: Matan Barak Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5.h | 7 + drivers/net/mlx5/mlx5_flow.c | 309 ++ drivers/net/mlx5/mlx5_ipsec.c |

[dpdk-dev] [PATCH v1 4/7] net/mlx5: add security capability function

2017-11-23 Thread Nelio Laranjeiro
From: Aviad Yehezkel Signed-off-by: Aviad Yehezkel Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/Makefile | 1 + drivers/net/mlx5/mlx5.c | 12 ++ drivers/net/mlx5/mlx5.h | 2 + drivers/net/mlx5/mlx5_ipsec.c | 322 ++ 4 files c

[dpdk-dev] [PATCH v1 5/7] net/mlx5: simplify error handling in flow action parsing

2017-11-23 Thread Nelio Laranjeiro
Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 88 +--- 1 file changed, 41 insertions(+), 47 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 1eda83671..ff50470b5 100644 --- a/drivers/net/mlx5/

[dpdk-dev] [PATCH v1 2/7] net/mlx5: handle the IPsec support from Verbs

2017-11-23 Thread Nelio Laranjeiro
Enable HAVE_VERBS_IPSEC_SUPPORT is associated code is available in RDMA-Core. Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/Makefile | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile index a3984eb9f..b2dd86796 100644 --- a/drive

[dpdk-dev] [PATCH v1 3/7] net/mlx5: add IPsec Tx/Rx offload support

2017-11-23 Thread Nelio Laranjeiro
From: Aviad Yehezkel This feature is only supported by ConnectX-4 Lx INNOVA NIC. Having such support will automatically disable and enable crypto offload device arguments to make the PMD IPsec capable. Signed-off-by: Aviad Yehezkel Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5.c

[dpdk-dev] [PATCH v1 1/7] net: define Mellanox ether type for embed metadata

2017-11-23 Thread Nelio Laranjeiro
Mellanox detains an Ethernet to embed additional metadata in Ethernet frames [1]. This Ether type is necessary for some NIC to transform packets using an offloading. [1] http://standards-oui.ieee.org/ethertype/eth.txt Signed-off-by: Nelio Laranjeiro --- lib/librte_net/rte_ether.h | 2 ++ 1 file

[dpdk-dev] [PATCH v1 0/7] net/mlx5: IPsec offload support

2017-11-23 Thread Nelio Laranjeiro
Add support for IPsec using rte_security on ConnectX-4 Lx INNOVA NIC. This support is still in progress on all side (RDMA-Core and Linux Kernel) it is only enable at compilation time when the expected symbols are present in Verbs, even in such situation static assert are present to assure the offl

[dpdk-dev] rte_eth_bond: Problem with link failure and 8023AD

2017-11-23 Thread Kyle Larose
Hello, I've been testing my LAG implemented with the DPDK eth_bond pmd. As part of my fault tolerance testing, I want to ensure that if a link is flapping up and down continuously, impact to service is minimal. My findings are that in this case, the lag is rendered inoperable if a certain link

[dpdk-dev] [PATCH v3 2/2] net/mlx4: load libmlx4 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX4 PMD dynamically loads mlx4 and ibverbs in run-time and it is not linked to external libraries. Signed-off-by: Shachar Beiser --- v1: load external libraries in run-time v2: fix checkpatch warnings v3: fix checkpatch warnings --- config/common_base

[dpdk-dev] [PATCH v3 1/2] net/mlx5: load libmlx5 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX5 PMD loads libraries: libibverbs and libmlx5. MLX5 PMD is not linked to external libraries. Signed-off-by: Shachar Beiser --- v1: load external libraries in run-time v2 * fix checkpatch warnings v3: * fix checkpatch warnings --- config/common_base

[dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: fix missing ingress flow attribute

2017-11-23 Thread Nelio Laranjeiro
Generic flow API have both direction bits, ingress and egress for rules which may work on both sides. Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload") Cc: akhil.go...@nxp.com Signed-off-by: Nelio Laranjeiro --- examples/ipsec-secgw/ipsec.c | 2 ++ 1 file changed, 2 inserti

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-11-23 Thread Nelio Laranjeiro
Mellanox INNOVA NIC needs to have final target queue actions to perform inline crypto. Signed-off-by: Nelio Laranjeiro --- examples/ipsec-secgw/ipsec.c | 27 ++- examples/ipsec-secgw/ipsec.h | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/examples

Re: [dpdk-dev] [PATCH 2/3] power: switching to unbuffered access for /sys files

2017-11-23 Thread Hunt, David
Hi Radoslaw, On 11/11/2017 6:55 PM, Radoslaw Biernacki wrote: This patch fixes the bug caused by improper use of buffered stdio file access for switching the CPU frequency and governor. When using buffered stdio, each fwrite() must use fflush() and the return code must be verified. Also fseek()

[dpdk-dev] [PATCH v2 2/2] net/mlx4: load libmlx4 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX4 PMD dynamically loads mlx4 and ibverbs in run-time and it is not linked to external libraries. Signed-off-by: Shachar Beiser --- History: V1: http://dpdk.org/dev/patchwork/patch/31555/ V2: Fixing checkpatch code styling warnings --- config/common_base |

[dpdk-dev] [PATCH v2 1/2] net/mlx5: load libmlx5 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX5 PMD loads libraries: libibverbs and libmlx5. MLX5 PMD is not linked to external libraries. Signed-off-by: Shachar Beiser --- History: V1: http://dpdk.org/patch/31555 V2: * Fixing checkpatch coding style issues --- config/common_base | 1 + drivers/net/mlx5/Ma

Re: [dpdk-dev] [PATCH] net/mlx5: cleanup the allocation of the buffer used for the ethtool stats

2017-11-23 Thread Shahaf Shuler
Thursday, November 23, 2017 3:06 PM, Thierry Herbelot: > On 11/23/2017 02:00 PM, Shahaf Shuler wrote: > Hello Shahaf > > Your suggestion is excellent: thanks for it. > > Best regards > > Thierry Applied to next-net-mlx, thanks. > > > > > > > > > >> > >> Thanks, > >> > >> -- > >> Né

Re: [dpdk-dev] [PATCH] net/mlx5: cleanup the allocation of the buffer used for the ethtool stats

2017-11-23 Thread Thierry Herbelot
On 11/23/2017 02:00 PM, Shahaf Shuler wrote: Hi Thierry Friday, November 17, 2017 9:55 AM, Nelio Laranjeiro: 2.11.0 Acked-by: Nelio Laranjeiro Am having the following check-git-log errors: Headline too long: net/mlx5: cleanup the allocation of the buffer used for the ethtool sta

Re: [dpdk-dev] [PATCH] net/mlx5: cleanup the allocation of the buffer used for the ethtool stats

2017-11-23 Thread Shahaf Shuler
Hi Thierry Friday, November 17, 2017 9:55 AM, Nelio Laranjeiro: > > 2.11.0 > > Acked-by: Nelio Laranjeiro Am having the following check-git-log errors: Headline too long: net/mlx5: cleanup the allocation of the buffer used for the ethtool stats Wrong tag: Fixes: a4193ae3bc4f (

[dpdk-dev] [PATCH 39/39] examples/skeleton: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/skeleton/basicfwd.c | 12 ++-- 1 file change

[dpdk-dev] [PATCH 38/39] examples/server_node_efd: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/server_node_efd/server/init.c | 10 -- 1 fil

[dpdk-dev] [PATCH 37/39] examples/rxtx_callbacks: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/rxtx_callbacks/main.c | 12 ++-- 1 file chan

[dpdk-dev] [PATCH 36/39] examples/ptpclient: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ptpclient/ptpclient.c | 7 +-- 1 file changed, 5

[dpdk-dev] [PATCH 35/39] examples/packet_ordering: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/packet_ordering/main.c | 13 +++-- 1 file ch

[dpdk-dev] [PATCH 34/39] examples/flow_filtering: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/flow_filtering/main.c | 27 -

[dpdk-dev] [PATCH 33/39] examples/flow_classify: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/flow_classify/flow_classify.c | 12 ++-- 1 f

[dpdk-dev] [PATCH 31/39] examples/ethtool: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ethtool/ethtool-app/main.c | 7 ++- 1 file chang

[dpdk-dev] [PATCH 32/39] examples/eventdev_pipeline: convert to new offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/eventdev_pipeline_sw_pmd/main.c | 10 -- 1 f

[dpdk-dev] [PATCH 30/39] examples/distributor: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/distributor/main.c | 8 +++- 1 file changed, 7 i

[dpdk-dev] [PATCH 29/39] examples/vm_power_manager: convert to new offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vm_power_manager/main.c | 12 ++-- 1 file ch

[dpdk-dev] [PATCH 28/39] examples/vmdq_dcb: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vmdq_dcb/main.c | 10 +- 1 file changed, 5 i

[dpdk-dev] [PATCH 26/39] examples/vhost: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vhost/main.c | 42 +++---

[dpdk-dev] [PATCH 25/39] examples/tep_termination: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/tep_termination/vxlan_setup.c | 37 +

[dpdk-dev] [PATCH 27/39] examples/vmdq: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/vmdq/main.c | 11 +-- 1 file changed, 5 inse

[dpdk-dev] [PATCH 21/39] examples/performance-thread: convert to new offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/performance-thread/l3fwd-thread/main.c | 42

[dpdk-dev] [PATCH 24/39] examples/quota_watermark: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/quota_watermark/qw/init.c | 38 +

[dpdk-dev] [PATCH 22/39] examples/qos_meter: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/qos_meter/main.c | 64 ++

[dpdk-dev] [PATCH 20/39] examples/netmap_compat: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/netmap_compat/bridge/bridge.c | 7 ++ examp

[dpdk-dev] [PATCH 23/39] examples/qos_sched: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/qos_sched/init.c | 31 --

[dpdk-dev] [PATCH 18/39] examples/load_balancer: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/load_balancer/init.c | 37 ++

[dpdk-dev] [PATCH 19/39] examples/multi_process: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/multi_process/l2fwd_fork/main.c | 36 +

[dpdk-dev] [PATCH 17/39] examples/link_status_interrupt: convert to new offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/link_status_interrupt/main.c | 38 ++

[dpdk-dev] [PATCH 16/39] examples/ipv4_multicast: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ipv4_multicast/main.c | 35 +

[dpdk-dev] [PATCH 14/39] examples/ip_reassembly: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ip_reassembly/main.c | 36 ++

[dpdk-dev] [PATCH 15/39] examples/ipsec-secgw: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ipsec-secgw/ipsec-secgw.c | 27 +

[dpdk-dev] [PATCH 13/39] examples/ip_pipeline: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ip_pipeline/config_parse.c | 13 +++-- examp

[dpdk-dev] [PATCH 12/39] examples/ip_fragmentation: convert to new offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/ip_fragmentation/main.c | 36 +++

[dpdk-dev] [PATCH 11/39] examples/kni: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/kni/main.c | 67

[dpdk-dev] [PATCH 10/39] examples/exception_path: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/exception_path/main.c | 38 +

[dpdk-dev] [PATCH v1 2/2] net/mlx4: load libmlx4 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX4 PMD dynamically loads mlx4 and ibverbs in run-time and it is not linked to external libraries. Signed-off-by: Shachar Beiser --- config/common_base | 1 + drivers/net/mlx4/Makefile | 14 +- drivers/net/mlx4/lib/mlx4_dll.c | 731

[dpdk-dev] [PATCH v1 1/2] net/mlx5: load libmlx5 and libibverbs in run-time

2017-11-23 Thread Shachar Beiser
MLX5 PMD loads libraries: libibverbs and libmlx5. MLX5 PMD is not linked to external libraries. Signed-off-by: Shachar Beiser --- config/common_base | 1 + drivers/net/mlx5/Makefile| 27 +- drivers/net/mlx5/lib/mlx5_dll.c | 758 +++ d

[dpdk-dev] [PATCH 06/39] examples/l3fwd-acl: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/l3fwd-acl/main.c | 41 ++

[dpdk-dev] [PATCH 09/39] examples/bond: convert to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new API. Signed-off-by: Shahaf Shuler --- examples/bond/main.c | 68 +++

  1   2   >