During port start, function mlx5_ctrl_flow_vlan() is called to create
default ingress flow rules.
For specific use-cases, a port can be used for Tx only.
In such case, number of Rx queues can be set to 0 to save resources,
hence the default ingress rules are irrelevant.
This patch modifies functio
This patch modifies function mlx5_flow_validate_action_rss(), to
prevent the setting of rule with rss action, but without specifying
any queues.
For example:
flow create 0 ingress pattern end actions rss queues end / end
Signed-off-by: Dekel Peled
---
drivers/net/mlx5/mlx5_flow.c | 4
1 fil
There is no need to set vlan priority realted resigsters
when there is no configuration about that in queue region.
Fixes: 7cbecc2f7424 ("net/i40e: support queue region set and flush")
Signed-off-by: Wei Zhao
---
drivers/net/i40e/rte_pmd_i40e.c | 12 +++-
1 file changed, 11 insertions(+)
Enable the APIs for unicast and multicast promiscuous
mode setting.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/features/ice.ini | 2 +
drivers/net/ice/ice_ethdev.c | 86
2 files changed, 88 insertions(+)
diff --git a/doc/guides/nics/features/ice.
On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote:
> For some users, the rte ring's "non-preemptive" constraint is not
> acceptable;
> for example, if the application uses a mixture of pinned high-
> priority threads
> and multiplexed low-priority threads that share a mempool.
>
> This patchset in
Hi Fiona,
Any more comments on this?
@ Akhil, Pablo
Can you review this change and share your thoughts?
Thanks,
Anoob
> -Original Message-
> From: Shally Verma
> Sent: 18 January 2019 12:29
> To: Anoob Joseph ; Trahe, Fiona
> ; Akhil Goyal ; De Lara Guarch,
> Pablo
> Cc: Jerin Jacob K
Tested-by: Peng Yuan < yuan.p...@intel.com@intel.com>
applied the patch [https://patches.dpdk.org/patch/49990/] to dpdk 19.02-rc3
commit 84a1d4a873634f53cc6e3555dc78ca611bbc3458
verified with fortville 4*10g NIC
driver: i40e
version: 2.7.11
firmware-version: 6.01 0x80003205 1.1691.0
./usertools/
On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote:
> This commit adds support for non-blocking circular ring enqueue and
> dequeue
> functions. The ring uses a 128-bit compare-and-swap instruction, and
> thus
> is currently limited to x86_64.
>
> The algorithm is based on the original rte ring (de
Sorry about the confidental footer. I tried to remove it using some Exhange
magic but it seems not to work with Evolution. I'll try some other way.
-- Ola
On Tue, 2019-01-22 at 09:27 +, Ola Liljedahl wrote:
> On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote:
> >
> > For some users, the rte
> -Original Message-
> From: Rao, Nikhil
> Sent: Tuesday, January 22, 2019 5:44 AM
> To: nhor...@tuxdriver.com
> Cc: Van Haaren, Harry ; dev@dpdk.org; Rao,
> Nikhil
> Subject: [PATCH] doc: announce change of rte service API parameter type
>
> rte_service_attr_get() is passed a uint32_t *
The new testpmd set vxlan-tos-ttl command is added. It
allows to specify tos and tll fields for encapsulation IP
header.
IPv4 VXLAN outer header:
testpmd> set vxlan-tos-ttl ip-version ipv4 vni 4 udp-src 4
udp-dst 4 ip-tos 0 ip-ttl 255 ip-src 127.0.0.1
ip-dst 128.0.0.1 eth-
Changed size of test buffer to 100 to allow
qat to run compress unit-test,
qat_comp_process_response():
QAT intermediate buffer may be too small for output,
try configuring a larger size
Fixes: c1bbb613ce96 ("test/compress: add out of space test")
Cc: marko.kovace...@intel.com
Signed-off-by: Mark
When tc rule is created via Netlink message application
can provide the unique rule value which can be accepted
by the kernel. Than rule is managed with this assigned
handle. It was found that kernel can reject the proposed
handle and assign its own handle value, the rule control
is lost, because a
> -Original Message-
> From: Zhao1, Wei
> Sent: Tuesday, January 22, 2019 4:11 PM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Zhang, Qi Z ; Peng, Yuan
> ; Zhao1, Wei
> Subject: [PATCH] net/i40e: fix queue region error in priority configuration
Change title to below since it's all about i
Hi Wenzhuo:
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu
> Sent: Tuesday, January 22, 2019 4:42 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support
>
> Enable the APIs for unicast and multi
Whenever possible (if the library ships a pkg-config file) use meson's
dependency() function to look for it, as it will automatically add it
to the Requires.private list if needed, to allow for static builds to
succeed for reverse dependencies of DPDK. Otherwise the recursive
dependencies are not p
Most libraries and PMDs depend on eal, and eal depends only on kvargs,
so reorder the list in Meson to reflect this and take advantage of this
dependency chain.
Signed-off-by: Luca Boccassi
Acked-by: Bruce Richardson
---
v3: added this patch to let the next just update librte_eal instead of
Move libbsd inclusion to librte_eal, so that all other libraries and
PMDs will inherit it.
Signed-off-by: Luca Boccassi
Acked-by: Bruce Richardson
---
v3: only add dependency to librte_eal and let it propagate from there
v4: add acked-by
config/meson.build | 10 +-
lib/librte_e
Meson 0.47.1 fixed a bug that is difficult to work around, which causes
the linker flag of dependencies to be repeated dozens of times, which
causes issues especially when using the built-in dependency() API.
Bump the minimum version and remove obsolete version checks.
Signed-off-by: Luca Boccassi
Hi Konstantin,
Thanks for your reply…
Yes adding the VLAN to the VF from the kernel side will work, however,
this is a different behaviour than the XL710.
The XL710 will allow all VLANs to pass through once the PMD takes
control of the VF.
The real use case is using this VF interface troug
On Tue, Jan 22, 2019 at 01:10:51PM +, Luca Boccassi wrote:
> Meson 0.47.1 fixed a bug that is difficult to work around, which causes
> the linker flag of dependencies to be repeated dozens of times, which
> causes issues especially when using the built-in dependency() API.
> Bump the minimum ve
> Changed size of test buffer to 100 to allow qat to run compress unit-test,
> qat_comp_process_response():
> QAT intermediate buffer may be too small for output, try configuring a larger
> size
>
> Fixes: c1bbb613ce96 ("test/compress: add out of space test")
> Cc: marko.kovace...@intel.com
>
> S
On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote:
> Whenever possible (if the library ships a pkg-config file) use meson's
> dependency() function to look for it, as it will automatically add it
> to the Requires.private list if needed, to allow for static builds to
> succeed for rever
On Tue, 2019-01-22 at 13:46 +, Bruce Richardson wrote:
> On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote:
> > Whenever possible (if the library ships a pkg-config file) use
> > meson's
> > dependency() function to look for it, as it will automatically add
> > it
> > to the Require
On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote:
> Whenever possible (if the library ships a pkg-config file) use meson's
> dependency() function to look for it, as it will automatically add it
> to the Requires.private list if needed, to allow for static builds to
> succeed for rever
On Tue, Jan 22, 2019 at 02:09:41PM +, Luca Boccassi wrote:
> On Tue, 2019-01-22 at 13:46 +, Bruce Richardson wrote:
> > On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote:
> > > Whenever possible (if the library ships a pkg-config file) use
> > > meson's
> > > dependency() functi
(resending without the confidential footer, think I figured it out, ignore the
previous email from me in this thread)
-- Ola
On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote:
> This commit adds support for non-blocking circular ring enqueue and dequeue
> functions. The ring uses a 128-bit compa
Hi,
We are using a Xeon D with an integrated X722 NIC that provides two
ports of 8086:37d2 and two ports of 8086:37d0. All four ports show the
same behavior: they return a link speed value of 2 for a 10Gbps link.
This only seems to happen when internally the update_link_reg() function
in i40e
Function cmd_config_tx_metadata_specific_parsed() takes input value,
applies rte_cpu_to_be_32() on it, and stores it for Tx use.
Function cmd_show_tx_metadata_parsed() displays the stored value as is.
This patch modifies function cmd_show_tx_metadata_parsed(), to apply
rte_be_to_cpu_32() on the st
Build error seen with Linux kernel 5.0 and
when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled.
build error:
.../build/build/kernel/linux/kni/ixgbe_ethtool.c:1746:4:
error: too few arguments to function ‘dev_open’
dev_open(netdev);
^~~~
In file included from .../build/kernel/linux/kni/ixgbe_
Build error seen with Linux kernel 5.0 and
when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled.
build error:
.../build/build/kernel/linux/kni/igb_main.c:2348:24:
error: initialization of
‘int (*)(struct net_device *, struct nlmsghdr *, u16,
struct netlink_ext_ack *)’
{aka ‘int (*)(struct net
> This patch fixes the missed digest and aad data physical addresses filling to
> crypto operations in fips_validation sample application.
>
> Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")
>
> Signed-off-by: Fan Zhang
> ---
> examples/fips_validation/fips_dev_self_tes
21/01/2019 17:18, Andrew Rybchenko:
> rte_errno should be set to positive value from errno.h plus
> few RTE-specific values.
>
> Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
> Fixes: 439a90b5f2a7 ("ethdev: reorder inline functions")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Andrew Rybchenko
> > Tunnel type is an enum in PKT_TX_TUNNEL_MASK bits.
> > As the result, for example, IPIP or MPLSinUDP tunnel packets may be
> > incorrectly treated internally as VXLAN.
> >
> > Fixes: b058d92ea95d ("gso: support VxLAN GSO")
> > Fixes: 70e737e448c7 ("gso: support GRE GSO")
> > Cc: sta...@dpdk.or
The original document written from the point of ABI versioning but later
additions make document confusing, convert document into a ABI/API
policy documentation and organize the document in subsections:
- ABI/API Deprecation
- Experimental APIs
- Library versioning
- ABI versioning
Aim to clarify
Initial process requires oncoming changes described in deprecation
notice should be implemented in a RTE_NEXT_ABI gated way.
This has been discussed in technical board, and since this can cause a
multiple #ifdef blocks in multiple locations of the code, can be
confusing specially for the modificat
Define '__rte_deprecated' usage process.
Suggests keeping old API with '__rte_deprecated' marker including
next LTS, they will be removed just after the LTS release.
Signed-off-by: Ferruh Yigit
Acked-by: Luca Boccassi
---
Cc: Luca Boccassi
Cc: Kevin Traynor
Cc: Yongseok Koh
Cc: Neil Horman
Modern memory mode allowes to not reserve any memory by the
'--socket-mem' option. i.e. it could be possible to specify
zero preallocated memory like '--socket-mem 0'.
Also, it should be possible to configure unlimited memory
allocations by '--socket-limit 0'.
Both cases are impossible now and blo
Add #! line to the top of the script and mark it as executable so it can
be run directly rather than having to pass it to python interpreter.
Signed-off-by: Bruce Richardson
---
usertools/dpdk-telemetry-client.py | 1 +
1 file changed, 1 insertion(+)
mode change 100644 => 100755 usertools/dpdk-
> > This patch fixes the inflexible compile issue AESNI-MB PMD.
> > Originally the compile of the PMD will fail if IPSec_MB is
> > not installed in default location.
> >
> > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macros")
> >
> > Signed-off-by: Fan Zhang
> > Acked-by
22/01/2019 16:46, Kovacevic, Marko:
> > This patch fixes the missed digest and aad data physical addresses filling
> > to
> > crypto operations in fips_validation sample application.
> >
> > Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")
> >
> > Signed-off-by: Fan Zhang
On 1/22/2019 12:48 PM, Zhang, Qi Z wrote:
>
>
>> -Original Message-
>> From: Zhao1, Wei
>> Sent: Tuesday, January 22, 2019 4:11 PM
>> To: dev@dpdk.org
>> Cc: sta...@dpdk.org; Zhang, Qi Z ; Peng, Yuan
>> ; Zhao1, Wei
>> Subject: [PATCH] net/i40e: fix queue region error in priority configu
Below are the minutes of the DPDK Technical Board meeting held on #dpdk-board
channel on 16th January 2019
Attendees:
- Bruce Richardson
- Ferruh Yigit
- Hemant Agrawal
- Jerin Jacob
- Konstantin Ananyev
- Maxime Coquelin
- Olivier Matz
- Thomas Monjalon
Discussion on NEXT_ABI and Deprecation Pro
On 1/22/2019 3:44 PM, Ferruh Yigit wrote:
> Build error seen with Linux kernel 5.0 and
> when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled.
>
> build error:
> .../build/build/kernel/linux/kni/ixgbe_ethtool.c:1746:4:
> error: too few arguments to function ‘dev_open’
> dev_open(netdev);
> ^~
Tiwei Bie (4):
net/virtio: fix the control vq support
net/virtio-user: fix the control vq support
net/virtio: use virtio barrier in packed ring
net/virtio-user: fix used ring update in cvq handling
drivers/net/virtio/virtio_ethdev.c| 73 ++-
drivers/net/virtio/
This patch mainly fixed below issues in the packed ring based
control vq support in virtio driver:
1. When parsing the used descriptors, we have to track the
number of descs that we need to skip;
2. vq->vq_free_cnt was decreased twice for a same desc;
Meanwhile, make the function name consiste
This patch fixed below issues in the packed ring based control
vq support in virtio user:
1. The idx_hdr should be used_idx instead of the id in the desc;
2. We just need to write out a single used descriptor for each
descriptor list;
3. The avail/used bits should be initialized to 0;
Meanwhil
Always use the virtio variants which support the platform
memory ordering.
Fixes: 9230ab8d7913 ("net/virtio: support platform memory ordering")
Signed-off-by: Tiwei Bie
---
drivers/net/virtio/virtio_rxtx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/virti
When updating used ring, the id in used element should be the
index of the first desc in the desc chain.
Fixes: f9b9d1a55775 ("net/virtio-user: add multiple queues in device emulation")
Cc: sta...@dpdk.org
Signed-off-by: Tiwei Bie
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 2 +-
1 f
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Friday, January 18, 2019 6:15 PM
> To: Eads, Gage
> Cc: dev@dpdk.org; Honnappa Nagarahalli ;
> olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce
> ; Ananyev, Konstantin
> ; Gavin Hu (Arm
> -Original Message-
> From: Burakov, Anatoly
> Sent: Monday, January 21, 2019 8:15 AM
> To: Eads, Gage ; Richardson, Bruce
>
> Cc: dev@dpdk.org; olivier.m...@6wind.com; arybche...@solarflare.com;
> Ananyev, Konstantin
> Subject: Re: [dpdk-dev] [PATCH 1/6] ring: change head and tail to
Removed tspe...@qti.qualcomm.com as the email address is not reachable.
> > > > I'll come up with a new patch based on the discussion here.
> > > > A few things noted,
> > > > - we still want it to be 128B for generic build
> > > > - we at least agreed on changing it to 64B for A72
> > > How will
> -Original Message-
> From: Ola Liljedahl [mailto:ola.liljed...@arm.com]
> Sent: Tuesday, January 22, 2019 3:28 AM
> To: Eads, Gage ; dev@dpdk.org
> Cc: olivier.m...@6wind.com; step...@networkplumber.org; Richardson, Bruce
> ; arybche...@solarflare.com; Ananyev,
> Konstantin
> Subject:
Added other platform owners.
> > > > > @@ -208,4 +209,25 @@ static inline void
> > > > > rte_atomic64_clear(rte_atomic64_t
> > > > > *v) } #endif
> > > > >
> > > > > +static inline int
> > > > > +rte_atomic128_cmpset(volatile uint64_t *dst, uint64_t *exp,
> > > > > +uint64_t
> > > > > +*src) {
>
Hi,
We have had great presentations, talks and community interaction at DPDK
summit Bangalore over the last two years.
It is that time of the year again and we are looking to hear from you and
looking forward to see you in person.
The agenda will cover the latest developments to the DPDK framew
Hi Ola,
> > @@ -331,6 +433,319 @@ void rte_ring_dump(FILE *f, const struct
> > rte_ring *r);
> > #endif
> > #include "rte_ring_generic_64.h"
> >
> > +/* @internal 128-bit structure used by the non-blocking ring */
> > +struct nb_ring_entry {
> > + void *ptr; /**< Data pointer */
> > + uint
> -Original Message-
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
> Sent: Tuesday, January 22, 2019 2:31 PM
> To: Eads, Gage ; dev@dpdk.org
> Cc: olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce
> ; Ananyev, Konstantin
> ; nd ;
> chao...@linux.vn
Hi Qi,
> -Original Message-
> From: Zhang, Qi Z
> Sent: Tuesday, January 22, 2019 9:12 PM
> To: Lu, Wenzhuo ; dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: RE: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support
>
> Hi Wenzhuo:
>
>
> > -Original Message-
> > From: dev [mailto:
> -Original Message-
> From: Yigit, Ferruh
> Sent: Wednesday, January 23, 2019 12:34 AM
> To: Zhang, Qi Z ; Zhao1, Wei ;
> dev@dpdk.org
> Cc: sta...@dpdk.org; Peng, Yuan
> Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix queue region error in
> priority
> configuration
>
> On 1/22/2019
Enable the APIs for unicast and multicast promiscuous
mode setting.
Signed-off-by: Wenzhuo Lu
---
doc/guides/nics/features/ice.ini | 2 +
doc/guides/nics/ice.rst | 14 ---
drivers/net/ice/ice_ethdev.c | 86
3 files changed, 88 insertions
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu
> Sent: Wednesday, January 23, 2019 10:37 AM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support
>
> Enable the APIs for unicast and multicast pro
Fix the issue that the link speed is unknown.
Fixes: 690175ee51bf ("net/ice: support getting device information")
Fixes: cf911d90e366 ("net/ice: support link update")
Signed-off-by: Wenzhuo Lu
---
drivers/net/ice/ice_ethdev.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff
Hi, wenzhuo
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu
Sent: Wednesday, January 23, 2019 10:37 AM
To: dev@dpdk.org
Cc: Lu, Wenzhuo
Subject: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support
Enable the APIs for unicast and multicast promis
Add a programmer's guide section for meson ut
Signed-off-by: Hari Kumar Vemula
---
v2: Removed enhancement details
---
doc/guides/prog_guide/index.rst| 1 +
doc/guides/prog_guide/meson_ut.rst | 164 +
2 files changed, 165 insertions(+)
create mode 100644 doc/gu
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu
> Sent: Wednesday, January 23, 2019 1:30 PM
> To: dev@dpdk.org
> Cc: Lu, Wenzhuo
> Subject: [dpdk-dev] [PATCH] net/ice: fix link speed display
>
> Fix the issue that the link speed is unknown.
>
> F
E-Switch VXLAN tunneling rules require virtual VXLAN network
devices be created. These devices are managed by MLX5 PMD and
created/deleted dynamically.
Kernel creates the VXLAN devices and registers VXLAN UDP ports
to be hardware offloaded within the NIC kernel drivers. The
registration process is
66 matches
Mail list logo