>-Original Message-
>From: Pablo de Lara [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 06 July 2018 10:58
>To: Verma, Shally ; Gupta, Ashish
>; fiona.tr...@intel.com;
>lee.d...@intel.com
>Cc: dev@dpdk.org; Pablo de Lara
>Subject: [PATCH v5 4/4] compressdev: add huffman encoding flags
>-Original Message-
>From: Pablo de Lara [mailto:pablo.de.lara.gua...@intel.com]
>Sent: 06 July 2018 10:58
>To: Verma, Shally ; Gupta, Ashish
>; fiona.tr...@intel.com;
>lee.d...@intel.com
>Cc: dev@dpdk.org; Pablo de Lara
>Subject: [PATCH v5 3/4] compressdev: replace mbuf scatter gather
The existing implementation of librte_hash does not support read-write
concurrency. This commit implements read-write safety using rte_rwlock
and rte_rwlock TM version if hardware transactional memory is available.
Both multi-writer and read-write concurrency is protected by rte_rwlock
now. The x8
This commits add a new test case for testing read/write concurrency.
Signed-off-by: Yipeng Wang
---
test/test/Makefile | 1 +
test/test/test_hash_readwrite.c | 646
2 files changed, 647 insertions(+)
create mode 100644 test/test/test_hash_
When malloc for multiwriter_lock, the align should be
RTE_CACHE_LINE_SIZE rather than LCORE_CACHE_SIZE.
Also there should be check to verify the success of
rte_malloc.
Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel TSX")
Cc: sta...@dpdk.org
Signed-off-by: Yipeng Wang
New code is added to support read-write concurrency for
rte_hash. Due to the newly added code in critial path,
the perf test is modified to show any performance impact.
It is still a single-thread test.
Signed-off-by: Yipeng Wang
---
test/test/test_hash_perf.c | 36 +-
This commit refactors the hash table lookup/add/del code
to remove some code duplication. Processing on primary bucket can
also apply to secondary bucket with same code.
Signed-off-by: Yipeng Wang
---
lib/librte_hash/rte_cuckoo_hash.c | 186 +++---
1 file changed,
Current multi-writer implementation uses Intel TSX to
protect the cuckoo path moving but not the cuckoo
path searching. After searching, we need to verify again if
the same empty slot still exists at the beginning of the TSX
region. Otherwise another writer could occupy the empty slot
before the TS
Add a new function, rte_hash_count, to return the number of keys that
are currently stored in the hash table. Corresponding test functions are
added into hash_test and hash_multiwriter test.
Signed-off-by: Yipeng Wang
---
lib/librte_hash/rte_cuckoo_hash.c| 24
lib/li
This commit calculates the needed key slot size more
accurately. The previous local cache fix requires
the free slot ring to be larger than actually needed.
The calculation of the value is inaccurate.
Fixes: 5915699153d7 ("hash: fix scaling by reducing contention")
Cc: sta...@dpdk.org
Signed-off-
This patch set adds the read-write concurrency support in rte_hash.
A new flag value is added to indicate if read-write concurrency is needed
during creation time. Test cases are implemented to do functional and
performance tests.
The new concurrency model is based on rte_rwlock. When Intel TSX is
On Wed, Jun 27, 2018 at 05:07:52PM +0200, Nelio Laranjeiro wrote:
> This is only supported by Mellanox OFED.
>
> Signed-off-by: Nelio Laranjeiro
> ---
Acked-by: Yongseok Koh
Thanks
On Wed, Jun 27, 2018 at 05:07:51PM +0200, Nelio Laranjeiro wrote:
> Signed-off-by: Nelio Laranjeiro
> ---
> drivers/net/mlx5/mlx5_flow.c | 77 +++-
> 1 file changed, 76 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/m
On Wed, Jun 27, 2018 at 05:07:50PM +0200, Nelio Laranjeiro wrote:
> Signed-off-by: Nelio Laranjeiro
> ---
> drivers/net/mlx5/mlx5_flow.c | 191 ++-
> 1 file changed, 186 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5
On Wed, Jun 27, 2018 at 05:07:49PM +0200, Nelio Laranjeiro wrote:
> Signed-off-by: Nelio Laranjeiro
> ---
> drivers/net/mlx5/mlx5_flow.c | 123 ++-
> 1 file changed, 120 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5
On Wed, Jun 27, 2018 at 05:07:48PM +0200, Nelio Laranjeiro wrote:
> Signed-off-by: Nelio Laranjeiro
> ---
Acked-by: Yongseok Koh
Thanks
https://bugs.dpdk.org/show_bug.cgi?id=69
Bug ID: 69
Summary: Intel x550 SFP+ fails to update link state
Product: DPDK
Version: 18.05
Hardware: x86
OS: Linux
Status: CONFIRMED
Severity: normal
Pri
From: Jananee Parthasarathy
Unit Test Cases added for latencystats library.
Signed-off-by: Agalya Babu RadhaKrishnan
Reviewed-by: Reshma Pattan
---
test/test/Makefile| 3 +
test/test/test_latencystats.c | 178 ++
2 files changed, 181 inse
> -Original Message-
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson,
> Bruce ; honnappa.nagaraha...@arm.com;
> vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com
> Subject: [PATCH v2 6/6] hash: add
> On Jul 6, 2018, at 8:59 AM, Nélio Laranjeiro
> wrote:
>
> Hi Yongseok,
>
> I am only addressing your questions concerns here, almost all other
> points I also agree with them.
>
> On Thu, Jul 05, 2018 at 07:16:35PM -0700, Yongseok Koh wrote:
>> On Wed, Jun 27, 2018 at 05:07:45PM +0200, Neli
> -Original Message-
> From: Singh, Jasvinder
> Sent: Friday, July 6, 2018 6:21 PM
> To: dev@dpdk.org
> Cc: Dumitrescu, Cristian
> Subject: [PATCH v5 00/23] net/softnic: refactoring
>
> This patch set modifies the Soft NIC device driver to use the Packet
> Framework, which makes it muc
> -Original Message-
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson,
> Bruce ; honnappa.nagaraha...@arm.com;
> vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com
> Subject: [PATCH v2 5/6] hash: fix
> -Original Message-
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson,
> Bruce ; honnappa.nagaraha...@arm.com;
> vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com
> Subject: [PATCH v2 4/6] test: add
Add cli commands for meter action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 418
drivers/net/softnic/rte_eth_softnic_internals.h | 29 ++
drivers/net/softnic/rte_
Add default firmware script for softnic.
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/firmware.cli | 21 +
1 file changed, 21 insertions(+)
create mode 100644 drivers/net/softnic/firmware.cli
diff --git a/drivers/net/softnic/firmware.cli b/drivers/net/softnic/firm
Implements softnic start and stop function.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 49 -
drivers/net/softnic/rte_eth_softnic_internals.h | 6 +++
drivers/net/softnic/rte_eth_softnic_pipelin
Add cli commands to read port and table stats of
softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 288 +++
drivers/net/softnic/rte_eth_softnic_internals.h | 29 ++
drivers/net/softn
Add cli commands for ttl action in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 23 ++
drivers/net/softnic/rte_eth_softnic_internals.h | 8 +++
drivers/net/softnic/rte_eth_softnic_thread.c
Modied the testpmd softnic forwarding mode as per the
changes in softnic PMD.
To run testpmd application with softnic fwd mode, following
command is used;
$ ./testpmd -c 0xc -n 4 --vdev 'net_softnic0,firmware=script.cli'
-- -i --forward-mode=softnic
Signed-off-by: Jasvinder Singh
Signed-off-b
Implements softnic receive and transmit queues setup using swq object.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 62 ++-
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/drivers/ne
Add cli commands for table entries in softnic pipeline objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 2187 ---
drivers/net/softnic/rte_eth_softnic_internals.h | 35 +
drivers/net/softnic/rte
Add cli commands to enable and disable pipelines on specific threads in
softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 103
drivers/net/softnic/rte_eth_softnic_internals.h | 10 +
drivers/net/softnic/rte
From: Jananee Parthasarathy
Unit Test Cases for BitRate library.
Signed-off-by: Chaitanya Babu Talluri
Reviewed-by: Reshma Pattan
---
test/test/Makefile| 1 +
test/test/autotest_data.py| 6 ++
test/test/test_bitratestats.c | 187 ++
Add cli commands to create softnic objects such as mempool, swq,
pipeline, etc.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic_cli.c | 1646 ++-
drivers/net/softnic/rte_eth_softnic_internals.h | 85 ++
driver
Add pipeline object implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 3 +-
drivers/net/softnic/meson.build | 5 +-
drivers/net/softnic/rte_eth_softnic.c | 2 +
d
Add interface for softnic cli commands.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 2 +
drivers/net/softnic/meson.build | 4 +-
drivers/net/softnic/parser.c| 685
Add thread data structure and init function to run softnic pipelines
objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 1 +
drivers/net/softnic/meson.build | 3 +-
drivers/net/softnic/rte_eth_softni
Implements softnic API function to run pipeline objects.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c| 13 --
drivers/net/softnic/rte_eth_softnic_thread.c | 195 +++
2 files changed, 195 insertions(+
Add connection agent to enable connectivity with external agen
(e.g. telnet, netcat, Python script, etc).
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
config/common_base | 2 +-
config/common_linuxapp | 1 +
Add mempool object implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 1 +
drivers/net/softnic/meson.build | 1 +
drivers/net/softnic/rte_eth_softnic.c | 2 +
driv
Add pipeline's port action profile implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 3 +
drivers/net/softnic/hash_func.h | 359
drivers/net/softnic/ha
Add tap object implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 1 +
drivers/net/softnic/meson.build | 3 +-
drivers/net/softnic/rte_eth_softnic.c | 2 +
drivers
Add traffic manager(tmgr) object to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 70 +++-
drivers/net/softnic/rte_eth_softnic.h | 11 ++-
drivers/net/softnic/rte_eth_softnic_internals
Add swq object implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 1 +
drivers/net/softnic/meson.build | 3 +-
drivers/net/softnic/rte_eth_softnic.c | 7 ++
drivers/n
Add link object implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/Makefile| 1 +
drivers/net/softnic/meson.build | 3 +-
drivers/net/softnic/rte_eth_softnic.c | 4 +
drivers/n
Add pipeline's table action profile implementation to the softnic.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 2 +
drivers/net/softnic/rte_eth_softnic_action.c| 227
drivers/net/softnic/r
Rework the softnic implementation to have flexiblity in enabling
more features to its receive and transmit data path.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Jasvinder Singh
---
drivers/net/softnic/rte_eth_softnic.c | 607
drivers/net/softnic/rte_eth
This patch set modifies the Soft NIC device driver to use the Packet
Framework, which makes it much more modular, flexible and extensible
with new functionality.
* The Soft NIC allows building custom NIC pipelines in SW. The Soft NIC
pipeline is DIY and reconfigurable through "firmware" (DPDK Pa
> -Original Message-
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson,
> Bruce ; honnappa.nagaraha...@arm.com;
> vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com
> Subject: [PATCH v2 3/6] test: add
> -Original Message-
> From: Wang, Yipeng1
> Sent: Friday, June 29, 2018 1:25 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson,
> Bruce ; honnappa.nagaraha...@arm.com;
> vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com
> Subject: [PATCH v2 2/6] hash: add
From: Jananee Parthasarathy
Add sample test functions for packet forwarding.
These can be used for unit test cases for
LatencyStats and BitrateStats libraries.
Signed-off-by: Chaitanya Babu Talluri
Reviewed-by: Reshma Pattan
---
test/test/Makefile| 1 +
test/test/sample_pack
Please see inline replies
> On Mon, Jul 02, 2018 at 07:42:11PM +0300, Alex Kiselev wrote:
>> There are two major problems with the library:
>> first, there is no need to rebuild the whole LPM tree
>> when a rule is deleted and second, due to the current
>> rules algorithm with complexity O(n) it's
On Mon, Jul 02, 2018 at 07:42:11PM +0300, Alex Kiselev wrote:
> There are two major problems with the library:
> first, there is no need to rebuild the whole LPM tree
> when a rule is deleted and second, due to the current
> rules algorithm with complexity O(n) it's almost
> impossible to deal with
Hi Yongseok,
I am only addressing your questions concerns here, almost all other
points I also agree with them.
On Thu, Jul 05, 2018 at 07:16:35PM -0700, Yongseok Koh wrote:
> On Wed, Jun 27, 2018 at 05:07:45PM +0200, Nelio Laranjeiro wrote:
> > Signed-off-by: Nelio Laranjeiro
> > ---
>[...]
>
> -Original Message-
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
> This patch introduces a failure handler mechanism to handle device
> hot plug removal event.
>
> First register sigbus handler, once sigbus error be captured, will
> check the failure address and accordingl
> -Original Message-
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
> This patch aim to add a helper to iterate all buses to find the
> corresponding bus to handle the sigbus error.
>
[...]
> + bus = rte_bus_find(NULL, bus_handle_sigbus, failure_addr);
> + /* failed
> -Original Message-
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
> This patch implements the ops of sigbus handler for PCI bus, it is
> functional to find the corresponding pci device which is be hotplug out.
" which is been hotplug out "?
> and then handle the hotplug fa
> -Original Message-
> From: Guo, Jia
>
> When device be hotplug out, if data path still read/write device, the
> sigbus error will occur, this error need to be handled. So a handler
> need to be here to capture the signal and handle it correspondingly.
>
> This patch introduces a bus o
> -Original Message-
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
[...]
> + switch (pdev->kdrv) {
> + case RTE_KDRV_IGB_UIO:
> + case RTE_KDRV_UIO_GENERIC:
> + case RTE_KDRV_NIC_UIO:
> + /* mmio resources is invalid, remap it to be safe. */
Bette
> -Original Message-
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
> When device be hotplug out, if app still continue to access device by mmio,
> it will cause of memory failure and result the system crash.
>
> This patch introduces a bus ops to handle device hotplug failur
Signed-off-by: Rahul Lakkireddy
---
doc/guides/nics/cxgbe.rst | 2 +-
doc/guides/rel_notes/release_18_08.rst | 5 -
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/cxgbe.rst b/doc/guides/nics/cxgbe.rst
index 124022cfc..58d88eef5 100644
--- a/doc/gui
Hi Declan
>-Original Message-
>From: Doherty, Declan [mailto:declan.dohe...@intel.com]
>Sent: 05 July 2018 20:24
>To: Verma, Shally ; pablo.de.lara.gua...@intel.com
>Cc: dev@dpdk.org; Athreya, Narayana Prasad
>; Murthy, Nidadavolu
>; Sahu, Sunila ; Gupta,
>Ashish ; Kartha,
>Umesh
>Subje
Update release notes for the new multi-process hotplug feature.
Signed-off-by: Qi Zhang
---
doc/guides/rel_notes/release_18_08.rst | 11 +++
1 file changed, 11 insertions(+)
diff --git a/doc/guides/rel_notes/release_18_08.rst
b/doc/guides/rel_notes/release_18_08.rst
index bc0124295..12
The sample code demonstrates device (ethdev only) management
at a multi-process environment. The user can attach/detach a
device on primary process and see it is synced on secondary
process automatically.
How to start?
./hotplug_mp --proc-type=auto
Command Line Example:
>help
>list
/* attach a
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
Acked-by: Keith Wiles
---
drivers/net/tap/rte_eth_tap.c | 17 ++
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/vhost/rte_eth_vhost.c | 11 +++
1 file c
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/softnic/rte_eth_softnic.c | 19 -
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/bonding/rte_eth_bond_pmd.c | 11 +++
1 f
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/pcap/rte_eth_pcap.c | 15 ++-
1 file
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/octeontx/octeontx_ethdev.c | 16
This patch cover the multi-process hotplug case when a device
attach/detach request be issued from a secondary process
device attach on secondary:
a) secondary send sync request to the primary.
b) primary receive the request and attach the new device if
failed goto i).
c) primary forward attach
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/null/rte_eth_null.c | 16 +++-
1 fil
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/kni/rte_eth_kni.c | 11 +++
1 file chang
Add driver API rte_eth_release_port_private to support the
case when an ethdev need to be detached on a secondary process.
Local state is set to unused and shared data will not be reset
so the primary process can still use it.
Signed-off-by: Qi Zhang
Reviewed-by: Andrew Rybchenko
Acked-by: Remy
Subroutine to unmap VFIO resource is shared by secondary and
primary, and it does not work on the secondary process.
The patch adds a dedicate function to handle the situation
when a device is unmapped on a secondary process.
Signed-off-by: Qi Zhang
---
drivers/bus/pci/linux/pci_vfio.c | 75
We are going to introduce the solution to handle hotplug in
multi-process, it includes the below scenario:
1. Attach a device from the primary
2. Detach a device from the primary
3. Attach a device from a secondary
4. Detach a device from a secondary
In the primary-secondary process model, we ass
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c | 2 ++
1 file changed, 2 ins
Clear vfio_group_fd is not necessary to involve any IPC.
Also, current IPC implementation for SOCKET_CLR_GROUP is not
correct. rte_vfio_clear_group on secondary will always fail,
that prevent device be detached correctly on a secondary process.
The patch simply removes all IPC related stuff in
rte_
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
1 file changed, 3
When use memcmp to compare two PCI address, sizeof(struct rte_pci_addr)
is 4 bytes aligned, and it is 8. While only 7 byte of struct rte_pci_addr
is valid. So compare the 8th byte will cause the unexpected result, which
happens when repeatedly attach/detach a device.
Fixes: c752998b5e2e ("pci: int
Previously, detach port on a secondary process will mess primary
process and cause the same device can't be attached back again.
A secondary process should use rte_eth_release_port_private to
release a port.
Signed-off-by: Qi Zhang
---
drivers/net/af_packet/rte_eth_af_packet.c | 11 +++
v9:
- Move hotplug IPC from rte_eth_dev_attach/rte_eth_dev_detach to
eal_dev_hotplug_add and eal_dev_hotplug_remove, now all kinds of
devices will be synced in multi-process.
- Fix couple issue when a device is bound to vfio.
1) The device can't be detached clearly in a secondary process, whi
Hi Shally
> Ya . right now they were there for consistency. You prefer to remove them?
Yes.
Hi Fiona
>-Original Message-
>From: Trahe, Fiona [mailto:fiona.tr...@intel.com]
>Sent: 06 July 2018 19:11
>To: Verma, Shally ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Athreya, Narayana Prasad
>; Murthy, Nidadavolu
>; Kartha, Umesh ; Sahu,
>Sunila ; Gupta,
>Ashish ; Trahe, Fiona
>Sub
Hi Shally, Umesh,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shally Verma
> Sent: Tuesday, July 3, 2018 4:24 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; pathr...@caviumnetworks.com; nmur...@caviumnetworks.com;
> Umesh Kartha
> ; Sunila Sahu
> ; As
The name private_data is confusing in these APIs:
rte_cryptodev_sym_session_set_private_data()
rte_cryptodev_sym_session_get_private_data()
It refers to data added at the end of the session hdr for
use by the application.
The session already contains sess_private_data[index]
which is used to store
The current mbuf scatter gather feature flag is
too ambiguous, as it is not clear if input and/or output
buffers can be scatter gather mbufs or not.
Therefore, three new flags will replace this flag:
- RTE_COMP_FF_OOP_SGL_IN_SGL_OUT
- RTE_COMP_FF_OOP_SGL_IN_FB_OUT
- RTE_COMP_FF_OOP_LB_IN_SGL_OUT
Renamed feature "Bypass" to "Pass-through",
as it is a more explicit name, meaning that the PMD
is capable of passing the mbufs through it,
without making any modifications (i.e.. NULL algorithm).
Signed-off-by: Pablo de Lara
Acked-by: Fiona Trahe
Acked-by: Shally Verma
---
v5:
- No change
v4
Added Huffman fixed and dynamic encoding feature flags,
so an application can query if a device supports
these two types, when performing DEFLATE compression.
Signed-off-by: Pablo de Lara
Acked-by: Fiona Trahe
---
v5-v3:
- No change
v2:
- Fixed typo
drivers/compress/isal/isal_compress_pmd_op
In PMD feature matrices (.ini files), it is not required to
have the list of features that are not supported,
just the ones that are.
Signed-off-by: Pablo de Lara
Acked-by: Lee Daly
---
v5:
- Removed "HW Accelerated" from isa-l feature list
v4:
- No change
doc/guides/compressdevs/features/is
This patchset adds a check to rte_metrics_update_values()
that prevents the updating of metrics when presented with
an invalid metric key. Previously, doing the latter could
result in a crash.
Fixes: 349950ddb9c5 ("metrics: add information metrics library")
Signed-off-by: Remy Horton
---
lib/li
Switch over all parts of EAL to use heap ID instead of NUMA node
ID to identify heaps. Heap ID for DPDK-internal heaps is NUMA
node's index within the detected NUMA node list.
Signed-off-by: Anatoly Burakov
---
config/common_base| 1 +
lib/librte_eal/common/eal_commo
Add ability to allocate memory for memzones from named heaps. The
semantics are kept similar to regular allocations, and as much of
the code as possible is shared.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/eal_common_memzone.c | 237 +++-
lib/librte_eal/common/inc
Add an API to destroy specified heap. Any memory regions still
contained within the heap will be removed first.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/include/rte_malloc.h | 21
lib/librte_eal/common/malloc_heap.c| 29 ++
lib/librte_
Add internal functions to look up heap by name, and enable
dumping statistics for a specified named heap.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/include/rte_malloc.h | 19 +++--
lib/librte_eal/common/malloc_heap.c| 31 ++
lib/librte_eal/commo
Add new malloc API to allocate memory from heap referenced to by
specified name.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/include/rte_malloc.h | 25 ++
lib/librte_eal/common/malloc_heap.c| 2 +-
lib/librte_eal/common/malloc_heap.h| 6 ++
Add an API to add externally allocated memory to malloc heap. The
memory will be stored in memseg lists like regular DPDK memory.
Multiple segments are allowed within a heap. If IOVA table is
not provided, IOVA addresses are filled in with RTE_BAD_IOVA.
Signed-off-by: Anatoly Burakov
---
lib/lib
Add API to allow creating new malloc heaps. They will be created
with indexes higher than heaps reserved for NUMA sockets, and up to
RTE_MAX_HEAPS.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/include/rte_malloc.h | 21 ++
lib/librte_eal/common/malloc_heap.c| 16 +
We will need to refer to external heaps in some way. While we use
heap ID's internally, for external API use it has to be something
more user-friendly. So, we will be using a string to uniquely
identify a heap.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/include/rte_malloc_heap.h |
When we allocate and use DPDK memory, we need to be able to
differentiate between DPDK hugepage segments and segments that
were made part of DPDK but are externally allocated. Add such
a property to memseg lists.
Signed-off-by: Anatoly Burakov
---
lib/librte_eal/common/eal_common_memory.c |
1 - 100 of 164 matches
Mail list logo