[dpdk-dev] [PATCH 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 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 | 16 drivers/net/e1000/igb_flow.c | 160 ++

[dpdk-dev] [PATCH 0/5] net/mlx5: cleanups

2017-11-23 Thread Nelio Laranjeiro
This series apply on top of patch 31485. Nelio Laranjeiro (5): net/mlx5: remove get priv internal function net/mlx5: fix secondary process verification net/mlx5: removes 32bits support net/mlx5: move variable declaration net/mlx5: remove redundant inline variable drivers/net/mlx5/mlx5.

[dpdk-dev] [PATCH 2/5] net/mlx5: fix secondary process verification

2017-11-23 Thread Nelio Laranjeiro
Since the secondary process has its own devops, function which cannot be called by the secondary don't need anymore to verify which process is calling it. Fixes: 87ec44ce1651 ("net/mlx5: add operations for secondary process") Cc: xuemi...@mellanox.com Signed-off-by: Nelio Laranjeiro Acked-by: Yo

[dpdk-dev] [PATCH 3/5] net/mlx5: removes 32bits support

2017-11-23 Thread Nelio Laranjeiro
naddr variable was introduced in commit 9a7fa9f76d9e ("net/mlx5: use vector types to speed up processing") to avoid compilation errors on 32bits compilation, as x86_32 is no more supported by rdma-core nor by MLNX_OFED, this variable becomes useless and can be safely removed. Signed-off-by: Nelio

[dpdk-dev] [PATCH 1/5] net/mlx5: remove get priv internal function

2017-11-23 Thread Nelio Laranjeiro
mlx5_get_priv() is barely use across the driver. To avoid mixing access, this function is definitely removed. Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 21 +++-- drivers/net/mlx5/mlx5_rxq.

[dpdk-dev] [PATCH 4/5] net/mlx5: move variable declaration

2017-11-23 Thread Nelio Laranjeiro
Most of the variable in mlx5_tx_burst() are defined too soon. This commit moves them their uses C block of code. Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxtx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/mlx

[dpdk-dev] [PATCH 5/5] net/mlx5: remove redundant inline variable

2017-11-23 Thread Nelio Laranjeiro
A non max_inline 0 means an inline is requested, there is no need to duplicate this information. Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxtx.c | 5 ++--- drivers/net/mlx5/mlx5_rxtx.h | 1 - drivers/net/mlx5/mlx5_txq.c | 3 +-- 3 files changed, 3 insert

[dpdk-dev] [PATCH v2] net/mlx5: remove parser/flow drop queue

2017-11-23 Thread Nelio Laranjeiro
This drop queue can be handled efficiently by using the drop flag in the context. Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- Changes in v2: * remove also the drop queue in rte_flow structure to avoid a segfault. --- drivers/net/mlx5/mlx5_flow.c | 178 ++--

Re: [dpdk-dev] [PATCH 0/2] ethdev: add GENEVE to flow API

2017-11-23 Thread Adrien Mazarguil
Hi Andrew, On Mon, Nov 20, 2017 at 08:21:59AM +, Andrew Rybchenko wrote: > enum rte_flow_item_type states that items matching protocol headers > must be stacked in the same order as the protocol layers to match. > As the result the patch changes ABI since Geneve is added just after > VXLAN (th

Re: [dpdk-dev] [PATCH 1/2] ethdev: add GENEVE flow pattern item

2017-11-23 Thread Adrien Mazarguil
On Mon, Nov 20, 2017 at 08:22:00AM +, Andrew Rybchenko wrote: > From: Roman Zhukov > > Add new pattern item RTE_FLOW_ITEM_TYPE_GENEVE in flow API. > This commit also adds default mask for these item. > > Signed-off-by: Roman Zhukov > Signed-off-by: Andrew Rybchenko OK, the main issue in t

Re: [dpdk-dev] [PATCH 2/2] app/testpmd: support GENEVE pattern item in flow rules

2017-11-23 Thread Adrien Mazarguil
On Mon, Nov 20, 2017 at 08:22:01AM +, Andrew Rybchenko wrote: > From: Roman Zhukov > > Add the ability to match a VNI field of GENEVE protocol header. > > Signed-off-by: Roman Zhukov > Signed-off-by: Andrew Rybchenko Same comments as previously basically, keep the same order as rte_flow.h

[dpdk-dev] [PATCH v2 1/3] security: fix device operation type

2017-11-23 Thread Nelio Laranjeiro
Device operation pointers should be constant to avoid any modification while it is in use. Fixes: c261d1431bd8 ("security: introduce security API and framework") Cc: akhil.go...@nxp.com Cc: sta...@dpdk.org Signed-off-by: Nelio Laranjeiro --- lib/librte_security/rte_security.h | 2 +- 1 file cha

[dpdk-dev] [PATCH v2 2/3] crypto: fix pedantic compilation errors

2017-11-23 Thread Nelio Laranjeiro
/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_crypto.h:126:28: error: ISO C forbids zero-size array ‘sym’ [-Werror=pedantic] struct rte_crypto_sym_op sym[0]; ^~~ Zero-size array is an extension to the language it cannot be replaced by a empty size array i.e. []

[dpdk-dev] [PATCH v2 3/3] security: fix pedantic compilation

2017-11-23 Thread Nelio Laranjeiro
/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:229:8: error: struct has no members [-Werror=pedantic] struct rte_security_macsec_xform { ^ /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_security.h:453:3: error: struct has no members [-Werror=p

Re: [dpdk-dev] [PATCH 0/2] ethdev: add GENEVE to flow API

2017-11-23 Thread Andrew Rybchenko
Hi Adrien, On 11/23/2017 12:39 PM, Adrien Mazarguil wrote: Hi Andrew, On Mon, Nov 20, 2017 at 08:21:59AM +, Andrew Rybchenko wrote: enum rte_flow_item_type states that items matching protocol headers must be stacked in the same order as the protocol layers to match. As the result the patch

[dpdk-dev] [PATCH 2/3] lib/librte_flow_classy: add run api for flow classification

2017-11-23 Thread Jasvinder Singh
This patch extends the flow classification library by adding run api. This function classifies the packets based on the flow rules stored in the classifier table. During lookup operation, the table entry is identified on lookup hit and based on meta-data stored at table entry, actions are performed

[dpdk-dev] [PATCH 1/3] lib/librte_flow_classify: remove table id parameter from apis

2017-11-23 Thread Jasvinder Singh
This patch removes table id parameter from all the flow classify apis to reduce the complexity and and does some cleanup of the code. The validate api has been exposed as public api to allows user to validate the flow before adding it to the classifier. The sample app and unit tests have been upd

[dpdk-dev] [PATCH 3/3] doc: update documentation for flow classify lib

2017-11-23 Thread Jasvinder Singh
Updates the documentation for flow classification library and sample application. Signed-off-by: Jasvinder Singh --- doc/guides/prog_guide/flow_classify_lib.rst | 79 + doc/guides/sample_app_ug/flow_classify.rst | 8 +-- 2 files changed, 49 insertions(+), 38 deletio

[dpdk-dev] [PATCH v3 2/2] examples/ipsec-secgw: add support for inline protocol

2017-11-23 Thread Anoob Joseph
Adding support for inline protocol processing In ingress side, application will receive regular IP packets, without any IPsec related info. Application will do a selector check (SP-SA check) by making use of the metadata from the packet. In egress side, the plain packet would be submitted to the

[dpdk-dev] [PATCH v3 0/2] add inline protocol support

2017-11-23 Thread Anoob Joseph
The series adds inline protocol support in ipsec-secgw application. First patch introduces changes in lib to enable applications to save a (void *) pointer as "userdata" in security session. For inline processed packets, application could call "rte_security_get_pkt_metadata" API to retrieve this a

[dpdk-dev] [PATCH v3 1/2] lib/security: add support for get metadata

2017-11-23 Thread Anoob Joseph
In case of inline protocol processed ingress traffic, the packet may not have enough information to determine the security parameters with which the packet was processed. In such cases, application could get metadata from the packet which could be used to identify the security parameters with which

[dpdk-dev] [PATCH 0/6] convert mlx PMDs to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
This series is to convert mlx4 and mlx5 PMDs to the new offloads API [1]. [1] http://dpdk.org/ml/archives/dev/2017-October/077329.html Shahaf Shuler (6): net/mlx5: store PMD args in private structure net/mlx5: convert to new Tx offloads API net/mlx5: convert to new Rx offloads API net/mlx

[dpdk-dev] [PATCH 1/6] net/mlx5: store PMD args in private structure

2017-11-23 Thread Shahaf Shuler
The PMD has several specific parameters set by the application. The current implementation parse those args as part of the probe stage, however the args value as set by the application are not stored in any place. This patch stores the parameters set by the application in the PMD private structure

[dpdk-dev] [PATCH 2/6] net/mlx5: convert to new Tx offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev Tx offloads API has changed since: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new Tx offloads API. Signed-off-by: Shahaf Shuler --- doc/guides/nics/mlx5.rst | 12 ++ drivers/net/mlx5/mlx5.c | 49 +++ d

[dpdk-dev] [PATCH 3/6] net/mlx5: convert to new Rx offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev Rx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") This commit support the new Rx offloads API. Signed-off-by: Shahaf Shuler --- drivers/net/mlx5/mlx5_ethdev.c | 22 +--- drivers/net/mlx5/mlx5_rxq.c| 102 ++

[dpdk-dev] [PATCH 4/6] net/mlx5: fix VLAN configuration after port stop

2017-11-23 Thread Shahaf Shuler
Ethdev layer has an API to configure vlan setting on the flight, i.e. when the port state is start. calling such API when the port is stopped may cause segmentation fault as the related Verbs contexts has not been created yet. Fixes: 09cb5b581762 ("net/mlx5: separate DPDK from verbs Rx queue obje

[dpdk-dev] [PATCH 5/6] net/mlx4: convert to new Tx offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev Tx offloads API has changed since: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") This commit support the new Tx offloads API. Signed-off-by: Shahaf Shuler --- drivers/net/mlx4/mlx4.c| 9 + drivers/net/mlx4/mlx4_ethdev.c | 7 +--- drivers/net/mlx4/mlx4_rxt

[dpdk-dev] [PATCH 6/6] net/mlx4: convert to new Rx offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev Rx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") This commit support the new Rx offloads API. Signed-off-by: Shahaf Shuler --- drivers/net/mlx4/mlx4.c| 11 ++ drivers/net/mlx4/mlx4_ethdev.c | 10 ++--- drivers/net/mlx4/mlx4_f

[dpdk-dev] [PATCH 0/5] convert testpmd to new ethdev offloads API

2017-11-23 Thread Shahaf Shuler
This series is to convert testpmd application to the new offloads API [1]. [1] http://dpdk.org/ml/archives/dev/2017-October/077329.html Shahaf Shuler (5): app/testpmd: convert to new Ethdev offloads API app/testpmd: remove txqflags app/testpmd: add command line option for multiseg app/tes

[dpdk-dev] [PATCH 1/5] app/testpmd: convert to new Ethdev offloads API

2017-11-23 Thread Shahaf Shuler
Ethdev Rx/Tx offloads API has changed since: commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") Convert the application to use the new API. Signed-off-by: Shahaf Shuler --- app/test-pmd/cmdline.c| 148

[dpdk-dev] [PATCH 2/5] app/testpmd: remove txqflags

2017-11-23 Thread Shahaf Shuler
Since testpmd is now using the new Ethdev offloads API there is no need for the txqflags configuration. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- app/test-pmd/cmdline.c | 69 app/test-pmd/config.c | 4 +- app

[dpdk-dev] [PATCH 3/5] app/testpmd: add command line option for multiseg

2017-11-23 Thread Shahaf Shuler
This patch enables multi segment send Tx offloads from the command line. Signed-off-by: Shahaf Shuler --- app/test-pmd/parameters.c | 8 app/test-pmd/testpmd.c| 4 app/test-pmd/testpmd.h| 1 + doc/guides/testpmd_app_ug/run_app.rst | 4 +++

[dpdk-dev] [PATCH 4/5] app/testpmd: add command line option for mbuf fast free

2017-11-23 Thread Shahaf Shuler
This patch enables mbuf fast free Tx offloads from the command line. Signed-off-by: Shahaf Shuler --- app/test-pmd/parameters.c | 5 + doc/guides/testpmd_app_ug/run_app.rst | 4 2 files changed, 9 insertions(+) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameter

[dpdk-dev] [PATCH 5/5] app/testpmd: enforce offloads caps

2017-11-23 Thread Shahaf Shuler
In the current design it was possible for offload to be set even though the device is not supporting it. A warning message was printed instead. This is a wrong behaviour, as application should set only the offloads reported by the capabilities of the device. This patch adds verification for the o

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

2017-11-23 Thread Shahaf Shuler
This series is to convert DPDK examples to the new offloads API [1]. [1] http://dpdk.org/ml/archives/dev/2017-October/077329.html Shahaf Shuler (39): examples/l2fwd: convert to new ethdev offloads API examples/l2fwd-crypto: convert to new ethdev offloads API examples/l2fwd-jobstats: convert

[dpdk-dev] [PATCH 02/39] examples/l2fwd-crypto: 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/l2fwd-crypto/main.c | 38 +++

[dpdk-dev] [PATCH 03/39] examples/l2fwd-jobstats: 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/l2fwd-jobstats/main.c | 39 +

[dpdk-dev] [PATCH 05/39] examples/l3fwd: move to 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/main.c | 41 +++---

[dpdk-dev] [PATCH 04/39] examples/l2fwd-keepalive: 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/l2fwd-keepalive/main.c | 39

[dpdk-dev] [PATCH 01/39] examples/l2fwd: 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/l2fwd/main.c | 38 ++

[dpdk-dev] [PATCH 08/39] examples/l3fwd-vf: 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-vf/main.c | 38 +--

[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 +++

[dpdk-dev] [PATCH 07/39] examples/l3fwd-power: 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-power/main.c | 42

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

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 (

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
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é

[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

[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 |

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 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

[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 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 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] 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 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] [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 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 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 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 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 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

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 >

  1   2   >