The vhost device and queues should be allocated on the same numa node as vring
descriptor table.
When we firstly allocate the vhost device and queues, we don't know the numa
node of vring descriptor table.
When we receive the VHOST_SET_VRING_ADDR message, we get the numa node of vring
descriptor
use rte_malloc to allocate vhost device and queues
Signed-off-by: Huawei Xie
---
lib/librte_vhost/virtio-net.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 4672e67..19b74d6 100644
---
When we get the address of vring descriptor table in VHOST_SET_VRING_ADDR
message, will try to reallocate vhost device and queues to the same numa node.
v2 changes:
- fix uninitialised new_vq and new_ll_device
- fix missed endif in rte.app.mk
- fix new_ll_dev and new_vq allocation failure issue
-
vhost user could register multiple unix domain socket server, and use the path
to identify the virtio device connecting to it.
rte_vhost_driver_unregister will clean up the unix domain socket for the
specified path.
Huawei Xie (2):
vhost socket cleanup
update version map file for rte_vhost_d
rte_vhost_driver_unregister API will remove the listenfd for the specified path
from event processing list, and then close it.
v2 changes:
-minor code style fix: remove unnecessary new line
Signed-off-by: Huawei Xie
Signed-off-by: Peng Sun
---
lib/librte_vhost/rte_virtio_net.h| 3
update version map file for rte_vhost_driver_unregister API
v3 changes:
update version map file
Signed-off-by: Huawei Xie
---
lib/librte_vhost/rte_vhost_version.map | 8
1 file changed, 8 insertions(+)
diff --git a/lib/librte_vhost/rte_vhost_version.map
b/lib/librte_vhost/rte_vhost_v
Signed-off-by: Huawei Xie
---
lib/librte_mbuf/rte_mbuf_version.map | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_mbuf/rte_mbuf_version.map
b/lib/librte_mbuf/rte_mbuf_version.map
index 7ae2244..543dc4c 100644
--- a/lib/librte_mbuf/rte_mbuf_version.map
+++ b/
Hi Flavio,
> -Original Message-
> From: Flavio Leitner [mailto:fbl at sysclose.org]
> Sent: Thursday, June 18, 2015 9:17 PM
> To: Ouyang, Changchun
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in
> virtio dev
>
> On Mon, Jun 15, 2015 at
> -Original Message-
> From: Flavio Leitner [mailto:fbl at sysclose.org]
> Sent: Thursday, June 18, 2015 9:34 PM
> To: Ouyang, Changchun
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3 2/9] lib_vhost: Support multiple queues in
> virtio dev
>
> On Mon, Jun 15, 2015 at 03:56:39P
Fix doxygen warnings in vhost
Signed-off-by: Changchun Ouyang
---
lib/librte_vhost/rte_virtio_net.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/rte_virtio_net.h
b/lib/librte_vhost/rte_virtio_net.h
index 5d38185..420c05e 100644
--- a/lib
Hi Thomas
> -Original Message-
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Friday, June 19, 2015 5:47 AM
> To: Ouyang, Changchun
> Cc: dev at dpdk.org
> Subject: vhost doxygen
>
> Please Changchun,
> Could you check and complete the vhost API comments?
>
> It ca
Hi Scott,
DPDK PMD are interfacing using rte_ethdev.c which link to ixgbe_ethdev.c
there?s no ?net_device? in our code.
But if you search DPDk code based, we have KNI example to teach you how to
prepare the net_device structure.
Have you check out our DPDK KNI codes?
Regards,
Choi, Sy Jong
Pla
Acked-by: Helin Zhang
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Konstantin Ananyev
> Sent: Thursday, June 18, 2015 9:19 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCHv2 0/5] ethdev: add new API to retrieve RX/TX queue
> information
>
> Add the
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marc Sune
> Sent: Friday, June 19, 2015 12:35 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] kni: ignore double calls to rte_kni_init()
>
> Prevent double initialization of the KNI subsytem.
>
> v2
The patch adds 'rte_epoll_wait' and 'rte_epoll_ctl' for async event wakeup.
It defines 'struct rte_epoll_event' as the event param.
When the event fds add to a specified epoll instance, 'eptrs' will hold the
rte_epoll_event object pointer.
The 'op' uses the same enum as epoll_wait/ctl does.
The ep
v13 changes
- version map cleanup for v2.1
- replace RTE_EAL_RX_INTR by RTE_NEXT_ABI for ABI compatibility
Patch series v12
Acked-by: Stephen Hemminger
Acked-by: Danny Zhou
v12 changes
- bsd cleanup for unused variable warning
- fix awkward line split in debug message
v11 changes
- typo c
The patch adds 'rte_intr_rx_ctl' to add or delete interrupt vector events
monitor on specified epoll instance.
Signed-off-by: Cunming Liang
---
v13 changes
- version map cleanup for v2.1
v12 changes:
- fix awkward line split in using RTE_LOG
v10 changes:
- add RTE_INTR_HANDLE_UIO_INTX for u
Signed-off-by: Cunming Liang
---
lib/librte_eal/linuxapp/eal/eal_interrupts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_interrupts.c
b/lib/librte_eal/linuxapp/eal/eal_interrupts.c
index cfe389c..fe1210b 100644
--- a/lib/librte_eal/li
This patch does below:
- Create VFIO eventfds for each interrupt vector (move to next)
- Assign per interrupt vector's eventfd to VFIO by ioctl
Signed-off-by: Danny Zhou
Signed-off-by: Cunming Liang
---
v8 changes
- move eventfd creation out of the setup_interrupts to a standalone function
v
The patch adds interrupt vectors support in rte_intr_handle.
'vec_en' is set when interrupt vectors are detected and associated event fds
are set.
Those event fds are stored in efds[].
'intr_vec' is reserved for device driver to initialize the vector mapping table.
Signed-off-by: Danny Zhou
Sign
The patch exposes intr event fd create and release for PMD.
The device driver can assign the number of event associated with interrupt
vector.
It also provides misc functions to check 1) allows other slowpath intr(e.g.
lsc);
2) intr event on fastpath is enabled or not.
Signed-off-by: Cunming Lia
To make bsd compiling happy with new intr changes.
Signed-off-by: Cunming Liang
---
v13 changes
- version map cleanup for v2.1
v12 changes
- fix unused variables compiling warning
v8 changes
- add stub for new function
v7 changes
- remove stub 'linux only' function from source file
lib/
The patch does below things for ixgbe PF and VF:
- Setup NIC to generate MSI-X interrupts
- Set the IVAR register to map interrupt causes to vectors
- Implement interrupt enable/disable functions
Signed-off-by: Danny Zhou
Signed-off-by: Yong Liu
Signed-off-by: Cunming Liang
---
v10 changes
- r
Demonstrate how to handle per rx queue interrupt in a NAPI-like
implementation in usersapce. PDK polling thread mainly works in
polling mode and switch to interrupt mode only if there is no
any packet received in recent polls.
Usersapce interrupt notification generally takes a lot more cycles
than
The new UIO generic handle type was introduced by patch.
http://dpdk.org/ml/archives/dev/2015-April/017008.html
When using uio_pci_generic and turning on lsc interrupt, it complains fd read
error.
The root cause is the 'count' size of read is not correct.
Reported-by: Yong Liu
Signed-off-by: Cun
Signed-off-by: Cunming Liang
---
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h
b/lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h
index
RTE_NEXT_ABI will be removed from v2.2. It's only used to avoid
ABI(unannounced) broken in v2.1.
The usrs should make sure understand the impact before turning on the feature.
There are two abi changes required in this interrupt patch set.
They're 1) struct rte_intr_handle; 2) struct rte_intr_conf
The patch adds two dev_ops functions to enable and disable rx queue interrupts.
In addtion, it adds rte_eth_dev_rx_intr_ctl/rx_intr_q to support per port or
per queue rx intr event set.
Signed-off-by: Danny Zhou
Signed-off-by: Cunming Liang
---
v13 changes
- version map cleanup for v2.1
v9 ch
The patch does below for igb PF:
- Setup NIC to generate MSI-X interrupts
- Set the IVAR register to map interrupt causes to vectors
- Implement interrupt enable/disable functions
Signed-off-by: Danny Zhou
Signed-off-by: Cunming Liang
---
v9 changes
- move queue-vec mapping init from dev_config
Thanks Bruce. In application compilation command, after adding the
"--no-as-needed" flag and some additional flags including
"-Wl,-lrte_pmd_bond -Wl,-lrte_pmd_vmxnet3_uio -Wl,-lrte_pmd_virtio_uio
-Wl,-lrte_pmd_enic -Wl,-lrte_pmd_i40e -Wl,-lrte_pmd_fm10k
-Wl,-lrte_pmd_ixgbe -Wl,-lrte_pmd_e1000 -Wl,
The flexbytes offset can not be set, because the value is over written
when fdir is enabled.
This patch fixes this issue, and also removes some reduplicate lines.
Reported-by: David Marchand
Signed-off-by: Jingjing Wu
---
drivers/net/ixgbe/ixgbe_fdir.c | 24
1 file chan
On 6/19/2015 12:29 AM, Iremonger, Bernard wrote:
>> -Original Message-
>> From: Qiu, Michael
>> Sent: Wednesday, June 17, 2015 8:59 AM
>> To: dev at dpdk.org
>> Cc: Chen, Jing D; Iremonger, Bernard; He, Shaopeng; Qiu, Michael
>> Subject: [PATCH 1/2 v2] fm10k: Free queues when close port
>>
On 6/19/2015 12:42 AM, Iremonger, Bernard wrote:
>> -Original Message-
>> From: Qiu, Michael
>> Sent: Wednesday, June 17, 2015 9:45 AM
>> To: dev at dpdk.org
>> Cc: Chen, Jing D; Iremonger, Bernard; He, Shaopeng; Qiu, Michael
>> Subject: [PATCH 2/2 v2] fm10k: Add hotplug support for fm10k
>
In order to unify the packet type, the field of 'packet_type' in
'struct rte_mbuf' needs to be extended from 16 to 32 bits.
Accordingly, some fields in 'struct rte_mbuf' are re-organized to
support this change for Vector PMD. As 'struct rte_kni_mbuf' for
KNI should be right mapped to 'struct rte_mb
To unify the packet type, bit masks of packet type for ol_flags are
replaced. In addition, more packet types (UDP, TCP and SCTP) are
supported in vectorized ixgbe PMD.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Note that arou
As there are only 6 bit flags in ol_flags for indicating packet
types, which is not enough to describe all the possible packet
types hardware can recognize. For example, i40e hardware can
recognize more than 150 packet types. Unified packet type is
composed of L2 type, L3 type, L4 type, tunnel type
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/e1000/igb_rxtx.c | 10
To unify packet type among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Note that around 2.5% performance drop (64B) was observed of doing
4
Currently only 6 bits which are stored in ol_flags are used to indicate
the packet types. This is not enough, as some NIC hardware can recognize
quite a lot of packet types, e.g i40e hardware can recognize more than 150
packet types. Hiding those packet types hides hardware offload capabilities
whi
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/enic/enic_main.c | 26
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 52
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/vmxnet3/vmxnet3_rxtx.
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
drivers/net/fm10k/fm10k_rxtx.c |
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
app/test-pipeline/pipeline_hash.c
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
Signed-off-by: Jijiang Liu
---
app/t
Severl useless code lines are added accidently, which blocks packet
type unification. They should be deleted at all.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
app/test/packet_burst_generator
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/ip_fragmentation/main.c
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/ip_reassembly/main.c | 9
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd-acl/main.c | 29 ++
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd-power/main.c | 8 +
To unify packet types among all PMDs, bit masks of packet type for
'ol_flags' are replaced by unified packet type.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
examples/l3fwd/main.c | 123 +
As unified packet types are used instead, those old bit masks and
the relevant macros for packet type indication need to be removed.
To avoid breaking ABI compatibility, all the changes would be
enabled by RTE_NEXT_ABI, which is disabled by default.
Signed-off-by: Helin Zhang
---
lib/librte_mbuf
This is virtual PMD which communicates with COMBO-80G and COMBO-100G
cards through sze2 layer. Communication with COMBO card is managed
through interface provided by libsze2 library and kernel modules
(combov3, szedata2_cv3).
To compile and use PMD, it is necessary to have libsze2 library installe
Added virtual PMD which communicates with COMBO cards through sze2
layer using libsze2 library.
Signed-off-by: Matej Vido
---
config/common_bsdapp |5 +
config/common_linuxapp|5 +
drivers/net/Makefile
Signed-off-by: Matej Vido
---
doc/guides/nics/index.rst| 1 +
doc/guides/nics/szedata2.rst | 105 +++
doc/guides/prog_guide/source_org.rst | 1 +
3 files changed, 107 insertions(+)
create mode 100644 doc/guides/nics/szedata2.rst
diff --git
The fm10k driver changes include below features:
- Checksum offload
- Promiscuous Mode
- MAC filter add/delete
- VLAN stripping/insert
- Vlan filter add/delete
- A series of bug fixing
The following changes since commit 043ef28b391644229d9c4a671defb2304fefee69:
acl: add new test cases (20
Hotplug feature is supported in EAL, this patch set is to enable
this feature in driver side.
change log:
v3-->v2:
reset queue numbers to zero.
v2 --> v1:
remove __rte_unused flag
Michael Qiu (2):
fm10k: Free queues when close port
fm10k: Add hotplug support fo
When close a port, lots of memory should be released,
such as software rings, queues, etc.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 39 +++
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c
Add hotplug support for fm10k.
Signed-off-by: Michael Qiu
---
drivers/net/fm10k/fm10k_ethdev.c | 97 +++-
1 file changed, 96 insertions(+), 1 deletion(-)
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 6a14633..38d1eb7 1
Sorry this is version 3,
Thanks
Michael
On 6/19/2015 4:32 PM, Qiu, Michael wrote:
> Add hotplug support for fm10k.
>
> Signed-off-by: Michael Qiu
> ---
> drivers/net/fm10k/fm10k_ethdev.c | 97
> +++-
> 1 file changed, 96 insertions(+), 1 deletion(-)
>
> diff
Added statistics for every type of port. By default all port statistics
are disabled, user must activate them in config file.
Changes in v2:
- added missing signoffs
Changes in v3:
- removed new config options to enable/disable stats
- using RTE_LOG_LEVEL instead
Changes
Hello Keith,
On Mon, Jun 8, 2015 at 11:55 PM, Keith Wiles wrote:
> The RTE_LOG(DEBUG, ...) messages in rte_eal_cpu_init() are printed
> even when the log level on the command line was set to INFO or lower.
>
> The problem is the rte_eal_cpu_init() routine was called before
> the command line arg
Added common data structures for port statistics. Added config option to
enable stats collecting.
Signed-off-by: Maciej Gajdzica
---
config/common_bsdapp |1 +
config/common_linuxapp |1 +
lib/librte_port/rte_port.h | 60
3 files c
Added statistics for ethdev reader port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ethdev.c | 37 -
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/lib/librte_port/rte_port_ethdev.c
b/lib/librte_port/rte_port_ethdev.c
index 3
Added statistics for ethdev writer port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ethdev.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/lib/librte_port/rte_port_ethdev.c
b/lib/librte_port/rte_port_ethdev.c
index da1af08..b5b39f8
Added statistics for ethdev writer nodrop port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ethdev.c | 36
1 file changed, 36 insertions(+)
diff --git a/lib/librte_port/rte_port_ethdev.c
b/lib/librte_port/rte_port_ethdev.c
index b5b39f8..c
On Thu, Jun 18, 2015 at 11:43:49PM +0200, Thomas Monjalon wrote:
> Signed-off-by: Thomas Monjalon
> ---
> .../common/include/generic/rte_cpuflags.h | 2 +-
> lib/librte_eal/common/include/rte_common.h | 6 ++---
> lib/librte_eal/common/include/rte_debug.h | 6 ++---
>
Added statistics for IPv4 and IPv6 fragmentation ports.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_frag.c | 36
1 file changed, 36 insertions(+)
diff --git a/lib/librte_port/rte_port_frag.c b/lib/librte_port/rte_port_frag.c
index c4c05dc..
Added statistics for IPv4 and IPv6 reassembly ports.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ras.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/lib/librte_port/rte_port_ras.c b/lib/librte_port/rte_port_ras.c
index 5eb627a..2c18
Added statistics for ring reader port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ring.c | 39 ++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/lib/librte_port/rte_port_ring.c b/lib/librte_port/rte_port_ring.c
index 89b9641.
Added statistics for port writer port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ring.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/lib/librte_port/rte_port_ring.c b/lib/librte_port/rte_port_ring.c
index 091b052..ff58009 100644
2015-06-19 10:20, Ouyang Changchun:
> Fix doxygen warnings in vhost
>
> Signed-off-by: Changchun Ouyang
Applied, thanks
> > Signed-off-by: Thomas Monjalon
>
> Acked-by: Bruce Richardson
Applied
On Thu, Jun 18, 2015 at 08:57:45PM -0400, Yeddula, Avinash wrote:
> Hello Dpdk-team,
>
> I have few very basic questions. In the DPDK timer sample application, the
> periodic timer0's callback function is not called unless "rte_timer_manage()"
> is called. I understand rte_timer_manage() functi
On Thu, Jun 18, 2015 at 09:31:02PM -0700, Matthew Hall wrote:
> On Thu, Jun 18, 2015 at 08:37:46PM -0700, Matthew Hall wrote:
> > dpdk/lib/librte_mbuf/rte_mbuf.h:68:20: error: poisoning existing macro
> > [-Werror]
>
> Hi all,
>
> I finally figured out what happened. My older DPDK build configur
Added statistics for sched reader port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_sched.c | 39 +-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c
index 2107f
Added statistics for ring writer nodrop port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_ring.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/lib/librte_port/rte_port_ring.c b/lib/librte_port/rte_port_ring.c
index ff58009..9461c05 1
Added statistics for sched writer port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_sched.c | 57 ++
1 file changed, 52 insertions(+), 5 deletions(-)
diff --git a/lib/librte_port/rte_port_sched.c b/lib/librte_port/rte_port_sched.c
index a82e
Added statistics for source port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_source_sink.c | 35
1 file changed, 35 insertions(+)
diff --git a/lib/librte_port/rte_port_source_sink.c
b/lib/librte_port/rte_port_source_sink.c
index b9a25bb..234a
Added statistics for sink port.
Signed-off-by: Maciej Gajdzica
---
lib/librte_port/rte_port_source_sink.c | 63 ++--
1 file changed, 59 insertions(+), 4 deletions(-)
diff --git a/lib/librte_port/rte_port_source_sink.c
b/lib/librte_port/rte_port_source_sink.c
index
On Thu, Jun 18, 2015 at 04:55:45PM +, O'Driscoll, Tim wrote:
> > -Original Message-
> > From: announce [mailto:announce-bounces at dpdk.org] On Behalf Of Thomas
> > Monjalon
> > Sent: Wednesday, June 17, 2015 12:30 AM
> > To: announce at dpdk.org
> > Subject: [dpdk-announce] important d
Added statistics for every type of table. By default all table statistics
are disabled, user must activate them in config file.
Changes in v2:
- added missing signoffs
Changes in v3:
- removed new config options to enable/disable stats
- using RTE_LOG_LEVEL instead
Change
Added common structure for table statistics. Added config option to
enable table stats collecting.
Signed-off-by: Maciej Gajdzica
---
config/common_bsdapp |1 +
config/common_linuxapp |1 +
lib/librte_table/rte_table.h | 25 +
3 files changed, 27 i
Added statistics for ACL table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_acl.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c
index 4416311..f02de3e 100644
--- a/l
Added statistics for hash ext table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_hash_ext.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/lib/librte_table/rte_table_hash_ext.c
b/lib/librte_table/rte_table_hash_ext.c
index 66e416b..3c1
Added statistics for array table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_array.c | 34 +-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_array.c
b/lib/librte_table/rte_table_array.c
index c031070.
Added statistics for hash key16 table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_hash_key16.c | 41 +++
1 file changed, 41 insertions(+)
diff --git a/lib/librte_table/rte_table_hash_key16.c
b/lib/librte_table/rte_table_hash_key16.c
index f87ea0
Added statistics for hash key32 table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_hash_key32.c | 41 +++
1 file changed, 41 insertions(+)
diff --git a/lib/librte_table/rte_table_hash_key32.c
b/lib/librte_table/rte_table_hash_key32.c
index 679059
Added statistics for hash key8 table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_hash_key8.c | 52
1 file changed, 52 insertions(+)
diff --git a/lib/librte_table/rte_table_hash_key8.c
b/lib/librte_table/rte_table_hash_key8.c
index 6803eb2..
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Friday, June 19, 2015 11:12 AM
> To: Richardson, Bruce
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] doc: fix doxygen warnings
>
> > > Signed-off-by: Thomas Monjalon
> >
> > Ac
Added statistics for hash_lru table.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_hash_lru.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/lib/librte_table/rte_table_hash_lru.c
b/lib/librte_table/rte_table_hash_lru.c
index c9a8afd..c4b
Added lpm ipv6 table statistics.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_lpm_ipv6.c | 34 +
1 file changed, 34 insertions(+)
diff --git a/lib/librte_table/rte_table_lpm_ipv6.c
b/lib/librte_table/rte_table_lpm_ipv6.c
index ce4ddc0..ce7fa02
Added lpm table statistics.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_lpm.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/lib/librte_table/rte_table_lpm.c b/lib/librte_table/rte_table_lpm.c
index 64c684d..300e680 100644
--- a/lib/li
Added stub table statistics.
Signed-off-by: Maciej Gajdzica
---
lib/librte_table/rte_table_stub.c | 56 -
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_stub.c
b/lib/librte_table/rte_table_stub.c
index 876b7e4..c106
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Richardson, Bruce
> Sent: Wednesday, June 17, 2015 12:07 PM
> To: Neil Horman; Thomas Monjalon
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [dpdk-announce] important design choices -
> statistics - ABI
> Hi Ne
This series of patches adds methods that use hardware memory transactions (HTM)
on fast-path for DPDK locks (a.k.a. lock elision). Here the methods are
implemented for x86 using Restricted Transactional Memory instructions (Intel(r)
Transactional Synchronization Extensions). The implementation fall
This patch adds methods that use hardware memory transactions (HTM) on fast-path
for spinlocks (a.k.a. lock elision). Here the methods are implemented for x86
using Restricted Transactional Memory instructions (Intel(r) Transactional
Synchronization Extensions). The implementation fall-backs to the
This patch adds methods that use hardware memory transactions (HTM) on
fast-path for rwlock (a.k.a. lock elision). Here the methods are implemented
for x86 using Restricted Transactional Memory instructions (Intel(r)
Transactional Synchronization Extensions). The implementation fall-backs to
the no
This patch adds a new auto-test for testing the scaling
of concurrent inserts into rte_hash when protected by
the normal spinlock vs. the spinlock with HTM lock
elision. The test also benchmarks single-threaded
access without any locks.
Signed-off-by: Roman Dementiev
Acked-by: Bruce Richardson
-
This patch adds statistics collection for librte_pipeline.
Those statistics ale disabled by default during build time.
Signed-off-by: Pawel Wodkowski
---
config/common_bsdapp |1 +
config/common_linuxapp |1 +
lib/librte_pipeline/rte_pipeline.c | 185 ++
1 - 100 of 200 matches
Mail list logo