Thank you Changchun!
Tim
? 2015-06-08 09:56:43?"Ouyang, Changchun" ???
>
>> -Original Message-
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tim Deng
>> Sent: Sunday, June 7, 2015 4:02 PM
>> To: dev at dpdk.org
>> Subject: [dpdk-dev] Is vhost vring_avail size tunable?
>>
>>
> This patch adds statistics collection for librte_pipeline.
> Those statistics ale disabled by default during build time.
>
Acked-by: Cristian Dumitrescu
> Added statistics for every type of table. By default all table statistics
> are disabled, user must activate them in config file.
>
> Changes in v4:
> - created single config option for all table statistics
Acked-by: Cristian Dumitrescu
> Added statistics for every type of port. By default all port statistics
> are disabled, user must activate them in config file.
>
>
> Changes in v4:
> - created single config option for all port statistics
>
Acked-by: Cristian Dumitrescu
HI
Is there any many to one mapping schemes available for KNIC interface. Let's
say I have 5 kernel IP interfaces and I want to map all the five interfaces to
one KNIC (single KNIC), so we can transmit all the frames to KNIC from all the
five kernel IP interfaces and when we get the packet from
Sorry,
I apologize on behalf of my fingers. I meant combined library build is
broken when PMD_BOND is selected.
On 6/8/15 4:14 PM, Thomas F Herbert wrote:
> I just noticed that shared library build is broking. I am building
> current master. I had to make this change to get it to build:
>
> -CO
From: Maciej Gajdzica
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_pipe
From: Maciej Gajdzica
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..300
From: Maciej Gajdzica
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.
From: Maciej Gajdzica
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_
From: Maciej Gajdzica
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_has
From: Maciej Gajdzica
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_h
From: Maciej Gajdzica
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_h
From: Maciej Gajdzica
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_
From: Maciej Gajdzica
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_tabl
From: Maciej Gajdzica
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
From: Maciej Gajdzica
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
From: Maciej Gajdzica
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_L
From: Maciej Gajdzica
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_
From: Maciej Gajdzica
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_si
From: Maciej Gajdzica
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
From: Maciej Gajdzica
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_
From: Maciej Gajdzica
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
From: Maciej Gajdzica
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
From: Maciej Gajdzica
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_po
From: Maciej Gajdzica
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_r
From: Maciej Gajdzica
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_por
From: Maciej Gajdzica
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_e
From: Maciej Gajdzica
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.
From: Maciej Gajdzica
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/r
From: Maciej Gajdzica
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 +++
From: Maciej Gajdzica
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
In __rte_pktmbuf_prefree_seg(), there was an optimization to avoid using
a costly atomic operation when updating the mbuf reference counter if
its value is 1. Indeed, it means that we are the only owner of the mbuf,
and therefore nobody can change it at the same time.
We can generalize this optimi
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 args are scanned. Setting --log-level=7 now
correctly does not print the message
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_ixgbe_pmd and
rte_ixgbevf_pmd.
Changes in V4:
Release rx and tx queues in dev_uninit() functions.
Replace TRUE and FALSE with 1 and 0.
Changes in V3:
Rebased to use drivers/net/ixgbe directory.
C
On 6/8/15 11:38 AM, Xie, Huawei wrote:
> On 6/5/2015 5:04 PM, Loftus, Ciara wrote:
>>
>>> -Original Message-
>>> From: Xie, Huawei
>>> Sent: Friday, June 05, 2015 4:26 AM
>>> To: dev at dpdk.org
>>> Cc: Loftus, Ciara; Xie, Huawei; Sun, Peng A
>>> Subject: [PATCH v2] vhost: provide vhost A
2015-06-08 13:45, Tahhan, Maryam:
> > > Extend dump_cfg to also display statistcs information for given DPDK
> > > ports and rename the application to proc_info as it's now a utility
> > > doing a little more than just dumping the memory information for DPDK.
> > >
> > > Signed-off-by: Maryam Tahha
I just noticed that shared library build is broking. I am building
current master. I had to make this change to get it to build:
-CONFIG_RTE_LIBRTE_PMD_BOND=y
+CONFIG_RTE_LIBRTE_PMD_BOND=n
One of the recent bonding commits broke some dependencies I think but I
didn't investigate further.
test
Signed-off-by: Cristian Dumitrescu
---
doc/guides/guidelines/index.rst | 1 +
doc/guides/guidelines/statistics.rst | 42
2 files changed, 43 insertions(+)
create mode 100644 doc/guides/guidelines/statistics.rst
diff --git a/doc/guides/guidelines/index.
Great!
I will try it.
Regards,
--
Masafumi OE, NAOJ
-Original Message-
From: Masaru Oki [mailto:m-...@stratosphere.co.jp]
Sent: Monday, June 8, 2015 11:32 AM
To: Masafumi OE
Cc:
Subject: Re: [dpdk-dev] Intel X552/557 is not working.
Hi,
I made (unofficial, quick) patch. The code is
On 6/5/2015 5:04 PM, Loftus, Ciara wrote:
>
>> -Original Message-
>> From: Xie, Huawei
>> Sent: Friday, June 05, 2015 4:26 AM
>> To: dev at dpdk.org
>> Cc: Loftus, Ciara; Xie, Huawei; Sun, Peng A
>> Subject: [PATCH v2] vhost: provide vhost API to unregister vhost unix domain
>> socket
>>
>>
Reported-by: Jayakumar, Muthurajan
Signed-off-by: Cunming Liang
---
app/test/test_pmd_perf.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 1fd6843..6f218f7 100644
--- a/app/test/test_pmd_perf.c
+
On 6/8/15, 8:33 AM, "Wiles, Keith" wrote:
>
>
>On 6/8/15, 6:09 AM, "Richardson, Bruce"
>wrote:
>
>>On Sat, Jun 06, 2015 at 07:04:05PM -0500, 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
> > Extend dump_cfg to also display statistcs information for given DPDK
> > ports and rename the application to proc_info as it's now a utility
> > doing a little more than just dumping the memory information for DPDK.
> >
> > Signed-off-by: Maryam Tahhan
> > ---
> > app/Makefile | 2
On 6/8/15, 6:09 AM, "Richardson, Bruce" wrote:
>On Sat, Jun 06, 2015 at 07:04:05PM -0500, 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(
RTE_EAL_RX_INTR 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_c
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 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
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
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
---
v9 changes
- remove unnecessary check after rte_e
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
To make bsd compiling happy with new intr changes.
Signed-off-by: Cunming Liang
---
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/librte_eal/bsdapp/eal/eal_interrupts.c
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
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
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
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
The patch adds 'rte_intr_rx_ctl' to add or delete interrupt vector events
monitor on specified epoll instance.
Signed-off-by: Cunming Liang
---
v12 changes:
- fix awkward line split in using RTE_LOG
v10 changes:
- add RTE_INTR_HANDLE_UIO_INTX for uio_pci_generic
v8 changes
- fix EWOULDBLOC
The patch adds 'rte_epoll_wait' and 'rte_epoll_ctl' for async event wakeup.
It defines 'struct rte_epoll_event' as the event param.
The 'op' uses the same enum as epoll_wait/ctl does.
The epoll event support to carry a raw user data and to register a callback
which is executed during wakeup.
Sign
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.
When the event fds add to a spec
v12 changes
- bsd cleanup for unused variable warning
- fix awkward line split in debug message
v11 changes
- typo cleanup and check kernel style
v10 changes
- code rework to return actual error code
- bug fix for lsc when using uio_pci_generic
v9 changes
- code rework to fix open comment
> + stats->idrop = hw_stats->mngpdc +
> + hw_stats->fcoerpdc +
> + total_qbrc;
Should use qprdc instead of total_qbrc
On Sat, Jun 06, 2015 at 07:04:05PM -0500, 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 args are
On Fri, Jun 05, 2015 at 10:45:04PM +0200, Thomas Monjalon wrote:
> 2015-06-05 17:01, Bruce Richardson:
> > The macro to turn on additional debug output when the app was compiled
> > with "-DDEBUG" was missing a ";".
>
> It shows that such dead code is almost never tested.
> It would be saner if th
On Mon, Jun 08, 2015 at 10:13:30AM +0200, Olivier MATZ wrote:
> Hi Bruce,
>
> On 06/05/2015 01:05 PM, Bruce Richardson wrote:
> > On Fedora 22, the "ar" binary operates by default in deterministic mode,
> > making the "u" parameter irrelevant, and leading to warning messages
> > getting printed in
On Fri, Jun 05, 2015 at 10:20:09AM -0700, Navneet Rao wrote:
> Hi Bruce:
>
> Actually I want to use the TESTPMD app as a packet-generator/checker driving
> the KNI-enabled NICs.
> Is there an easy way to packet generate/check than testpmd?
>
> Please see attached.
>
> Thanks
> -Navneet
>
What p
Add several new test cases for ACL to cover different build configurations.
Signed-off-by: Konstantin Ananyev
---
app/test/test_acl.c | 431 +++-
1 file changed, 423 insertions(+), 8 deletions(-)
diff --git a/app/test/test_acl.c b/app/test/test_ac
Some test rules had equal priority for the same category.
That can cause an ambiguity in build trie and test results.
Specify different priority value for each rule from the same category.
Signed-off-by: Konstantin Ananyev
---
app/test/test_acl.h | 52 ++--
Signed-off-by: Konstantin Ananyev
---
lib/librte_acl/acl_bld.c | 310 ---
1 file changed, 310 deletions(-)
diff --git a/lib/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c
index 4d8a62f..e6f4530 100644
--- a/lib/librte_acl/acl_bld.c
+++ b/lib/librte_ac
Introduce new RTE_ACL_MASKLEN_TO_BITMASK macro, that will be used
in several places inside librte_acl and it's UT.
Simplify and cleanup build_trie() code a bit.
Signed-off-by: Konstantin Ananyev
---
lib/librte_acl/acl_bld.c | 16 +++-
lib/librte_acl/rte_acl.h | 3 +++
2 files change
When rebuilding a trie for limited rule-set,
don't try to split the rule-set even further.
Signed-off-by: Konstantin Ananyev
---
lib/librte_acl/acl_bld.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/lib/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c
inde
Move check for build confg parameter into a separate function.
Simplify acl_calc_wildness() function.
Signed-off-by: Konstantin Ananyev
---
lib/librte_acl/acl_bld.c | 107 ---
1 file changed, 54 insertions(+), 53 deletions(-)
diff --git a/lib/librte_a
use global RTE_LEN2MASK macro, instead of LEN2MASK.
Signed-off-by: Konstantin Ananyev
---
app/test-acl/main.c| 3 ++-
lib/librte_acl/acl_bld.c | 3 ++-
lib/librte_acl/rte_acl.c | 3 ++-
lib/librte_acl/rte_acl.h | 2 +-
lib/librte_acl/rte_acl_osdep.h | 2 --
5 files
Signed-off-by: Konstantin Ananyev
---
lib/librte_acl/acl_bld.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c
index 3801843..aee6ed5 100644
--- a/lib/librte_acl/acl_bld.c
+++ b/lib/librte_acl/acl_bld.c
@@ -1362,6 +136
Several fixes and code cleanups for the librte_acl.
New test-cases for acl UT.
Konstantin Ananyev (8):
acl: fix invalid rule wildness calculation for bitmask field type
acl: code cleanup - use global EAL macro, instead of creating a local
copy
acl: add function to check build input param
Hi,
I made (unofficial, quick) patch. The code is mostly pulled from FreeBSD.
My Ubuntu 14.04 on X10SDV-TLN4F is works fine.
http://www.e-neta.jp/~oki/dpdk-ixgbe.diff
2015-06-08 11:19 GMT+09:00 Masafumi OE :
> Hi,
>
> I'm trying to use X552/X557-AT 10GBASE-T NIC on Xeon-D 1540. However it did
> n
Hi,
I'm trying to use X552/X557-AT 10GBASE-T NIC on Xeon-D 1540. However it did
not work properly.
Binding X552/557to PMD for ixgbe is fine but testpmd is not working on
X552/557 because th_ixgbe_dev_init() return Hardware Initialization
Failure:-3.
Do you have any idea?
--
Supermicro X10SDV-TLN
Remove these unnecessary vring descriptor length updating, vhost should not
change them.
virtio in front end should assign value to desc.len for both rx and tx.
Signed-off-by: root
---
lib/librte_vhost/vhost_rxtx.c | 17 +
1 file changed, 1 insertion(+), 16 deletions(-)
diff --
Extract codes into 2 common functions:
update_secure_len which is used to accumulate the buffer len in the vring
descriptors.
and fill_buf_vec which is used to fill struct buf_vec.
Changes in v5
- merge fill_buf_vec into update_secure_len
- do both tasks in one-time loop
Signed-off-by: root
Remove unnecessary new line.
Signed-off-by: root
---
lib/librte_vhost/vhost_rxtx.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index b887e0b..1f145bf 100644
--- a/lib/librte_vhost/vhost_rxtx.c
+++ b/li
Vring enqueue need consider the 2 cases:
1. use separate descriptors to contain virtio header and actual data, e.g. the
first descriptor
is for virtio header, and then followed by descriptors for actual data.
2. virtio header and some data are put together in one descriptor, e.g. the
first
Fix enqueue/dequeue can't handle chained vring descriptors;
Remove unnecessary vring descriptor length updating;
Add support copying scattered mbuf to vring;
Changchun Ouyang (4):
lib_vhost: Fix enqueue/dequeue can't handle chained vring descriptors
lib_vhost: Refine code style
lib_vhost: Ex
The two flags are enabled by default. Sometimes we want to know the performance
influence of the encapsulation and decapsulation operations, and
I think we should add the two configuration options.
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c| 36
The number of packets with bad RX IP and L4 checksum in inner header is
recorded.
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c| 10 +-
examples/tep_termination/main.h|4
examples/tep_termination/vxlan_setup.c |8
3 files changed,
if the 'tso-segsz' is not 0, it means TSO offload is enabled.
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c| 17 +
examples/tep_termination/vxlan.c |8
examples/tep_termination/vxlan.h |1 +
examples/tep_termination/vxlan_se
For UDP tunneling packet, the inner Tx checksum offload means inner IPv4 and
inner L4(TCP/UDP/SCTP).
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c | 17
examples/tep_termination/vxlan.c | 82 ++
2 files changed, 99 insertions(+)
The following filter types are supported for VXLAN:
1> Inner MAC&VLAN and tenent ID
2> Inner MAC and tenent ID, and Outer MAC
3> Inner MAC and tenent ID
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c| 20 ++
examples/tep_termination/vxlan_setup.c | 63 +
The port number of UDP tunneling packet is configurable, which has 16 entries
in total for i40e.
Signed-off-by: Jijiang Liu
---
examples/tep_termination/main.c| 18 +-
examples/tep_termination/vxlan_setup.c | 13 -
2 files changed, 29 insertions(+), 2 del
To implement the following functions:
1> VXLAN port configuration
2> VXLAN tunnel setup
3> VXLAN tunnel destroying
4> VXLAN packet processing for Rx side
5> VXLAN packet processing for Tx side
Signed-off-by: Jijiang Liu
Signed-off-by: Thomas Long
---
examples/tep_termination/Makefile
We are trying to create a framework for tunneling packet processing, so some
common APIs are added here, which includes
1> tunnel port configuration
2> tunnel setup
3> tunnel destroying
4> tunneling packet processing for Rx side
5> tunneling packet processing for Tx side
6> tunnel parameter
Some basic VXLAN definations are added in this file, which includes VXLAN port
information and VXLAN device structures.
Signed-off-by: Jijiang Liu
Signed-off-by: Thomas Long
---
examples/tep_termination/main.c |1 +
examples/tep_termination/vxlan.h | 60
This sample uses the basic virtio devices management function from the vHost
example, which includes virtio device creation, destroying and maintenance.
Signed-off-by: Jijiang Liu
---
examples/Makefile |1 +
examples/tep_termination/Makefile | 55 ++
examples/tep_terminati
This VXLAN sample simulates a VXLAN Tunnel Endpoint (VTEP) termination in DPDK,
which is used to demonstrate the offload and filtering capabilities of i40 NIC
for VXLAN packet.
And this sample uses the basic virtio devices management function from vHost
example, and the US-vHost interface and t
On 29/05/15 20:23, Thomas Monjalon wrote:
> 2015-05-27 11:15, Marc Sune:
>> On 27/05/15 06:02, Thomas Monjalon wrote:
>>> Why not starting with lower values? Some new drivers may be interested
>>> by lower speed.
>> Ok, but which values? 1Mbps FD/HD? Even lower than that?
>>
>> If you have some N
Hi Bruce,
On 06/05/2015 01:05 PM, Bruce Richardson wrote:
> On Fedora 22, the "ar" binary operates by default in deterministic mode,
> making the "u" parameter irrelevant, and leading to warning messages
> getting printed in the build output like below.
>
> INSTALL-LIB librte_kvargs.a
> ar: `u'
Hi Helin,
On 06/02/2015 05:16 AM, Helin Zhang wrote:
> As i40e hardware can be reconfigured to support QinQ stripping and
> insertion, this patch set is to enable that together with using the
> reserved 16 bits in 'struct rte_mbuf' for the second vlan tag.
> Corresponding command is added in testp
-Original Message-
From: Tetsuya Mukawa [mailto:muk...@igel.co.jp]
Sent: Tuesday, March 17, 2015 3:43 AM
To: Iremonger, Bernard
Cc: John W. Linville; dev at dpdk.org
Subject: Re: [dpdk-dev] [RFC] af_packet: support port hotplug
On 2015/03/16 23:47, Iremonger, Bernard wrote:
>
>> -Orig
Acked-by: Helin Zhang
Thanks for the good example!
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jijiang Liu
> Sent: Monday, June 8, 2015 11:02 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 00/10] Add a VXLAN sample
>
> This VXLAN sample simul
Tested-by: Min Cao
- OS: Fedora20 3.11.10-301
- GCC: gcc version 4.8.2 20131212
- CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
- NIC: Ethernet controller: Intel Corporation Device 1572 (rev 01)
- Default x86_64-native-linuxapp-gcc configuration
- Total 2 cases, 2 passed, 0 failed
- Case: doubl
Thank you Steve.
Acked.
Thanks
M Jay
http://www.dpdk.org
-Original Message-
From: Liang, Cunming
Sent: Sunday, June 07, 2015 11:33 PM
To: dev at dpdk.org
Cc: Jayakumar, Muthurajan; Liang, Cunming
Subject: [PATCH v1] app/test: fix pmd_perf issue in no NUMA case
Reported-by: Jayakumar,
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Victor Detoni
> Sent: Monday, June 08, 2015 9:06 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] l2fwd consumes 100% cpu
>
> hello,
>
> I'm looking for some documentation about this issue, but I could found ye
1 - 100 of 104 matches
Mail list logo