> >
> > > > +
> > > > +/* Add a reader thread, running on an lcore, to the list of
> > > > +threads
> > > > + * reporting their quiescent state on a TQS variable.
> > > > + */
> > > > +int __rte_experimental
> > > > +rte_tqs_register_lcore(struct rte_tqs *v, unsigned int lcore_id) {
> > > > +
On Thursday 06 December 2018 03:32 AM, Stephen Hemminger wrote:
> The DPAA bus support code put out messages like:
> dpaax: read_memory_node(): Unable to glob device-tree memory
> node: (/proc/device-tree/memory[@0-9]*/reg)(3)
> dpaax: PA->VA translation not available;
> dp
This is a kind reminder for my question above.
Best regards,
Georgios
On Tue, Dec 4, 2018 at 12:41 PM Georgios Katsikas
wrote:
> Dear all,
>
> I am performing rule installation/deletion benchmarks on a dual port 10
> GbE Intel 82599 ES NIC using DPDK 18.11.
> The benchmark installs increasing n
The reason is below code prevent vPMD be used and I have comment as below.
> > > + dev->data->dev_conf.fdir_conf.mode = RTE_FDIR_MODE_PERFECT;
> >
> > This is not correct, this will prevent vPMD be used for all cases, I
> > know vPMD should not be used when the new flow be enabled, and below
> > p
General ipv4 packets, scapy sample packet like this :
Ether(src="52:00:00:00:00:00")/IP(src="1.2.3.4",dst="1.1.1.1")/("X"*26)]
> -Original Message-
> From: Kar, Subarna
> Sent: Friday, December 7, 2018 12:58 PM
> To: Tu, Lijuan ; Zhang, Qi Z ;
> dev@dpdk.org
> Cc: Wu, Jingjing ; Gasparak
Can I ask what kind of packets you are sending? Because your packets shouldn't
hit my code. This is to accept flows for tunneled pkts on outer and inner
headers.
-Original Message-
From: Tu, Lijuan
Sent: Thursday, December 6, 2018 8:52 PM
To: Zhang, Qi Z ; Kar, Subarna ;
dev@dpdk.org;
Hi Subarna,
This patch cause a big performance drop , ~30% with single core performance
test case.
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z
> Sent: Thursday, December 6, 2018 7:45 PM
> To: Kar, Subarna ; dev@dpdk.org
> Cc: Wu, Jingjing ; Gas
Hi Qiming,
> -Original Message-
> From: Yang, Qiming
> Sent: Thursday, December 6, 2018 10:57 AM
> To: dev@dpdk.org; Zhang, Qi Z ; Wang, Haiyue
>
> Cc: Yan, Zhirun
> Subject: RE: [dpdk-dev] [PATCH v2] net/i40e: fix VF/PF port reset
>
> Hi, Zhirun
>
> > -Original Message-
> > Fr
The RTE_PROC_PRIMARY error handler lost the unlock statement in the
current codes. Now unlock and return in one place to fix it.
Fixes: 49df3db84883 ("memzone: replace memzone array with fbarray")
Cc: sta...@dpdk.org
Signed-off-by: Gao Feng
---
v2: Unlock and return in one place, per Anatoly
Hi Vipin, Konstantin,
> -Original Message-
> From: Varghese, Vipin
> Sent: Thursday, December 6, 2018 10:16 PM
> To: Ananyev, Konstantin ; Lu, Wenzhuo
> ; dev@dpdk.org
> Cc: Yang, Qiming ; Li, Xiaoyun
> ; Wu, Jingjing
> Subject: RE: [dpdk-dev] [PATCH v2 03/20] net/ice: support device and
On Wed, 28 Nov 2018 15:26:06 +
Asaf Penso wrote:
> Flow contains the following information: port id, attributes,
> patterns and actions.
> The function rte_flow_print prints all above information.
>
> It can be used for debugging purposes to validate the
> behavior of different dpdk applicat
On Thu, 6 Dec 2018 15:17:19 +
"Wiles, Keith" wrote:
> > On Dec 6, 2018, at 12:09 AM, Stephen Hemminger
> > wrote:
> >
> > On Thu, 6 Dec 2018 11:45:22 +0800
> > "bai bakari" <912873...@qq.com> wrote:
> >
> >> when i send packets using dpdk-pktgen, i found:
> >> ip_len = 46
> >> ip_header
On 12/5/18 5:01 PM, Ilya Maximets wrote:
On 28.11.2018 12:47, Maxime Coquelin wrote:
Instead of writing back descriptors chains in order, let's
write the first chain flags last in order to improve batching.
I'm not sure if this fully compliant with virtio spec.
It says that 'each side (driv
Hi Ilya,
On 12/5/18 2:52 PM, Ilya Maximets wrote:
On 05.12.2018 12:49, Maxime Coquelin wrote:
Cast to volatile is done when reading avail index and writing
the used index. This would not be necessary if proper barriers
are used.
'volatile' and barriers are not really connected. 'volatile' is
https://bugs.dpdk.org/show_bug.cgi?id=119
Anatoly Burakov (anatoly.bura...@intel.com) changed:
What|Removed |Added
Status|CONFIRMED |RESOLVED
Res
fdset_add can call fdset_shrink_nolock which call fdset_move
concurrently to poll that is call in fdset_event_dispatch.
This patch add a mutex to protect poll from been call at the same time
fdset_add call fdset_shrink_nolock.
Signed-off-by: Matthias Gatto
---
lib/librte_vhost/fd_man.c | 4
The purpose of these scripts is to automate ipsec-secgw functional testing.
The scripts require two machines (SUT and DUT) connected through
at least 2 NICs and running linux (so far tested only on Ubuntu 18.04).
Introduced test-cases for the following scenarios:
- Transport/Tunnel modes
- AES-CBC
Changes to make ipsec-secgw data-path code to utilize librte_ipsec library.
Note that right now by default current (non-librte_ipsec) code-path will
be used. User has to run application with new command-line option ('-l')
to enable new codepath.
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: B
in sp4.c and sp6.c there are few globals that used only locally.
Define them as static ones.
Signed-off-by: Konstantin Ananyev
---
examples/ipsec-secgw/sp4.c | 10 +-
examples/ipsec-secgw/sp6.c | 10 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/examples/ips
Changes to make ipsec-secgw to utilize librte_ipsec library.
That patch provides:
- changes in the related data structures.
- changes in the initialization code.
- new command-line parameters to enable librte_ipsec codepath
and related features.
Note that right now by default current (non-li
Looking at process_pkts_outbound_nosp() there seems few issues:
- accessing mbuf after it was freed
- invoking ipsec_outbound() for ipv4 packets only
- copying number of packets, but not the mbuf pointers itself
that patch provides fixes for that issues.
Fixes: 906257e965b7 ("examples/ipsec-secgw
In some cases crypto-ops could never be dequeued from the crypto-device.
The easiest way to reproduce:
start ipsec-secgw with crypto-dev and send to it less then 32 packets.
none packets will be forwarded.
Reason for that is that the application does dequeue() from crypto-queues
only when new packe
ipsec-secgw always enables TX offloads
(DEV_TX_OFFLOAD_MULTI_SEGS, DEV_TX_OFFLOAD_SECURITY),
even when they are not requested by the config.
That causes many PMD to choose full-featured TX function,
which in many cases is much slower then one without offloads.
That patch adds checks to enabled extr
In some cases it is useful to allow user to specify destination
ether address for outgoing packets.
This patch adds such ability by introducing new 'neigh' config
file option.
Signed-off-by: Konstantin Ananyev
---
examples/ipsec-secgw/ipsec-secgw.c | 21 +++--
examples/ipsec-secgw/ipsec.h
This patch series depends on the patch series:
Add 'try' semantics for RD and WR locking
http://patches.dpdk.org/patch/48044/
http://patches.dpdk.org/patch/48045/
ipsec: new library for IPsec data-path processing
http://patches.dpdk.org/patch/48566/
http://patches.dpdk.org/patch/48567/
http://pat
Create functional test for librte_ipsec.
Signed-off-by: Mohammad Abdul Awal
Signed-off-by: Bernard Iremonger
Signed-off-by: Konstantin Ananyev
---
test/test/Makefile |3 +
test/test/meson.build |3 +
test/test/test_ipsec.c | 2209
3 files c
Introduce helper functions to process completed crypto-ops
and group related packets by sessions they belong to.
Signed-off-by: Konstantin Ananyev
---
lib/librte_ipsec/Makefile | 1 +
lib/librte_ipsec/meson.build | 2 +-
lib/librte_ipsec/rte_ipsec.h | 2 +
With these changes functions:
- rte_ipsec_pkt_crypto_prepare
- rte_ipsec_pkt_process
can be safely used in MT environment, as long as the user can guarantee
that they obey multiple readers/single writer model for SQN+replay_window
operations.
To be more specific:
for outbound SA there are
Provide implementation for rte_ipsec_pkt_crypto_prepare() and
rte_ipsec_pkt_process().
Current implementation:
- supports ESP protocol tunnel mode.
- supports ESP protocol transport mode.
- supports ESN and replay window.
- supports algorithms: AES-CBC, AES-GCM, HMAC-SHA1, NULL.
- covers all c
Introduce Security Association (SA-level) data-path API
Operates at SA level, provides functions to:
- initialize/teardown SA object
- process inbound/outbound ESP/AH packets associated with the given SA
(decrypt/encrypt, authenticate, check integrity,
add/remove ESP/AH related
Add 'uint64_t opaque_data' inside struct rte_cryptodev_sym_session.
That allows upper layer to easily associate some user defined
data with the session.
Signed-off-by: Konstantin Ananyev
Acked-by: Fiona Trahe
Acked-by: Mohammad Abdul Awal
---
lib/librte_cryptodev/rte_cryptodev.h | 2 ++
1 file
Add 'uint64_t opaque_data' inside struct rte_security_session.
That allows upper layer to easily associate some user defined
data with the session.
Signed-off-by: Konstantin Ananyev
Acked-by: Mohammad Abdul Awal
---
lib/librte_security/rte_security.h | 2 ++
1 file changed, 2 insertions(+)
dif
Signed-off-by: Konstantin Ananyev
Acked-by: Mohammad Abdul Awal
---
lib/librte_net/rte_esp.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/librte_net/rte_esp.h b/lib/librte_net/rte_esp.h
index f77ec2eb2..8e1b3d2dd 100644
--- a/lib/librte_net/rte_esp.h
+++ b/li
Introduce librte_ipsec library.
The library is supposed to utilize existing DPDK crypto-dev and
security API to provide application with transparent IPsec processing API.
That initial commit provides some base API to manage
IPsec Security Association (SA) object.
Signed-off-by: Mohammad Abdul Awal
This patch series depends on the patch:
http://patches.dpdk.org/patch/48044/
to be applied first.
v2 -> v3
- Several fixes for IPv6 support
- Extra checks for input parameters in public APi functions
v1 -> v2
- Changes to get into account l2_len for outbound transport packets
(Qi comments)
> On Dec 6, 2018, at 12:09 AM, Stephen Hemminger
> wrote:
>
> On Thu, 6 Dec 2018 11:45:22 +0800
> "bai bakari" <912873...@qq.com> wrote:
>
>> when i send packets using dpdk-pktgen, i found:
>> ip_len = 46
>> ip_header_len = 20
>> but the tcp_header_len=(tcp_hdr->data_off << 2)=0,
>> and (pa
Negative test case for passing invalid count size to
rte_metrics_update_values() will pass if count value
is any value greater than 1 because set size wrt to
key id 1 is 1 and passing 0 as no of values to be
updated will not hit the ERANGE check.
Signed-off-by: Harman Kalra
---
test/test/test_me
https://bugs.dpdk.org/show_bug.cgi?id=120
Anatoly Burakov (anatoly.bura...@intel.com) changed:
What|Removed |Added
Status|CONFIRMED |RESOLVED
Res
snipped
> > -Original Message-
> > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Varghese, Vipin
> > Sent: Thursday, December 6, 2018 5:27 AM
> > To: Lu, Wenzhuo ; dev@dpdk.org
> > Cc: Yang, Qiming ; Li, Xiaoyun
> > ; Wu, Jingjing
> > Subject: Re: [dpdk-dev] [PATCH v2 03/20] net/ice
On Thu, Dec 06, 2018 at 12:17:38PM +0800, Jason Wang wrote:
>
> On 2018/12/5 下午7:30, Ilya Maximets wrote:
> > On 05.12.2018 12:49, Maxime Coquelin wrote:
> > > A read barrier is required to ensure the ordering between
> > > available index and the descriptor reads is enforced.
> > >
> > > Fixes:
Hi Moti,
See some comments.
Sunday, November 4, 2018 2:30 PM, Mordechay Haimovsky:
> Subject: [dpdk-dev] [PATCH] net/mlx5: support flow counters using devx
>
> This commit adds counters support when creating flows via direct verbs. The
> implementation uses devx interface in order to create que
On 2018/12/6 下午8:48, Ilya Maximets wrote:
On 06.12.2018 7:17, Jason Wang wrote:
On 2018/12/5 下午7:30, Ilya Maximets wrote:
On 05.12.2018 12:49, Maxime Coquelin wrote:
A read barrier is required to ensure the ordering between
available index and the descriptor reads is enforced.
Fixes: 4796ad
On 06.12.2018 7:17, Jason Wang wrote:
>
> On 2018/12/5 下午7:30, Ilya Maximets wrote:
>> On 05.12.2018 12:49, Maxime Coquelin wrote:
>>> A read barrier is required to ensure the ordering between
>>> available index and the descriptor reads is enforced.
>>>
>>> Fixes: 4796ad63ba1f ("examples/vhost: i
On Thursday, December 12/06/18, 2018 at 17:36:14 +0530, Dekel Peled wrote:
> testpmd actions set_tp_src and set_tp_dst documentation adds the
> of_ prefix to action names, while the implementation doesn't add it.
>
> This patch removes the prefix from action names in testpmd
> documentation.
>
>
Currently register read/write of testpmd is only for PCI device,
but more and more IFPGA based AFU devices need this feature to
access registers, this patch will add support for it.
Signed-off-by: Rosen Xu
---
app/test-pmd/config.c | 112 -
app/te
> -Original Message-
> From: dev On Behalf Of Dekel Peled
> Sent: Thursday, December 6, 2018 2:06 PM
> To: wenzhuo...@intel.com; jingjing...@intel.com;
> bernard.iremon...@intel.com
> Cc: dev@dpdk.org; Ori Kam ; Shahaf Shuler
> ; Dekel Peled ;
> rahul.lakkire...@chelsio.com
> Subject: [
testpmd actions set_tp_src and set_tp_dst documentation adds the
of_ prefix to action names, while the implementation doesn't add it.
This patch removes the prefix from action names in testpmd
documentation.
Fixes: 9ccc94919500 ("ethdev: add flow API actions to modify TCP/UDP port
numbers")
Cc:
Offload cost test was improved in order to collect
more accurate results.
Signed-off-by: Kamil Chalupnik
---
app/test-bbdev/test_bbdev_perf.c | 154 +++
config/common_base | 2 +-
drivers/baseband/turbo_sw/bbdev_turbo_software.c
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Varghese, Vipin
> Sent: Thursday, December 6, 2018 5:27 AM
> To: Lu, Wenzhuo ; dev@dpdk.org
> Cc: Yang, Qiming ; Li, Xiaoyun ;
> Wu, Jingjing
> Subject: Re: [dpdk-dev] [PATCH v2 03/20] net/ice: support device a
Hi Subarna:
> -Original Message-
> From: Kar, Subarna
> Sent: Wednesday, December 5, 2018 7:13 PM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z ; Wu, Jingjing ;
> Kar, Subarna
> Subject: [PATCH] net-i40e-Match-on-outer-and-inner-headers-for-tunnel
The title is not following DPDK style
it could be
Wednesday, November 28, 2018 11:16 AM, Dekel Peled:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix validation of Rx queue number
>
> Function mlx5_ctrl_flow_vlan() is used to set the rss rule in
> MLX5 PMD, using priv->reta_idx_n as number of Rx queues.
> This number is passed to mlx5_flow_validate_a
On 06.12.2018 7:24, Jason Wang wrote:
>
> On 2018/12/5 下午9:33, Ilya Maximets wrote:
>> On 05.12.2018 12:49, Maxime Coquelin wrote:
>>> A read barrier is required to ensure that the ordering between
>>> descriptor's flags and content reads is enforced.
>>>
>>> Fixes: 2f3225a7d69b ("vhost: add vecto
On 06-Dec-18 9:44 AM, Gao Feng wrote:
At 2018-12-06 17:09:23, "Burakov, Anatoly"
wrote:
On 06-Dec-18 12:47 AM, gfree.w...@vip.163.com wrote:
From: Gao Feng
The RTE_PROC_PRIMARY error handler lost the unlock statement in the
current codes. Now fix it.
Signed-off-by: Gao Feng
Fixes: 49df
Acked-by: Marko Kovacevic
When multiple Chelsio adapters are present, the current naming
convention of using underlying physical port number of the adapter
creates conflicts when allocating control queue mbuf pool for
multiple adapters and hence results in allocation failure. Fix by
using port_id from rte_eth_dev_data, inst
At 2018-12-06 17:09:23, "Burakov, Anatoly" wrote:
>On 06-Dec-18 12:47 AM, gfree.w...@vip.163.com wrote:
>> From: Gao Feng
>>
>> The RTE_PROC_PRIMARY error handler lost the unlock statement in the
>> current codes. Now fix it.
>>
>> Signed-off-by: Gao Feng
>
>Fixes: 49df3db84883 ("memzone: repl
> -Original Message-
> From: Dekel Peled
> Sent: Thursday, December 6, 2018 10:18 AM
> To: Ori Kam ; wenzhuo...@intel.com;
> jingjing...@intel.com; bernard.iremon...@intel.com
> Cc: dev@dpdk.org; Shahaf Shuler
> Subject: RE: [dpdk-dev] [PATCH v2] app/testpmd: fix MPLSoUDP encapsulation
> -Original Message-
> From: Dekel Peled
> Sent: Thursday, December 6, 2018 10:18 AM
> To: Ori Kam ; wenzhuo...@intel.com;
> jingjing...@intel.com; bernard.iremon...@intel.com
> Cc: dev@dpdk.org; Shahaf Shuler
> Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix MPLSoGRE encapsulation
>
Memory mode flags are now shared between primary and secondary
processes, so the in documentation about limitations is no longer
necessary.
Fixes: 64cdfc35aaad ("mem: store memory mode flags in shared config")
Cc: sta...@dpdk.org
Signed-off-by: Anatoly Burakov
---
doc/guides/prog_guide/env_abst
On 06-Dec-18 12:47 AM, gfree.w...@vip.163.com wrote:
From: Gao Feng
The RTE_PROC_PRIMARY error handler lost the unlock statement in the
current codes. Now fix it.
Signed-off-by: Gao Feng
Fixes: 49df3db84883 ("memzone: replace memzone array with fbarray")
Cc: sta...@dpdk.org
---
lib/libr
Thanks, PSB.
> -Original Message-
> From: Ori Kam
> Sent: Tuesday, December 4, 2018 11:23 PM
> To: Dekel Peled ; wenzhuo...@intel.com;
> jingjing...@intel.com; bernard.iremon...@intel.com
> Cc: dev@dpdk.org; Shahaf Shuler ; Dekel Peled
>
> Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix
Thanks, PSB.
> -Original Message-
> From: Ori Kam
> Sent: Tuesday, December 4, 2018 11:23 PM
> To: Dekel Peled ; wenzhuo...@intel.com;
> jingjing...@intel.com; bernard.iremon...@intel.com
> Cc: dev@dpdk.org; Shahaf Shuler ; Dekel Peled
>
> Subject: RE: [dpdk-dev] [PATCH v2] app/testpmd: f
62 matches
Mail list logo