[dpdk-dev] ksoftirqd when using KNI

2015-09-18 Thread Moon-Sang Lee
I'm a newbie and testing DPDK KNI with 1G intel NIC. According to my understanding of DPDK documents, KNI should not raise interrupts when sending/receiving packets. But when I transmit bunch of packets to my KNI ports, 'top command' shows ksoftirqd with 50% CPU load. Would you give me some

[dpdk-dev] ixgbe vPMD question

2015-09-18 Thread Bruce Richardson
On Thu, Sep 17, 2015 at 09:28:31PM +0100, Zoltan Kiss wrote: > Hi, > > The recv function does a prefetch on cacheline1, however it seems to me that > rx_pkts[pos] should be uninitialized pointer at that time: > > http://dpdk.org/browse/dpdk/tree/drivers/net/ixgbe/ixgbe_rxtx_vec.c#n287 > > So I

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK modules for linux, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html headers will be installed in: $(DESTDIR)/lib/modules Signed-off-by: Mario Carrillo ---

[dpdk-dev] [PATCH 6/7] mk: Add hierarchy-file support (lib)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK libs, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html for this case, if the architecture is 64 bits libs will be instaled in: $(DESTDIR)/usr/lib64 else it will

[dpdk-dev] [PATCH 5/7] mk: Add hierarchy-file support (include)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK headers, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html headers will be installed in: $(DESTDIR)/usr/include Signed-off-by: Mario Carrillo ---

[dpdk-dev] [PATCH 4/7] mk: Add hierarchy-file support (app)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK app files, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html app files will be installed in: $(DESTDIR)/usr/bin Signed-off-by: Mario Carrillo ---

[dpdk-dev] [PATCH 3/7] mk: Add hierarchy-file support (doc)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK documentation, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html and dpdk spec file documentation will be installed in: $(DESTDIR)/usr/share/doc/dpdk

[dpdk-dev] [PATCH 2/7] mk: Add hierarchy-file support (sbin)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK bind scripts, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html and dpdk spec file bind scripts will be installed in: $(DESTDIR)/usr/sbin/dpdk_nic_bind

[dpdk-dev] [PATCH 1/7] mk: Add hierarchy-file support

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK scripts, tools, examples, makefiles and config files when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html and dpdk spec file. scripts, tools, examples, makefiles

[dpdk-dev] [PATCH 0/7] Add hierarchical support to make install

2015-09-18 Thread Mario Carrillo
DPDK package lacks of a mechanism to install libraries, headers applications and kernel modules to a file system tree. This patch set allows to install files according to the next proposal: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html By adding a parameter H=1

[dpdk-dev] IXGBE error statistics

2015-09-18 Thread Igor Ryzhov
Hello, Harry. Thank you, I'll wait for result of mspdc testing. About rte_eth_stats - I found that not generic fields of the structure are all deprecated already. I will research xstats API, thank you. Best regards, Igor > 18 . 2015 ?., ? 11:04, Van Haaren, Harry > ???(?): > >>

[dpdk-dev] Reg: NIC82599 is not recovering once it stalls.

2015-09-18 Thread bharath paulraj
Hi Folks, While doing some implementation with dpdk-1.7.0 on NIC 82599, I am facing an issue. If i am sending the packets to the NIC at the line rate and the application which i developed using DPDK is not processing the packets that much faster, then the NIC starts to drop packets (of course,

[dpdk-dev] libdpdk upstream changes for ecosystem best practices

2015-09-18 Thread Robie Basak
Hi Thomas, On Wed, Sep 02, 2015 at 04:18:33PM +0200, Thomas Monjalon wrote: > > First, it would be easier for us to ship a single binary package that > > ships a single shared library to cover all of DPDK that library > > consumers might need, rather than having it split up as you do. I > >

[dpdk-dev] rte_eth_rx_queue_count accuracy

2015-09-18 Thread Alejandro Lucero
I have seen the API definition says nothing about accuracy but some PMD implementations sacrifice accuracy for the sake of performance. If I'm not understanding the code wrongly i40e and ixgbe check DD bit just for the first descriptor in a group of 4, and they take all of them as used if the

[dpdk-dev] [PATCH] lib: rte_*_create gives NULL/EEXIST on duped name

2015-09-18 Thread Yoni Fogel
Also fixed a bug in many of them where if the rte_malloc of the TAILQ fails, then we return a pointer to some arbitrary existing struct. --- lib/librte_acl/rte_acl.c | 53 +-- lib/librte_hash/rte_cuckoo_hash.c | 6 +++-- lib/librte_hash/rte_fbk_hash.c

[dpdk-dev] [PATCH v2 5/5] doc: update 2.2 release notes

2015-09-18 Thread Matej Vido
Add szedata2 PMD to 2.2 release notes. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 682f468..c78f94d 100644

[dpdk-dev] [PATCH v2 4/5] doc: add documentation for szedata2 PMD

2015-09-18 Thread Matej Vido
Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- 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

[dpdk-dev] [PATCH v2 3/5] szedata2: add handling of scattered packets in TX

2015-09-18 Thread Matej Vido
TX function modified to handle chained mbufs. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- drivers/net/szedata2/rte_eth_szedata2.c | 108 +++- 1 file changed, 91 insertions(+), 17 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c

[dpdk-dev] [PATCH v2 2/5] szedata2: add handling of scattered packets in RX

2015-09-18 Thread Matej Vido
Add new RX function for handling scattered packets. Signed-off-by: Matej Vido Reviewed-by: Jan Viktorin --- drivers/net/szedata2/rte_eth_szedata2.c | 356 +++- 1 file changed, 354 insertions(+), 2 deletions(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c

[dpdk-dev] [PATCH v2 1/5] szedata2: add new poll mode driver

2015-09-18 Thread Matej Vido
Add virtual PMD which communicates with COMBO cards through sze2 layer using libsze2 library. Since link_speed is uint16_t, there can not be used number for 100G speed, therefore link_speed is set to ETH_LINK_SPEED_10G until the type of link_speed is solved. v2: Code cleanup. Fix error handling

[dpdk-dev] [PATCH v2 0/5] Virtual PMD using sze2 layer for COMBO cards

2015-09-18 Thread Matej Vido
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

[dpdk-dev] IXGBE error statistics

2015-09-18 Thread Van Haaren, Harry
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Igor Ryzhov > Hello everyone. Hi Igor, > Investigating IXGBE driver I found an mspdc counter (MAC Short Packet > Discard). And I am wondering why this counter is not used in the calculation > of total RX errors (ierrors field in

[dpdk-dev] vhost-net stops sending to virito pmd -- already fixed?

2015-09-18 Thread Xie, Huawei
On 9/14/2015 5:44 AM, Thomas Monjalon wrote: > Hi, > > 2015-09-11 12:32, Kyle Larose: >> Looking through the version tree for virtio_rxtx.c, I saw the following >> commit: >> >> http://dpdk.org/browse/dpdk/commit/lib/librte_pmd_virtio?id=8c09c20fb4cde76e53d87bd50acf2b441ecf6eb8 >> >> Does anybody

[dpdk-dev] vhost-net stops sending to virito pmd -- already fixed?

2015-09-18 Thread Xie, Huawei
On 9/17/2015 1:25 AM, Kyle Larose wrote: > Hi Huawei, > >> Kyle: >> Could you tell us how did you produce this issue, very small pool size >> or you are using pipeline model? > If I understand correctly, by pipeline model you mean a model whereby > multiple threads handle a given packet, with some

[dpdk-dev] IXGBE error statistics

2015-09-18 Thread Igor Ryzhov
Hello everyone. Investigating IXGBE driver I found an mspdc counter (MAC Short Packet Discard). And I am wondering why this counter is not used in the calculation of total RX errors (ierrors field in rte_eth_stats structure). Is it already a part of another counter, for example, rlec (Receive

[dpdk-dev] [RFC PATCH] virtio: virtio ring layout optimization and vectorization rx

2015-09-18 Thread Huawei Xie
This single patch is for people to get familiar with the optimization and is for collecting feedbacks. It isn't splitted because it is straightforward. Haven't finished the cleanups. The description and illustration of the idea is in a previous mail titled "virtio optimization idea". ---