12/07/2017 01:05, Stephen Hemminger:
> On Tue, 11 Jul 2017 22:33:55 +0200
> Thomas Monjalon wrote:
>
> > Hi Stephen,
> >
> > 11/07/2017 20:55, Stephen Hemminger:
> > > This is just a simple check script to find obvious duplications.
> > >
> > > Signed-off-by: Stephen Hemminger
> > > ---
> > >
> -Original Message-
> From: Shijith Thotton [mailto:shijith.thot...@caviumnetworks.com]
> Sent: Friday, July 7, 2017 7:14 PM
> To: dev@dpdk.org
> Cc: Yigit, Ferruh; Gregory Etelson; Thomas Monjalon; Stephen Hemminger;
> Tan, Jianfeng; Lu, Wenzhuo
> Subject: [PATCH v2] igb_uio: issue FLR
> -Original Message-
> From: Shijith Thotton [mailto:shijith.thot...@caviumnetworks.com]
> Sent: Monday, July 10, 2017 6:43 PM
> To: Tan, Jianfeng
> Cc: dev@dpdk.org; Yigit, Ferruh; Gregory Etelson; Thomas Monjalon;
> Stephen Hemminger; Lu, Wenzhuo
> Subject: Re: [PATCH v2] igb_uio: issue
> -Original Message-
> From: Gonzalez Monroy, Sergio
> Sent: Tuesday, July 11, 2017 7:36 PM
> To: Tan, Jianfeng; Stephen Hemminger; dev@dpdk.org
> Subject: Re: [dpdk-dev] [RFC] pci: force address of mappings in secondary
> process
>
> On 11/07/2017 02:56, Tan, Jianfeng wrote:
> >> -O
This is needed for RC2 as lots of test cases are affected.
Thanks & Regards,
Yu Liu
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jens Freimann
Sent: Monday, July 10, 2017 5:48 PM
To: Yang, Zhiyong
Cc: dev@dpdk.org; y...@fridaylinux.org; maxime.coque...@redhat.c
> >
> > -Original Message-
> > From: Yang, Qiming
> > Sent: Tuesday, June 20, 2017 11:24 AM
> > To: dev@dpdk.org
> > Cc: Chen, Jing D ; Wu, Jingjing
> > ; Yang, Qiming
> > Subject: [PATCH v3] test: add delay time in test alarm
> >
> > Because accuracy of timing to the microsecond is not g
Signed-off-by: Gaetan Rivet
---
drivers/net/failsafe/failsafe_ether.c | 34 +++--
drivers/net/failsafe/failsafe_flow.c| 29
drivers/net/failsafe/failsafe_private.h | 4
3 files changed, 65 insertions(+), 2 deletions(-)
diff --g
Listen to INTR_RMV events issued by slaves.
Add atomic flags on slave queues to detect use of slave bursts function.
If a removal is detected, set the recollection flag on this slave.
During a slave upkeep round, if its recollection flag is set and its
burst functions are not in use by any thread,
Signed-off-by: Gaetan Rivet
Acked-by: Olga Shern
---
drivers/net/failsafe/failsafe_private.h | 8 +++
drivers/net/failsafe/failsafe_rxtx.c| 124 ++--
2 files changed, 112 insertions(+), 20 deletions(-)
diff --git a/drivers/net/failsafe/failsafe_private.h
b/dri
Signed-off-by: Gaetan Rivet
---
doc/guides/nics/features/failsafe.ini | 1 +
drivers/net/failsafe/failsafe.c | 1 +
drivers/net/failsafe/failsafe_ether.c | 18 ++
drivers/net/failsafe/failsafe_ops.c | 23 +++
drivers/net/failsafe/failsafe_priv
Signed-off-by: Gaetan Rivet
Acked-by: Olga Shern
---
doc/guides/nics/features/failsafe.ini | 6 ++
drivers/net/failsafe/failsafe_ops.c | 131 +-
2 files changed, 135 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/features/failsafe.ini
b/doc/guide
Add the "exec" device type.
The parameters given to this type of device will be executed in a shell.
The output of this command is then used as a definition for a device.
That command can be re-interpreted if the related device is not
plugged-in. It allows for a device definition to react to syste
Periodically check for the existence of a device.
If a device has not been initialized and exists on the system, then it
is probed and configured.
The configuration process strives to synchronize the states between the
plugged-in sub-device and the fail-safe device.
Signed-off-by: Gaetan Rivet
A
Introduce the fail-safe poll mode driver initialization and enable its
build infrastructure.
This PMD allows for applications to benefit from true hot-plugging
support without having to implement it.
It intercepts and manages Ethernet device removal events issued by
slave PMDs and re-initializes
Signed-off-by: Gaetan Rivet
Acked-by: Olga Shern
---
doc/guides/nics/features/failsafe.ini | 1 +
drivers/net/failsafe/Makefile | 1 +
drivers/net/failsafe/failsafe.c | 1 +
drivers/net/failsafe/failsafe_eal.c | 1 +
drivers/net/failsafe/failsafe_ether.c | 70 +
Make the rte_eth_dev_count() return the number of available devices even
after some are detached by the hotplug API or put in a deferred state.
Signed-off-by: Gaetan Rivet
---
lib/librte_ether/rte_ethdev.c | 16 +---
lib/librte_ether/rte_ethdev.h | 13 ++---
2 files changed,
This device state means that the device is managed externally, by
whichever party has set this state (PMD or application).
Note: this new device state is only an information. The related device
structure and operators are still valid and can be used normally.
It is however made private by device
This PMD intercepts and manages Ethernet device removal events issued by
slave PMDs and re-initializes them transparently when brought back so that
existing applications do not need to be modified to benefit from true
hot-plugging support.
The stacked PMD approach shares many similarities with the
When an application requests the use of a PCI device, it can currently
interchangeably use either the longform DomBDF format (:00:00.0) or
the shorter BDF format (00:00.0).
When a device is inserted via the hotplug API, it must first be scanned
and then will be identified by its name using `fi
The prior scan should link the relevant rte_devargs to the newly
allocated rte_device. As such, it is useless to pass device arguments to
the plug callback. Those arguments are available within the devargs
field of the rte_device structure.
Fixes: 7c8810f43f6e ("bus: introduce device plug/unplug")
The device handle is already known and does not have to be infered from
the PCI address. The relevant helpers are already available within the
PCI bus to avoid searching for a handle already known.
Additionally, rte_memcpy.h was erroneously included.
Fixes: 00e62aae69c0 ("bus/pci: implement plug/
The field is set but never resetted on error.
This marks the device as being attached while it is not, and forbid
further attempts to hotplug it.
Fixes: 7917d5f5ea46 ("pci: initialize generic driver pointer")
Cc: sta...@dpdk.org
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_p
The hotplug API requires a few properties that were not previously
explicitly enforced:
- Idempotency, two consecutive scans should result in the same state.
- Upon returning, internal devices are now allocated and available
through the new `find_device` operator, meaning that they should
Some buses will operate either in whitelist or blacklist mode.
This mode is currently passed down by the rte_eal_devargs_add function
with the devtype argument.
When inserting devices using the hotplug API, the implicit assumption is
that this device is being whitelisted, meaning that it is explic
Hotplug support introduces the possibility of removing devices from the
system. Allocated resources must be freed.
Extend the rte_devargs API to allow freeing allocated resources.
This API is experimental and bound to change. It is currently designed
as a symetrical to rte_eal_devargs_add(), but
Sending those fixes as separate patches as they stand on their own.
This series improves usability of the hotplug API and fixes a few issues
with existing implementations.
The hotplug API can be tested with the fail-safe PMD[1]. Its
documentation describes how to declare slaves and how to use it.
This method must be implemented to allow using a unified, generic API to
hotplug devices, including virtual ones.
VDEV devices actually exist unattached after performing a scan on the
rte_devargs list. As such it makes sense to be able to perform a device
hotplug afterward.
Finally, missing this
This removes the enum rte_bus field ``bus`` from struct rte_devargs.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 1 -
lib/librte_eal/common/include/rte_devargs.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/l
This removes the enum rte_devtype field ``type`` from struct rte_devargs.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 1 -
lib/librte_eal/common/include/rte_devargs.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/
This makes the devargs code itself require the rte_devargs type field for
properly functioning.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_devargs.c | 42 ++
1 file changed, 26 insertions(+), 16 deletions(-)
diff --git a/lib/librte_eal/common/eal_
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/librte_eal/common/eal_common_vdev.c
index ff6a3b571..d04015582 100644
--- a/lib/librte_eal/common/eal_common_vde
Let the rte_eal_devargs_parse() function parse the "bus=" argument.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_devargs.c | 131 ++---
test/test/test_devargs.c | 19 +
2 files changed, 102 insertions(+), 48 deletions(-)
diff --gi
Signed-off-by: Jan Blunck
---
drivers/net/virtio/virtio_pci.c| 3 +--
lib/librte_eal/common/eal_common_pci.c | 9 +
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/virtio/virtio_pci.c b/drivers/net/virtio/virtio_pci.c
index e6eda75b6..a81322969 100644
--
This adds the busname as a string to struct rte_devargs. The function
rte_eal_devargs_add() is adding the busname based on the devtype which
is ok for now since the function is deprecated anyway.
As a side-effect this is also no longer validating the PCI device name.
This was done only for PCI dev
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_devargs.c | 30 --
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_devargs.c
b/lib/librte_eal/common/eal_common_devargs.c
index 92c77c30e..691538095 100644
When scanning/probing devices the bus should use its configuration instead
of looking at the devargs->type field.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_pci.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_pci.c
Signed-off-by: Jan Blunck
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 +
lib/librte_eal/common/eal_common_bus.c | 16
lib/librte_eal/common/include/rte_bus.h | 9 +
lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 +
4 files changed, 27
Since the scan-mode of the bus is now based on the bus configuration it
isn't possible to have blacklisted and whitelisted devices existing for
the same bus. This fixes the unittest to reflect that.
Signed-off-by: Jan Blunck
---
test/test/test_devargs.c | 8 +---
1 file changed, 5 insertions
The enum rte_devtype will need to get extended every time we add a bus.
Mark all related functions as deprecated for 17.11.
Signed-off-by: Jan Blunck
---
doc/guides/rel_notes/deprecation.rst| 7 +++
lib/librte_eal/common/include/rte_devargs.h | 3 +++
2 files changed, 10 insertions(+
The changes to enum rte_devtype that got merged into 17.08-rc1 are breaking
API without prior notice. This series is reworking the rte_devargs changes
in a way hopefully compliant to the new failover PMD and still keeping API
compatible with earlier releases.
Jan Blunck (13):
Revert "devargs: ma
This (partially) reverts commit
bd279a79366f50a4893fb84db91bbf64b56f9fb1.
---
lib/librte_eal/common/eal_common_devargs.c | 4 ++--
lib/librte_eal/common/eal_common_options.c | 6 ++---
lib/librte_eal/common/eal_common_pci.c | 4 ++--
lib/librte_eal/common/eal_common_vdev.c | 1 +
li
Thanks, I'll change it.
2017-07-11 23:28 GMT+03:00 Stephen Hemminger :
> On Tue, 11 Jul 2017 19:33:05 +
> Medvedkin Vladimir wrote:
>
> > +
> > +#define ROUNDUP(x, y) x - 1) >> (32 - y)) + 1) << (32 - y))
>
> There is already RTE_ALIGN_FLOOR/RTE_ALIGN_CEIL
>
>
> > +#define RTE_DIR24_8_
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/librte_eal/common/eal_common_vdev.c
index 5abdba091..e00dda9aa 100644
--- a/lib/librte_eal/common/eal_common_vdev.c
+++ b/lib/
Instead of getting the name from the devargs lets take it from the
rte_device.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/include/rte_vdev.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/include/rte_vdev.h
b/lib/librte_eal/common/include/
It isn't necessary to use rte_bus_find_by_name() to find a reference to
our own bus.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/librte_eal/common
Three trivial vdev patches for -rc2. Please review and apply.
Changes since v0:
- Fix review comments by Gaetan
Jan Blunck (3):
vdev: get name from embedded device
vdev: directly use rte_bus reference
vdev: allocate empty str args
lib/librte_eal/common/eal_common_vdev.c | 11 +++
Actually that is vendor specific. For example Juniper takes all route
information from protocol specific tables and compiles it in rib (yes, they
call it rib) so-called inet.0 (for ipv4 default VRF). In general RIB
contains control plane information and is used for control plane purpose
such as fib
On Tue, 11 Jul 2017 22:33:55 +0200
Thomas Monjalon wrote:
> Hi Stephen,
>
> 11/07/2017 20:55, Stephen Hemminger:
> > This is just a simple check script to find obvious duplications.
> >
> > Signed-off-by: Stephen Hemminger
> > ---
> > devtools/dup_include.pl | 64
> >
On Wed, Jul 12, 2017 at 12:21:24AM +0200, Thomas Monjalon wrote:
> 11/07/2017 23:48, Gaëtan Rivet:
> > On Tue, Jul 11, 2017 at 09:57:51PM +0200, Thomas Monjalon wrote:
> > > 11/07/2017 01:19, Gaetan Rivet:
> > > > --- /dev/null
> > > > +++ b/drivers/net/failsafe/failsafe_args.c
> > > [...]
> > > >
11/07/2017 23:48, Gaëtan Rivet:
> On Tue, Jul 11, 2017 at 09:57:51PM +0200, Thomas Monjalon wrote:
> > 11/07/2017 01:19, Gaetan Rivet:
> > > --- /dev/null
> > > +++ b/drivers/net/failsafe/failsafe_args.c
> > [...]
> > > +#include
> >
> > Do you really need errno in this file?
>
> It's used for e
11/07/2017 01:19, Gaetan Rivet:
> New device should be represented by an rte_devargs prior to being
> plugged.
Why this assumption?
Please start by stated the issue to solve.
> Device parameters are available to rte_devices via their devargs field.
> This field should be set up as soon as possibl
11/07/2017 01:19, Gaetan Rivet:
> This new function expects a fully-formed rte_devargs, previously parsed
> and allocated.
>
> It does not check whether the new rte_devargs is compatible with current
> bus configuration, but will replace any eventual existing one for the same
> device.
Please exp
11/07/2017 01:19, Gaetan Rivet:
> The PCI device is referenced by other DPDK systems by the name of its
> parameter, not by the system name.
I don't understand this sentence. Please give an example.
> Moreover, this name should be set once and for all, as early as
> possible. This means linking t
On Tue, Jul 11, 2017 at 09:57:51PM +0200, Thomas Monjalon wrote:
> 11/07/2017 01:19, Gaetan Rivet:
> > --- /dev/null
> > +++ b/drivers/net/failsafe/failsafe_args.c
> [...]
> > +#include
>
> Do you really need errno in this file?
It's used for error handling on strtoull and popen.
Why, is it a pr
Hi Stephen,
11/07/2017 20:55, Stephen Hemminger:
> This is just a simple check script to find obvious duplications.
>
> Signed-off-by: Stephen Hemminger
> ---
> devtools/dup_include.pl | 64
> +
> 1 file changed, 64 insertions(+)
> create mode 1
On Tue, 11 Jul 2017 19:33:04 +
Medvedkin Vladimir wrote:
> Hi,
>
> I want to introduce new library for ip routing lookup that have some
> advantages
> over current LPM library. In short:
> - Increases the speed of control plane operations against lpm such as
>adding/deleting ro
On Tue, 11 Jul 2017 19:33:05 +
Medvedkin Vladimir wrote:
> +
> +#define ROUNDUP(x, y) x - 1) >> (32 - y)) + 1) << (32 - y))
There is already RTE_ALIGN_FLOOR/RTE_ALIGN_CEIL
> +#define RTE_DIR24_8_GET_TBL24_P(fib, ip) \
> + ((void *)&((uint8_t *)fib->tbl24)[(ip
On Tue, 11 Jul 2017 12:35:39 +0100
Sergio Gonzalez Monroy wrote:
> On 11/07/2017 02:56, Tan, Jianfeng wrote:
> >> -Original Message-
> >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen
> >> Hemminger
> >> Sent: Tuesday, July 11, 2017 9:13 AM
> >> To: dev@dpdk.org
> >> Cc: St
11/07/2017 01:19, Gaetan Rivet:
> --- /dev/null
> +++ b/drivers/net/failsafe/failsafe_args.c
[...]
> +#include
Do you really need errno in this file?
On Sat, 8 Jul 2017 15:54:25 -0400
Qi Zhang wrote:
> CRC size on Tx path is not necessary to be excluded.
>
> Fixes: 98abce237ba7 ("net/i40e: fix VF statistics")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Qi Zhang
> ---
> drivers/net/i40e/i40e_ethdev.c | 3 ---
> 1 file changed, 3 deletions(-)
On Tue, Jul 11, 2017 at 3:09 PM, Gaëtan Rivet wrote:
> Hi Jan,
>
> On Tue, Jul 11, 2017 at 02:56:49PM -0400, Jan Blunck wrote:
>> It isn't necessary to use rte_bus_find_by_name() to find a reference to
>> our own bus.
>>
>> Signed-off-by: Jan Blunck
>> ---
>> lib/librte_eal/common/eal_common_vde
Aaron Conole writes:
> Aaron Conole writes:
>
>> This series attempts to introduce the ability to start and use
>> Open vSwitch 'out of the box' as a non-root user. It does this by
>> modifying the service files to pass the recently introduced --ovs-user
>> argument around, and by making some m
On Tue, Jul 11, 2017 at 03:07:02PM -0400, Jan Blunck wrote:
> On Tue, Jul 11, 2017 at 12:02 PM, Gaëtan Rivet wrote:
> > On Sun, Jul 09, 2017 at 04:19:05PM +0200, Thomas Monjalon wrote:
> >> 09/07/2017 12:38, Jan Blunck:
> >> > On Sat, Jul 8, 2017 at 9:45 PM, Gaetan Rivet
> >> > wrote:
> >> > > S
Hi Jan,
On Tue, Jul 11, 2017 at 02:56:49PM -0400, Jan Blunck wrote:
> It isn't necessary to use rte_bus_find_by_name() to find a reference to
> our own bus.
>
> Signed-off-by: Jan Blunck
> ---
> lib/librte_eal/common/eal_common_vdev.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletion
RIB is an alternative to current LPM library.
It solves the following problems
- Increases the speed of control plane operations against lpm such as
adding/deleting routes
- Adds abstraction from dataplane algorythms, so it is possible to add
different ip route lookup algorythms such as DXR
Hi,
I want to introduce new library for ip routing lookup that have some advantages
over current LPM library. In short:
- Increases the speed of control plane operations against lpm such as
adding/deleting routes
- Adds abstraction from dataplane algorythms, so it is possible to a
It isn't necessary to use rte_bus_find_by_name() to find a reference to
our own bus.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/eal_common_vdev.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/librte_eal/common
Instead of getting the name from the devargs lets take it from the
rte_device.
Signed-off-by: Jan Blunck
---
lib/librte_eal/common/include/rte_vdev.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/include/rte_vdev.h
b/lib/librte_eal/common/include/
Two trivial vdev patches for -rc2. Please review and apply.
Jan Blunck (2):
vdev: get name from embedded device
vdev: directly use rte_bus reference
lib/librte_eal/common/eal_common_vdev.c | 9 +
lib/librte_eal/common/include/rte_vdev.h | 4 ++--
2 files changed, 7 insertions(+), 6
Signed-off-by: Stephen Hemminger
---
test/test/test_alarm.c| 1 -
test/test/test_atomic.c | 1 -
test/test/test_eal_flags.c| 1 -
test/test/test_malloc.c | 1 -
test/test/test_mbuf.c | 1 -
test/test/test_mp_secondary.c | 4
test/test/test_per_lcore.c| 1 -
Signed-off-by: Stephen Hemminger
---
test/test-pipeline/config.c | 1 -
test/test-pipeline/init.c| 1 -
test/test-pipeline/main.c| 1 -
test/test-pipeline/runtime.c | 2 --
4 files changed, 5 deletions(-)
diff --git a/test/test-pipeline/config.c b/test/test-pipeline/config.c
index 1b397
Signed-off-by: Stephen Hemminger
---
app/test-pmd/cmdline.c| 1 -
app/test-pmd/config.c | 1 -
app/test-pmd/csumonly.c | 2 --
app/test-pmd/flowgen.c| 1 -
app/test-pmd/iofwd.c | 1 -
app/test-pmd/macfwd.c | 1 -
app/test-pmd/macswap.c| 1 -
app/test-pmd/parameters.c |
Signed-off-by: Stephen Hemminger
---
drivers/bus/fslmc/fslmc_vfio.c | 2 --
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index 725faabab312..e10443c5bc05 100644
--- a/drivers
Signed-off-by: Stephen Hemminger
---
drivers/event/dpaa2/dpaa2_eventdev.c | 1 -
drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 1 -
drivers/net/dpaa2/dpaa2_ethdev.c | 1 -
drivers/net/dpaa2/dpaa2_rxtx.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/drivers/event/dpaa2/dp
Signed-off-by: Stephen Hemminger
---
app/proc_info/main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/app/proc_info/main.c b/app/proc_info/main.c
index d4f6a8236e3f..8b753a2ee01b 100644
--- a/app/proc_info/main.c
+++ b/app/proc_info/main.c
@@ -53,7 +53,6 @@
#include
#include
#include
Signed-off-by: Stephen Hemminger
---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c
b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index 72ec67c01cdd..ab5a824c8b91 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/driver
Signed-off-by: Stephen Hemminger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 1 -
drivers/net/ixgbe/ixgbe_flow.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index a0ae089c5118..6bc9146d8f4d 100644
--- a/drivers/net/ixgbe/ix
Signed-off-by: Stephen Hemminger
---
drivers/net/cxgbe/cxgbe_ethdev.c | 1 -
drivers/net/cxgbe/cxgbe_main.c | 1 -
drivers/net/cxgbe/sge.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
index 981dd478e5a8..7bca45
Signed-off-by: Stephen Hemminger
---
drivers/net/virtio/virtio_user/virtio_user_dev.c | 1 -
drivers/net/virtio/virtio_user_ethdev.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c
b/drivers/net/virtio/virtio_user/virtio_user_dev.c
i
Signed-off-by: Stephen Hemminger
---
drivers/net/i40e/i40e_ethdev_vf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index bab09f814215..dc6c79449d14 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b/drivers/net/i40e/i
Signed-off-by: Stephen Hemminger
---
drivers/net/bnxt/bnxt_hwrm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c
index da078f9edfa8..3583ec732ded 100644
--- a/drivers/net/bnxt/bnxt_hwrm.c
+++ b/drivers/net/bnxt/bnxt_hwrm.c
@@ -33,8
Signed-off-by: Stephen Hemminger
---
lib/librte_timer/rte_timer.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c
index dda9baf5506d..5ee084080060 100644
--- a/lib/librte_timer/rte_timer.c
+++ b/lib/librte_timer/rte_timer.c
@@ -46,7 +
Signed-off-by: Stephen Hemminger
---
lib/librte_hash/rte_cuckoo_hash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_hash/rte_cuckoo_hash.c
b/lib/librte_hash/rte_cuckoo_hash.c
index 5b2b8ddeb098..87b25c016a71 100644
--- a/lib/librte_hash/rte_cuckoo_hash.c
+++ b/lib/librte_hash/rt
Signed-off-by: Stephen Hemminger
---
lib/librte_lpm/rte_lpm.c | 1 -
lib/librte_lpm/rte_lpm6.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c
index 978ac6013ecf..64c074e987e9 100644
--- a/lib/librte_lpm/rte_lpm.c
+++ b/lib/librte_lpm/rte_
Signed-off-by: Stephen Hemminger
---
lib/librte_distributor/rte_distributor.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_distributor/rte_distributor.c
b/lib/librte_distributor/rte_distributor.c
index c4e31b8c4245..20ba9ffbc84c 100644
--- a/lib/librte_distributor/rte_distributo
Include files only need to be refrenced once per file.
Signed-off-by: Stephen Hemminger
---
lib/librte_eal/bsdapp/eal/eal.c | 2 --
lib/librte_eal/bsdapp/eal/eal_pci.c | 2 --
lib/librte_eal/bsdapp/eal/eal_thread.c | 1 -
lib/librte_eal/common/eal_common_dev.c |
Signed-off-by: Stephen Hemminger
---
lib/librte_cmdline/cmdline_parse_etheraddr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_cmdline/cmdline_parse_etheraddr.c
b/lib/librte_cmdline/cmdline_parse_etheraddr.c
index dbfe4a613413..da02d2c9f8cb 100644
--- a/lib/librte_cmdline/cmdlin
This is just a simple check script to find obvious duplications.
Signed-off-by: Stephen Hemminger
---
devtools/dup_include.pl | 64 +
1 file changed, 64 insertions(+)
create mode 100755 devtools/dup_include.pl
diff --git a/devtools/dup_include.pl
Using a simple script (in first patch), discovered that there was
lots of #include file sloppiness in DPDK. This patch series
fixes everything but base drivers and examples.
Stephen Hemminger (19):
devtools: add simple script to find duplicate includes
eal: remove duplicate includes
cmdline
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Monday, July 10, 2017 5:58 PM
> To: Dumitrescu, Cristian
> Cc: dev@dpdk.org; jerin.ja...@caviumnetworks.com;
> hemant.agra...@nxp.com; Singh, Jasvinder ;
> Lu, Wenzhuo ; O'Driscoll, Tim
> ; Glynn, Michael J
From: Ilia Kurakin
The patch adds tracing of loop iterations that yielded no packets in a DPDK
application. It is using ITT task API:
https://software.intel.com/en-us/node/544206
We suppose the flow of using this tracing would assume the user has ITT lib
and header on machine and re-build DP
From: Ilia Kurakin
We suppose the flow of using this tracing would assume the user has ITT lib
and header on machine and re-build DPDK with additional make parameters:
make EXTRA_CFLAGS=-I
EXTRA_LDLIBS="-L -littnotify"
Signed-off-by: Ilia Kurakin
---
-V2 change:
ITT tasks co
Printing the number of scanned devices should be a debug log,
not an error.
Signed-off-by: Thomas Monjalon
---
lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/bsdapp/eal/eal_pci.c
b/lib/librte_eal/bsdapp/eal/eal_pci.c
index
On 10/07/2017 8:35 AM, Boris Pismenny wrote:
In this RFC we introduce a infrastructure for IPSec inline hardware offloading.
This RFC introduces device capabilities, configuration API and data path
processing. We also provide a comparison with a previous RFC posted on the list
for this feature.
> On Jul 11, 2017, at 10:23 AM, Morten Brørup
> wrote:
>
>> -Original Message-
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
>> Sent: Tuesday, July 11, 2017 5:06 PM
>> To: Morten Brørup
>> Cc: dev@dpdk.org; Wiles, Keith; Olivier Matz; Wang, Zhihong; Yuanhan
>>
Hello All,
Perhaps you can shade some light on an interesting problem we have.
I am working with Intel 82599 NICs in a SR-IOV mode. After several hours of
running traffic we checked port statistics on a host and saw that the counter
rx_no_dma_resources began climbing on some ports.
At that exac
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Tuesday, July 11, 2017 5:06 PM
> To: Morten Brørup
> Cc: dev@dpdk.org; Wiles, Keith; Olivier Matz; Wang, Zhihong; Yuanhan
> Liu; Ananyev, Konstantin; Richardson, Bruce; Chilikin, Andrey; Jan
11/07/2017 15:30, Morten Brørup:
> Morten Brørup wrote:
> > Olivier Matz wrote:
> > > As I said in a previous message, I think a good first step would be to
> > > introduce a typedef for the port number: rte_eth_port_num_t.
> > > It can still be uint8_t for now, and can be switched to 16 bits in on
On 7/11/2017 2:50 PM, Thomas Monjalon wrote:
I see some compilation errors with DPAA2 target,
using aarch64-linux-gnu-gcc 7.1.0:
drivers/net/dpaa2/dpaa2_ethdev.c:1257:15: error:
this statement may fall through [-Werror=implicit-fallthrough=]
cfg.options &= ~DPNI_LINK_OPT_ASYM_PAUSE;
drivers/
Signed-off-by: Hemant Agrawal
---
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 46 +--
drivers/mempool/dpaa2/dpaa2_hw_mempool.c| 12 ++---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 10 ++--
drivers/net/dpaa2/dpaa2_ethdev.c| 71 +++--
4
1 - 100 of 162 matches
Mail list logo