[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Santosh Shukla
On Tue, Dec 29, 2015 at 7:34 PM, Alex Williamson wrote: > On Tue, 2015-12-29 at 16:17 +0530, Santosh Shukla wrote: >> On Tue, Dec 29, 2015 at 3:26 PM, Burakov, Anatoly >> wrote: >> > Hi Santosh, >> > >> > > On Fri, Dec 18, 2015 at 6:25 PM, Santosh Shukla > > > om> >> > > wrote: >> > > > On Fri,

[dpdk-dev] [PATCH v4 3/3] examples/l3fwd: Handle SIGINT and SIGTERM in l3fwd

2015-12-29 Thread Zhihong Wang
Handle SIGINT and SIGTERM in l3fwd. Signed-off-by: Zhihong Wang Acked-by: Michael Qiu --- examples/l3fwd/main.c | 167 +++--- 1 file changed, 145 insertions(+), 22 deletions(-) diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index

[dpdk-dev] [PATCH v4 2/3] examples/l2fwd: Handle SIGINT and SIGTERM in l2fwd

2015-12-29 Thread Zhihong Wang
Handle SIGINT and SIGTERM in l2fwd. Signed-off-by: Zhihong Wang Acked-by: Michael Qiu --- examples/l2fwd/main.c | 161 +++--- 1 file changed, 139 insertions(+), 22 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index

[dpdk-dev] [PATCH v4 1/3] app/test-pmd: Handle SIGINT and SIGTERM in testpmd

2015-12-29 Thread Zhihong Wang
Handle SIGINT and SIGTERM in testpmd. Signed-off-by: Zhihong Wang Acked-by: Michael Qiu --- app/test-pmd/cmdline.c | 20 +--- app/test-pmd/testpmd.c | 39 +-- app/test-pmd/testpmd.h | 1 + 3 files changed, 47 insertions(+), 13 deletions(-)

[dpdk-dev] [PATCH v4 0/3] Handle SIGINT and SIGTERM in DPDK examples

2015-12-29 Thread Zhihong Wang
This patch handles SIGINT and SIGTERM in testpmd, l2fwd, and l3fwd, make sure all ports are properly stopped and closed. For virtual ports, the stop and close function may deal with resource cleanup, such as socket files unlinking. -- Changes in v4: 1. Add port status control in

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Santosh Shukla
On Tue, Dec 29, 2015 at 4:36 PM, Burakov, Anatoly wrote: > Hi Santosh, > >> Look at kernel/resource.c, it exports two symbol ioport_resource and >> iomem_resource and sets appropriate flag type i.e.. IORESOURCE_IO and >> IORESOURCE_MEM. In virtio-net case; it creates both pci region i.e.. >> _io

[dpdk-dev] bnx2x pmd performance expectations

2015-12-29 Thread Harish Patil
> >Thank you for pointing this out. While it seems to me problem here is RX, >I >will also look into TX burst limitations. > >-a > >On 28 December 2015 at 00:17, Chas Williams <3chas3 at gmail.com> wrote: > >> I wouldn't consider myself an expert on this driver but while looking >> at some other

[dpdk-dev] Packet Classification Library

2015-12-29 Thread Jason Terry
Hi, I was wondering if there is any info regarding the optimization strategy for the Packet Classification Library. Any info would be appreciated. I'm curious to know if there are rules of thumb to optimize the configuration. Regards, Jason

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Santosh Shukla
On Tue, Dec 29, 2015 at 3:26 PM, Burakov, Anatoly wrote: > Hi Santosh, > >> On Fri, Dec 18, 2015 at 6:25 PM, Santosh Shukla >> wrote: >> > On Fri, Dec 18, 2015 at 1:51 PM, Yuanhan Liu >> > wrote: >> >> On Fri, Dec 18, 2015 at 01:24:41PM +0530, Santosh Shukla wrote: >> >>> >> I guess we have

[dpdk-dev] [PATCH 4/4] vmxnet3: announce device offload capability

2015-12-29 Thread Yong Wang
Signed-off-by: Yong Wang --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index c363bf6..8a40127 100644 ---

[dpdk-dev] [PATCH 3/4] vmxnet3: add TSO support

2015-12-29 Thread Yong Wang
This commit adds vmxnet3 TSO support. Verified with test-pmd (set fwd csum) that both tso and non-tso pkts can be successfully transmitted and all segmentes for a tso pkt are correct on the receiver side. Signed-off-by: Yong Wang --- doc/guides/rel_notes/release_2_3.rst | 3 +

[dpdk-dev] [PATCH 2/4] vmxnet3: add tx l4 cksum offload

2015-12-29 Thread Yong Wang
Support TCP/UDP checksum offload. Signed-off-by: Yong Wang --- doc/guides/rel_notes/release_2_3.rst | 3 +++ drivers/net/vmxnet3/vmxnet3_rxtx.c | 35 --- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/doc/guides/rel_notes/release_2_3.rst

[dpdk-dev] [PATCH 1/4] vmxnet3: restore tx data ring support

2015-12-29 Thread Yong Wang
Tx data ring support was removed in a previous change to add multi-seg transmit. This change adds it back. Fixes: 7ba5de417e3c ("vmxnet3: support multi-segment transmit") Signed-off-by: Yong Wang --- doc/guides/rel_notes/release_2_3.rst | 5 + drivers/net/vmxnet3/vmxnet3_rxtx.c | 17

[dpdk-dev] [PATCH 0/4] vmxnet3 TSO and tx cksum offload

2015-12-29 Thread Yong Wang
This patchset adds TCP/UDP checksum offload and TSO to vmxnet3 PMD. It also restores the tx data ring feature that was removed from a previous patch and fixes offload capability announcement. Yong Wang (4): vmxnet3: restore tx data ring support vmxnet3: add tx l4 cksum offload vmxnet3: add

[dpdk-dev] [PATCH v3 3/3] examples/l3fwd: Handle SIGINT and SIGTERM in l3fwd

2015-12-29 Thread Ananyev, Konstantin
> -Original Message- > From: Wang, Zhihong > Sent: Tuesday, December 29, 2015 1:21 AM > To: dev at dpdk.org > Cc: Ananyev, Konstantin; stephen at networkplumber.org; Qiu, Michael; Wang, > Zhihong > Subject: [PATCH v3 3/3] examples/l3fwd: Handle SIGINT and SIGTERM in l3fwd > > Handle

[dpdk-dev] Is there an interrupt mode PMD for virtio

2015-12-29 Thread HePeng
Hi, I am asking if there is an interrupt mode PMD for virtio driver. I check with l3fwd-power code, it is based on VFIO driver. However, it seems that current virtio driver does not support VFIO. Thanks. HePeng

[dpdk-dev] Is there an interrupt mode PMD for virtio

2015-12-29 Thread HePeng
Hi, I am asking if there is an interrupt mode PMD for virtio driver. I check with l3fwd-power code, it is based on VFIO driver. However, it seems that current virtio driver does not support VFIO. Thanks. HePeng

[dpdk-dev] [PATCH 6/6] virtio: add virtio v1.0 support

2015-12-29 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yuanhan Liu > Sent: Thursday, December 10, 2015 11:54 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 6/6] virtio: add virtio v1.0 support > ... > Signed-off-by: Yuanhan Liu > --- >

[dpdk-dev] [PATCH 2/6] virtio: introduce struct virtio_pci_ops

2015-12-29 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yuanhan Liu > Sent: Thursday, December 10, 2015 11:54 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/6] virtio: introduce struct virtio_pci_ops > > Introduce struct virtio_pci_ops, to let legacy

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Santosh Shukla
On Fri, Dec 18, 2015 at 6:25 PM, Santosh Shukla wrote: > On Fri, Dec 18, 2015 at 1:51 PM, Yuanhan Liu > wrote: >> On Fri, Dec 18, 2015 at 01:24:41PM +0530, Santosh Shukla wrote: >>> >> I guess we have done enough evaluation / investigation that suggest - >>> >> so to map iopci region to

[dpdk-dev] [PATCH 0/6 for 2.3] initial virtio 1.0 enabling

2015-12-29 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yuanhan Liu > Sent: Thursday, December 10, 2015 11:54 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/6 for 2.3] initial virtio 1.0 enabling > > Hi, > > Here is an initial virtio 1.0 pmd driver

[dpdk-dev] bnx2x pmd performance expectations

2015-12-29 Thread Alexander Belyakov
Thank you for pointing this out. While it seems to me problem here is RX, I will also look into TX burst limitations. -a On 28 December 2015 at 00:17, Chas Williams <3chas3 at gmail.com> wrote: > I wouldn't consider myself an expert on this driver but while looking > at some other things, I

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Burakov, Anatoly
Hi Santosh, > Look at kernel/resource.c, it exports two symbol ioport_resource and > iomem_resource and sets appropriate flag type i.e.. IORESOURCE_IO and > IORESOURCE_MEM. In virtio-net case; it creates both pci region i.e.. > _io bar and _mem bar. dpdk virtio pmd driver (<= 0.95 virtio spec)

[dpdk-dev] [PATCH] pci: Add the class_id support in pci probe

2015-12-29 Thread Ziye Yang
This patch is used to add the class_id support for pci_probe since some devices need the class_info (class_code, subclass_code, programming_interface) Signed-off-by: Ziye Yang --- lib/librte_eal/bsdapp/eal/eal_pci.c | 4 lib/librte_eal/common/eal_common_pci.c | 3 +++

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Burakov, Anatoly
Hi Santosh, > On Fri, Dec 18, 2015 at 6:25 PM, Santosh Shukla > wrote: > > On Fri, Dec 18, 2015 at 1:51 PM, Yuanhan Liu > > wrote: > >> On Fri, Dec 18, 2015 at 01:24:41PM +0530, Santosh Shukla wrote: > >>> >> I guess we have done enough evaluation / investigation that > >>> >> suggest - so to

[dpdk-dev] [PATCH] remove redundant __func__ in PMD_INIT_LOG and PMD_RX_LOG

2015-12-29 Thread Yuanhan Liu
Acked-by: Yuanhan Liu --yliu

[dpdk-dev] [PATCH] eal: map io resources for non x86 architectures

2015-12-29 Thread Alex Williamson
On Tue, 2015-12-29 at 16:17 +0530, Santosh Shukla wrote: > On Tue, Dec 29, 2015 at 3:26 PM, Burakov, Anatoly > wrote: > > Hi Santosh, > > > > > On Fri, Dec 18, 2015 at 6:25 PM, Santosh Shukla > > om> > > > wrote: > > > > On Fri, Dec 18, 2015 at 1:51 PM, Yuanhan Liu > > > > wrote: > > > > > On