On Thu, 2020-06-04 at 14:02 -0700, Stephen Hemminger wrote:
> For diversity reasons, the DPDK should take every effort
> to eliminate master and slave terminology. The actual code change
> is just syntax, but it has bigger impacts.
>
> Lets announce this now and do it in the next API changing
> re
This patch enable redirect switch rule of vsi list type.
Fixes: 397b4b3c5095 ("net/ice: enable flow redirect on switch")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/driver
1. add more support for switch parser of pppoe packet.
2. add redirect support for VSI list rule
3. add check for NVGRE protocol
4. support flow for specific L4 type
This patchset is based on:
[1] https://patches.dpdk.org/cover/70762/ : net/ice: base code update
Depends-on: series-10300
Wei Zhao
This patch add check for protocol type of IPv4 packet,
it need to update tunnel type when NVGRE is in payload.
Fixes: 6bc7628c5e0b ("net/ice: change default tunnel type")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_switch_filter.c | 7 ++-
1 file changed, 6 insertion
This patch add more support for switch parser of pppoe packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
pppoe payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter pppoe related rule.
Signed-off-by: Wei Zhao
---
drivers/net/ice/ice_swit
This patch add more specific tunnel type for ipv4/ipv6 packet,
it enable tcp/udp layer of ipv4/ipv6 as L4 payload but without
L4 dst/src port number as input set for the switch filter rule.
Fixes: 47d460d63233 ("net/ice: rework switch filter")
Cc: sta...@dpdk.org
Signed-off-by: Wei Zhao
---
dri
On Thu, Jun 04, 2020 at 07:23:04PM +0200, Thomas Monjalon wrote:
> 04/06/2020 13:12, Andrey Vesnovaty:
> > Thomas Monjalon wrote:
> > > 20/05/2020 11:18, Andrey Vesnovaty:
> > > We had "create", "destroy", "query", but no "modify" capability.
> > > The new API is adding 2 things in my opinion:
> >
In the IPSEC ESN test vector the cipher offset for encryption
should be 8 bytes which is the size of esp header.
This patch also changes the ciphertext and the digest reference
data against which the operaton result is validated.
Fixes: 699741912d71 ("test/crypto: add case for auth only trailer")
05/06/2020 10:30, Bruce Richardson:
> On Thu, Jun 04, 2020 at 07:23:04PM +0200, Thomas Monjalon wrote:
> > 04/06/2020 13:12, Andrey Vesnovaty:
> > > Thomas Monjalon wrote:
> > > > 20/05/2020 11:18, Andrey Vesnovaty:
> > > > We had "create", "destroy", "query", but no "modify" capability.
> > > > T
On Fri, Jun 05, 2020 at 08:54:47AM +0100, Luca Boccassi wrote:
> On Thu, 2020-06-04 at 14:02 -0700, Stephen Hemminger wrote:
> > For diversity reasons, the DPDK should take every effort
> > to eliminate master and slave terminology. The actual code change
> > is just syntax, but it has bigger impac
On Fri, Jun 05, 2020 at 01:20:55PM +0800, Ruifeng Wang wrote:
> The i40e neon vector implementation is not compiled with meson.
> Add the file to meson for Arm platform.
>
> Cc: sta...@dpdk.org
>
> Reported-by: David Marchand
> Signed-off-by: Ruifeng Wang
> Reviewed-by: Honnappa Nagarahalli
>
On 2020/6/5 0:56, Ferruh Yigit wrote:
On 6/3/2020 10:32 AM, Wei Hu (Xavier) wrote:
From: Hongbo Zheng
Base on hns3 network engine, when the rte_eth_tx_burst API is called
by Upper Level Process, if PKT_TX_TCP_SEG flag is set and tso_segsz
is 0 in the input parameter structure rte_mbuf, hns3
On 6/5/2020 3:57 AM, Wei Hu (Xavier) wrote:
>
>
> On 2020/6/5 0:30, Ferruh Yigit wrote:
>> On 6/4/2020 7:22 AM, Wei Hu (Xavier) wrote:
>>> Currently, there are coverity defect warnings as blow:
>>> Coverity issue:
>>>In nic_stats_clear function:
>>> CID 290021 (#1 of 1): Argument cannot
On 6/5/2020 9:50 AM, Wei Hu (Xavier) wrote:
>
>
> On 2020/6/5 0:56, Ferruh Yigit wrote:
>> On 6/3/2020 10:32 AM, Wei Hu (Xavier) wrote:
>>> From: Hongbo Zheng
>>>
>>> Base on hns3 network engine, when the rte_eth_tx_burst API is called
>>> by Upper Level Process, if PKT_TX_TCP_SEG flag is set an
On 6/3/2020 10:31 AM, Wei Hu (Xavier) wrote:
> This series are bugfixes for hns3 PMD driver.
>
> Chengchang Tang (2):
> net/hns3: remove unsupported VLAN capabilities
> net/hns3: fix VLAN strip configuration when setting a PVID
>
> Hongbo Zheng (1):
> net/hns3: add checking tso segsz when s
On 04/06/20 18:04 -0700, Stephen Hemminger wrote:
> I have a full patch that replaces the master/slave lcore
> naming (widely used in DPDK) with a better primary/secondary naming.
>
> For now this is just a trial balloon to see what the impact would
> look like. The change mostly automated so like
On 6/5/2020 9:36 AM, Bruce Richardson wrote:
> On Fri, Jun 05, 2020 at 01:20:55PM +0800, Ruifeng Wang wrote:
>> The i40e neon vector implementation is not compiled with meson.
>> Add the file to meson for Arm platform.
>>
>> Cc: sta...@dpdk.org
>>
>> Reported-by: David Marchand
>> Signed-off-by: R
>
> On 04/06/20 18:04 -0700, Stephen Hemminger wrote:
> > I have a full patch that replaces the master/slave lcore
> > naming (widely used in DPDK) with a better primary/secondary naming.
> >
> > For now this is just a trial balloon to see what the impact would
> > look like. The change mostly aut
On Fri, Jun 05, 2020 at 03:16:03AM +0300, Dmitry Kozlyuk wrote:
> On Thu, 4 Jun 2020 17:07:07 -0400
> Neil Horman wrote:
>
> > On Wed, Jun 03, 2020 at 03:34:03PM +0300, Dmitry Kozlyuk wrote:
> > > On Wed, 3 Jun 2020 08:07:59 -0400
> > > Neil Horman wrote:
> > >
> > > [snip]
> > > > > +int
> >
On Fri, Jun 05, 2020 at 12:43:00PM +0200, Gaëtan Rivet wrote:
> On 04/06/20 18:04 -0700, Stephen Hemminger wrote:
> > I have a full patch that replaces the master/slave lcore
> > naming (widely used in DPDK) with a better primary/secondary naming.
> >
> > For now this is just a trial balloon to se
On 5/27/2020 8:45 AM, Morten Brørup wrote:
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ivan Dyukov
>> Sent: Tuesday, May 26, 2020 9:10 PM
>>
>> This commit add function which treat link status structure
>> and format it to text representation.
>>
>> Signed-off-by: Ivan Dyukov
>> ---
>>
rte_exit should be called when the application exits due to
invalid EAL or application arguments.
Fixes: 850f3733f840 ("examples/packet_ordering: new sample app")
Cc: sergio.gonzalez.mon...@intel.com
Signed-off-by: Sarosh Arif
---
examples/packet_ordering/main.c | 4 ++--
1 file changed, 2 inse
> -Original Message-
> From: Ferruh Yigit
> Sent: Thursday, June 4, 2020 3:30 PM
> To: Juraj Linkeš ; Thomas Monjalon
>
> Cc: arybche...@solarflare.com; dev@dpdk.org; Honnappa Nagarahalli
>
> Subject: Re: [PATCH] ethdev: fix dpdk gcc build on Arm
>
> On 6/4/2020 1:55 PM, Juraj Linkeš
> -Original Message-
> From: Bruce Richardson
> Sent: Thursday, June 4, 2020 3:42 PM
> To: Juraj Linkeš
> Cc: Ferruh Yigit ; Thomas Monjalon
> ; arybche...@solarflare.com; dev@dpdk.org;
> Honnappa Nagarahalli
> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix dpdk gcc build on Arm
>
> On T
Is there anything else to be done for acceptance? So that this problem
can be removed from other examples.
On Tue, May 12, 2020 at 6:57 PM Muhammad Bilal wrote:
>
> Bugzilla ID: 437
> Cc: dev@dpdk.org
> Cc: sta...@dpdk.org
> Cc: bruce.richard...@intel.com
> Cc: vipin.vargh...@intel.com
> Cc: jgra
On 05/06/20 12:28 +0100, Bruce Richardson wrote:
> On Fri, Jun 05, 2020 at 12:43:00PM +0200, Gaëtan Rivet wrote:
> > On 04/06/20 18:04 -0700, Stephen Hemminger wrote:
> > > I have a full patch that replaces the master/slave lcore
> > > naming (widely used in DPDK) with a better primary/secondary na
This patchset adds support to configure DCF datapath, including
Rx/Tx queues setup, start and stop, device configuration, RSS
and flexible descriptor RXDID initialization and MAC filter setup.
Qi Zhang (11):
net/ice: init RSS and supported RXDID in DCF
net/ice: complete device info get in DCF
From: Qi Zhang
Add support to get complete device information for DCF, including
Rx/Tx offload capabilities and default configuration.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf_ethdev.c | 72 ++--
1 file changed, 69 insertions(+), 3 deletions(-)
diff --gi
From: Qi Zhang
Enable device configuration function in DCF.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf_ethdev.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index 7f24ef81a..e8bed1362 100644
--- a/driv
From: Qi Zhang
Add stop flag for DCF device start and stop.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf_ethdev.c | 12
drivers/net/ice/ice_dcf_parent.c | 1 +
2 files changed, 13 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev
From: Qi Zhang
Delete original DCF queue setup functions and use ice
queue setup and release functions instead.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf_ethdev.c | 42 +++-
drivers/net/ice/ice_dcf_ethdev.h | 3 ---
drivers/net/ice/ice_dcf_parent.c | 7 +
From: Qi Zhang
Enable RSS parameters initialization and get the supported
flexible descriptor RXDIDs bitmap from PF during DCF init.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c | 54 ++-
drivers/net/ice/ice_dcf.h | 3 +++
2 files changed, 56 inser
From: Qi Zhang
Enable RSS initialization during DCF start. Add RSS LUT and
RSS key configuration functions.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c| 123 +++
drivers/net/ice/ice_dcf.h| 1 +
drivers/net/ice/ice_dcf_ethdev.c | 14 +++-
From: Qi Zhang
Add queue start and stop in DCF. Support queue enable and disable
through virtual channel. Add support for Rx queue mbufs allocation
and queue reset.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c| 57 ++
drivers/net/ice/ice_dcf.h| 3 +-
drivers/net
From: Qi Zhang
Add queues and Rx queue irqs configuration during device start
in DCF. The setup is sent to PF via virtchnl.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c| 109 +++
drivers/net/ice/ice_dcf.h| 6 ++
drivers/net/ice/ice_dcf_ethdev.
From: Qi Zhang
Enable Rx queues initialization during device start in DCF.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.h| 1 +
drivers/net/ice/ice_dcf_ethdev.c | 83
2 files changed, 84 insertions(+)
diff --git a/drivers/net/ice/ice_dcf.h b/dr
From: Qi Zhang
Add support to add and delete MAC address filter in DCF.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c| 42
drivers/net/ice/ice_dcf.h| 1 +
drivers/net/ice/ice_dcf_ethdev.c | 7 ++
3 files changed, 50 insertions(+)
From: Qi Zhang
Add support to get and reset Rx/Tx stats in DCF. Query stats
from PF.
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_dcf.c| 27
drivers/net/ice/ice_dcf.h| 4 ++
drivers/net/ice/ice_dcf_ethdev.c | 102 +++
3 files changed,
Add doc for DCF datapath configuration in DPDK 20.08 release note.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_20_08.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_20_08.rst
b/doc/guides/rel_notes/release_20_08.rst
index 39064afbe..3cda6111
On Fri, Jun 05, 2020 at 12:00:56PM +, Juraj Linkeš wrote:
>
>
> > -Original Message-
> > From: Bruce Richardson
> > Sent: Thursday, June 4, 2020 3:42 PM
> > To: Juraj Linkeš
> > Cc: Ferruh Yigit ; Thomas Monjalon
> > ; arybche...@solarflare.com; dev@dpdk.org;
> > Honnappa Nagarahall
Giving invalid or zero portmask as command line option to
packet_ordering application will have an unexpected response.
The reason behind this is that parse_portmask's return value is
stored in a variable called portmask.The data type of portmask
is unsigned int, hence returning -1 in case of zer
Hi, Ting
On 06/05, Ting Xu wrote:
>Add doc for DCF datapath configuration in DPDK 20.08 release note.
>
It'd be better to also add some document update in ice.rst.
Thanks,
Xiaolong
>Signed-off-by: Ting Xu
>---
> doc/guides/rel_notes/release_20_08.rst | 5 +
> 1 file changed, 5 insertions(+)
On 6/4/2020 6:27 AM, Somalapuram, Amaranath wrote:
<...>
> -Original Message-
> From: Namburu, Chandu-babu
> Sent: Friday, May 29, 2020 5:19 PM
> To: dev@dpdk.org
> Cc: Somalapuram, Amaranath
> Subject: [PATCH v2] net/axgbe: add RSS reta/hash query and update
>
> From: Chandu Babu N
>
On 6/1/2020 1:57 PM, selwin.sebast...@amd.com wrote:
> From: Selwin Sebastian
>
> Add ethdev APIs to support PTP timestamping
For the patch title, "net/axgbe: " already says the change is in the 'axgbe'
driver, no need to duplicate " .. support for axgbe".
<...>
> +static inline uint64_t
> +d
On 06/05, Ting Xu wrote:
>From: Qi Zhang
>
>Enable device configuration function in DCF.
>
>Signed-off-by: Qi Zhang
>---
> drivers/net/ice/ice_dcf_ethdev.c | 9 +
> 1 file changed, 9 insertions(+)
>
>diff --git a/drivers/net/ice/ice_dcf_ethdev.c
>b/drivers/net/ice/ice_dcf_ethdev.c
>index
On Fri, 5 Jun 2020 12:43:00 +0200
Gaëtan Rivet wrote:
> On 04/06/20 18:04 -0700, Stephen Hemminger wrote:
> > I have a full patch that replaces the master/slave lcore
> > naming (widely used in DPDK) with a better primary/secondary naming.
> >
> > For now this is just a trial balloon to see what
On 06/05, Ting Xu wrote:
>From: Qi Zhang
>
>Enable RSS initialization during DCF start. Add RSS LUT and
>RSS key configuration functions.
>
>Signed-off-by: Qi Zhang
>---
> drivers/net/ice/ice_dcf.c| 123 +++
> drivers/net/ice/ice_dcf.h| 1 +
> drivers/n
> -Original Message-
> From: PATRICK KEROULAS
> Sent: Friday, June 5, 2020 3:10
> To: Slava Ovsiienko
> Cc: dev@dpdk.org; Vivien Didelot ; Shahaf
> Shuler ; Raslan Darawsheh
> ; Matan Azrad
> Subject: Re: [dpdk-dev] mlx5 & pdump: convert HW timestamps to
> nanoseconds
>
> On Wed, Jun 3,
On Fri, 5 Jun 2020 11:14:50 +
"Ananyev, Konstantin" wrote:
> > organization is a little specific, with an lcore that does most init work
> > and spawns the others, but then runs the application like all others.
> >
> > I'd propose instead leader lcore - there is this idea that the leader
> >
> On Jun 5, 2020, at 11:33 AM, Stephen Hemminger
> wrote:
>
> On Fri, 5 Jun 2020 11:14:50 +
> "Ananyev, Konstantin" wrote:
>
>>> organization is a little specific, with an lcore that does most init work
>>> and spawns the others, but then runs the application like all others.
>>>
>>> I
On Fri, 5 Jun 2020 17:10:05 +
"Wiles, Keith" wrote:
> >>>
> >>> I'd propose instead leader lcore - there is this idea that the leader
> >>> is still a member of the team and will participate in the work.
> >>>
> >>> Leader / worker?
> >>>
> >>
> >> I personally doubt such changes are ne
On Thu, 4 Jun 2020 10:17:31 -0700
Stephen Hemminger wrote:
> The code in rte_cuckoo_hash multi-writer support is broken if write
> operations are called from a non-EAL thread.
>
> rte_lcore_id() wil return LCORE_ID_ANY (UINT32_MAX) for non EAL
> thread and that leads to using wrong local cache.
> On Jun 5, 2020, at 12:45 PM, Stephen Hemminger
> wrote:
>
> On Fri, 5 Jun 2020 17:10:05 +
> "Wiles, Keith" wrote:
>
>
> I'd propose instead leader lcore - there is this idea that the leader
> is still a member of the team and will participate in the work.
>
> Lea
On Fri, 5 Jun 2020 19:23:52 +
"Wiles, Keith" wrote:
> > On Jun 5, 2020, at 12:45 PM, Stephen Hemminger
> > wrote:
> >
> > On Fri, 5 Jun 2020 17:10:05 +
> > "Wiles, Keith" wrote:
> >
> >
> > I'd propose instead leader lcore - there is this idea that the leader
> > is st
> On Jun 5, 2020, at 2:53 PM, Stephen Hemminger
> wrote:
>
> On Fri, 5 Jun 2020 19:23:52 +
> "Wiles, Keith" wrote:
>
>>> On Jun 5, 2020, at 12:45 PM, Stephen Hemminger
>>> wrote:
>>>
>>> On Fri, 5 Jun 2020 17:10:05 +
>>> "Wiles, Keith" wrote:
>>>
>>>
>>> I'd propose in
Stephen Hemminger writes:
> For diversity reasons, the DPDK should take every effort
> to eliminate master and slave terminology. The actual code change
> is just syntax, but it has bigger impacts.
>
> Lets announce this now and do it in the next API changing
> release.
> ---
Okay.
Usually, I a
In DPDK, the correct terms for process are primary/secondary.
This is bugfix, not a change in terms for new release.
Fixes: f2e7592c474c ("kni: fix multi-process support")
Signed-off-by: Stephen Hemminger
---
lib/librte_kni/rte_kni.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
This set of patches changes the API and conventions around referring
to DPDK lcores. The first patch changes rte_get_master_lcore_id
and related calls. The rest fix the DPDK to use the new naming.
The last patch marks the old names as deprecated.
My preferred option would be to do the rest of the
Replace the old use of master/slave lcore with more inclusive
name of initial/secondary lcore. The old visible API will
stay for now.
Change master2slave to new init2worker and vice-versa.
This patch breaks the expected practice for new API's.
The new rte_get_initial_lcore() will not go through
Conform to new API.
Signed-off-by: Stephen Hemminger
---
examples/bbdev_app/main.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c
index fb38dc3a72cb..06288e7f8add 100644
--- a/examples/bbdev_app/main.c
+++
Replace rte_get_master_lcore() with rte_get_initial_lcore().
Replace RTE_LCORE_FOREACH_SLAVE with RTE_LCORE_FOREACH_WORKER
Signed-off-by: Stephen Hemminger
---
drivers/bus/dpaa/dpaa_bus.c | 2 +-
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 6 +++---
drivers/net/bnxt/bnxt_ring
New API name is rte_get_initial_lcore()
Signed-off-by: Stephen Hemminger
---
lib/librte_power/rte_power_empty_poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_power/rte_power_empty_poll.c
b/lib/librte_power/rte_power_empty_poll.c
index 70c07b1533f3..d54a09b9
Change the references to master lcore.
For now, leave refernces to slave for bonding since
that is part of the API not addressed yet.
Signed-off-by: Stephen Hemminger
---
examples/bond/main.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/bond/main.c b/examp
Conform to new API
Signed-off-by: Stephen Hemminger
---
examples/distributor/main.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/distributor/main.c b/examples/distributor/main.c
index 567c5e98919d..d3906bede6fc 100644
--- a/examples/distributor/main.c
++
Use initial lcore instead.
Signed-off-by: Stephen Hemminger
---
examples/qos_meter/main.c| 4 ++--
examples/qos_sched/args.c| 22 +++---
examples/qos_sched/cmdline.c | 2 +-
examples/qos_sched/main.c| 2 +-
4 files changed, 15 insertions(+), 15 deletions(-)
diff -
Use initial lcore instead of primary lcore
Signed-off-by: Stephen Hemminger
---
examples/ip_pipeline/main.c | 2 +-
examples/ip_pipeline/thread.c | 16
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/examples/ip_pipeline/main.c b/examples/ip_pipeline/main.c
ind
Use term initial lcore instead.
Signed-off-by: Stephen Hemminger
---
examples/l2fwd-cat/l2fwd-cat.c | 2 +-
examples/l2fwd-crypto/main.c | 8
examples/l2fwd-event/l2fwd_event_generic.c | 2 +-
examples/l2fwd-event/l2fwd_event_internal_port.c |
Conforms to new API naming conventions.
Signed-off-by: Stephen Hemminger
---
examples/ethtool/ethtool-app/main.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/ethtool/ethtool-app/main.c
b/examples/ethtool/ethtool-app/main.c
index 7383413215d6..a55d31d891
Use initial lcore instead.
Signed-off-by: Stephen Hemminger
---
examples/l3fwd-acl/main.c | 4 ++--
examples/l3fwd-graph/main.c | 14 +++---
examples/l3fwd-power/main.c | 20 ++--
examples/l3fwd/main.c | 2 +-
4 files changed, 20 insertions(+), 20 deletions(-)
d
Use new API and naming convention
Signed-off-by: Stephen Hemminger
---
app/test-pmd/config.c | 4 ++--
app/test-pmd/parameters.c | 2 +-
app/test-pmd/softnicfwd.c | 2 +-
app/test-pmd/testpmd.c| 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app/test-pmd/config.c
Use initial lcore instead.
Signed-off-by: Stephen Hemminger
---
examples/performance-thread/l3fwd-thread/main.c | 12 ++--
examples/performance-thread/pthread_shim/main.c | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/examples/performance-thread/l3fwd-thread/mai
Use initial lcore instead.
Signed-off-by: Stephen Hemminger
---
.../multi_process/client_server_mp/mp_server/main.c| 10 +-
examples/multi_process/simple_mp/main.c| 6 +++---
examples/multi_process/symmetric_mp/main.c | 2 +-
3 files changed, 9 insertions
Small changes in several examples to replace master_lcore
with initial_lcore across multiple small examples.
Signed-off-by: Stephen Hemminger
---
examples/eventdev_pipeline/main.c | 2 +-
examples/flow_classify/flow_classify.c | 2 +-
examples/helloworld/main.c | 6 +++---
ex
Replace master lcore with initial lcore.
This API still has issue with use of term master clock.
Signed-off-by: Stephen Hemminger
---
examples/ptpclient/ptpclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c
Use new API terminolgy
Signed-off-by: Stephen Hemminger
---
app/test-eventdev/evt_options.c | 2 +-
app/test-eventdev/test_order_common.c| 12 ++--
app/test-eventdev/test_perf_common.c | 16
app/test-eventdev/test_pipeline_common.c | 8
4 files
Use initial lcore instead.
Signed-off-by: Stephen Hemminger
---
examples/ipsec-secgw/event_helper.c | 6 +++---
examples/ipsec-secgw/ipsec-secgw.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/ipsec-secgw/event_helper.c
b/examples/ipsec-secgw/event_helper.c
i
Use initial and worker lcore instead.
Signed-off-by: Stephen Hemminger
---
app/pdump/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/pdump/main.c b/app/pdump/main.c
index c38c53719e7d..1590a716a31d 100644
--- a/app/pdump/main.c
+++ b/app/pdump/main.c
@@ -947,7 +947,
Correct terminolgy here is primary process.
This is a bug in original doc.
Fixes: fc1f2750a3ec ("doc: programmers guide")
Cc: bernard.iremon...@intel.com
Signed-off-by: Stephen Hemminger
---
doc/guides/prog_guide/thread_safety_dpdk_functions.rst | 4 ++--
1 file changed, 2 insertions(+), 2 delet
A few places in documentation refer to master lcore
Signed-off-by: Stephen Hemminger
---
doc/guides/howto/debug_troubleshoot.rst | 2 +-
doc/guides/linux_gsg/eal_args.include.rst | 4 ++--
doc/guides/nics/bnxt.rst | 2 +-
doc/guides/sample_app_ug/hello_world.rst | 2 +-
doc/g
Use new terminology for lcore's
Signed-off-by: Stephen Hemminger
---
app/test-acl/main.c | 2 +-
app/test-bbdev/test_bbdev_perf.c | 16
app/test-compress-perf/main.c| 8
app/test-crypto-perf/main.c | 14 +++---
app/test-pipeline/main.c
Use initial and worker when referring to lcores
Signed-off-by: Stephen Hemminger
---
app/test/autotest_test_funcs.py | 2 +-
app/test/test.c | 2 +-
app/test/test_atomic.c | 26
app/test/test_barrier.c | 2 +-
app/test/test_cryptodev.c
New terms are initial and worker lcores.
Signed-off-by: Stephen Hemminger
---
doc/guides/sample_app_ug/hello_world.rst| 2 +-
doc/guides/sample_app_ug/ioat.rst | 2 +-
doc/guides/sample_app_ug/l3_forward_graph.rst | 6 +++---
doc/guides/sample_app_ug/multi_process.rst
Use of old RTE_LCORE_FOREACH_SLAVE and rte_get_master_lcore_id()
are marked as deprecated.
All uses of these in DPDK itself is gone. This will cause warnings
for applications still using them.
Signed-off-by: Stephen Hemminger
---
lib/librte_eal/include/rte_launch.h | 4 ++--
lib/librte_eal/incl
Hi,
I am testing https://github.com/iqiyi/dpvs in KVM VM running Ubuntu with
Intel 82599 SR-IOV VF.
got error like:
# ./dpvs
current thread affinity is set to F
EAL: Detected 4 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable
cl
On 2020/6/5 17:44, Ferruh Yigit wrote:
On 6/5/2020 9:50 AM, Wei Hu (Xavier) wrote:
On 2020/6/5 0:56, Ferruh Yigit wrote:
On 6/3/2020 10:32 AM, Wei Hu (Xavier) wrote:
From: Hongbo Zheng
Base on hns3 network engine, when the rte_eth_tx_burst API is called
by Upper Level Process, if PKT_TX_
Currently, there are coverity defect warnings those were found from the
public coverity.
https://scan.coverity.com/projects/dpdk-data-plane-development-kit
Coverity issue:
In nic_stats_clear function:
CID 358450 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
5. negative_return
On 2020/6/5 17:25, Ferruh Yigit wrote:
On 6/5/2020 3:57 AM, Wei Hu (Xavier) wrote:
On 2020/6/5 0:30, Ferruh Yigit wrote:
On 6/4/2020 7:22 AM, Wei Hu (Xavier) wrote:
Currently, there are coverity defect warnings as blow:
Coverity issue:
In nic_stats_clear function:
CID 290021 (#1
From: Qi Zhang
Add support to allow the original VF actions in DCF.
Signed-off-by: Qi Zhang
---
This patch depends on the previous patchset:
"enable DCF datapath configuration",
which starts with patch:
"net/ice: init RSS and supported RXDID in DCF"
---
drivers/net/ice/ice_switch_filter.c | 1
This RFC patchset adds the support to enable multiple DCF instance,
add buildin recipe to accelerate specific flow creating with custom
DDP package and support flow flush in DCF.
---
This patchset depends on the patch:
net/ice: support orignal VF action for DCF
---
Qi Zhang (3):
drivers: add fl
From: Qi Zhang
Add support to enable DCF to flush flow rule created by the
previous DCF when multiple DCF feature is enabled.
Signed-off-by: Qi Zhang
---
drivers/common/iavf/virtchnl.h | 4 +++-
drivers/net/ice/ice_dcf.c | 16
drivers/net/ice/ice_dcf.h |
From: Qi Zhang
Enable buildin recipe to accelerate DCF start and specific flow
rules creating speed with custom DDP package. Use dev_args "br=1"
to turn on buildin recipe.
Signed-off-by: Qi Zhang
---
doc/guides/nics/ice.rst | 3 ++
drivers/net/ice/base/ice_common.c | 25
From: Qi Zhang
DCF will not explicitly call VIRTCHNL_OP_DCF_DISABLE during uninit if
DCF PMD is required to support multiple instances co-exist.
This is hinted by devargs "cap=mdcf".
NOTE: in kernel PF, it still only take one VF as DCF, so there is only
one active DPDK DCF instance has the DCF c
92 matches
Mail list logo