[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Marc Sune
Adrien, 2015-09-15 12:04 GMT+02:00 Adrien Mazarguil : > Hi Marc, > > Adding my thoughts to the discussion, see below. > > On Tue, Sep 15, 2015 at 10:48:03AM +0200, Marc Sune wrote: > > I will answer Morten in another mail, because I got his point on the > > AUTONEG as a separate bit, and it _make

[dpdk-dev] DPDK 2.2 roadmap

2015-09-15 Thread Olga Shern
Hi, Mellanox will submit a new PMD for ConnectX-4 and ConnectX-4 LX cards Best Regards, Olga -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon Sent: Monday, September 14, 2015 11:57 AM To: Zhang, Helin; O'Driscoll, Tim Cc: dev at dpdk.org Subject

[dpdk-dev] [PATCH] cryptodev: changes to crypto operation APIs to support non prescriptive chaining of crypto transforms in a crypto operation. app/test: updates to cryptodev unit tests to support new

2015-09-15 Thread Declan Doherty
Proposed changes to cryptodev API for comment based on Neil's comments on the initial RFC. I have included the updates to the cryptodev unit test suite and the AESNI multi buffer PMD for illustrative purposes, I will include the changes for the QAT in a V1 patchset if the proposes changes to the A

[dpdk-dev] No egressing packet

2015-09-15 Thread Wu, Yiwen
Hi all, I am new to dpdk. I am running a single forwarding program based on dpdk 2.1.0. The program runs on a VM, binding on two interfaces. All it's doing is to forward packets from one interface to another. All ingressing packets are fine but there seems no egressing packets. I used rte_eth_

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

2015-09-15 Thread Kyle Larose
On Sun, Sep 13, 2015 at 5:43 PM, 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 >

[dpdk-dev] [RFC PATCH] vhost: Add VHOST PMD

2015-09-15 Thread Loftus, Ciara
> + > +static int > +rte_pmd_vhost_devinit(const char *name, const char *params) > +{ > + struct rte_kvargs *kvlist = NULL; > + int ret = 0; > + int index; > + char *iface_name; > + > + RTE_LOG(INFO, PMD, "Initializing pmd_vhost for %s\n", name); > + > + kvlist = rte_kvargs_

[dpdk-dev] Fwd: [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE machine

2015-09-15 Thread Chao Zhu
Any response of this patch? Forwarded Message Subject:[dpdk-dev] [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE machine Date: Fri, 14 Aug 2015 20:19:48 +0800 From: Chao Zhu To: dev at dpdk.org When Linux is running on bare metal, it gets the raw hardw

[dpdk-dev] [PATCH] doc: update the dpdk 2.2 release notes

2015-09-15 Thread Thomas Monjalon
2015-09-15 14:07, John McNamara: > +* **i40e: Fixed base driver allocation when not using first numa node.** > + > +Fixed i40e issue that occurred when a DPDK application didn't initialize > ports > +if memory wasn't available on socket 0. > + > + > +* **ixgbe: Removed burst size restriction of ve

[dpdk-dev] [RFC PATCH v1] rte: LCore heartbeat example

2015-09-15 Thread Thomas Monjalon
Hi, 2015-09-15 13:16, Remy Horton: > Provides a basic framework for detecting and reporting live-ness of > LCores, the primary requirement of which is minimal overheads for the > core(s) being checked. Core failures are notified via an application > defined callback. As an example l2fwd with ra

[dpdk-dev] [PATCH v1 3/3] examples/ip_pipeline: add mp/mc and frag/ras swq

2015-09-15 Thread Piotr Azarewicz
Add integrated MP/MC and fragmentation/reassembly support to SWQs Signed-off-by: Piotr Azarewicz --- examples/ip_pipeline/app.h | 14 +++ examples/ip_pipeline/config_check.c | 45 +++- examples/ip_pipeline/config_parse.c | 195 +-- examples/ip_pi

[dpdk-dev] [PATCH v1 2/3] port: fix ras ring ports

2015-09-15 Thread Piotr Azarewicz
Bug fixes for ring ports with IPv4/IPv6 reassembly support. Previous implementation can't work properly due to incorrect choosing process function. Also, assuming that, when processing ip packet, ip header is know we can set l3_len parameter here. Signed-off-by: Piotr Azarewicz --- lib/librte_po

[dpdk-dev] [PATCH v1 1/3] port: add mp/mc ring ports

2015-09-15 Thread Piotr Azarewicz
ring_multi_reader input port (on top of multi consumer rte_ring) ring_multi_writer output port (on top of multi producer rte_ring) Signed-off-by: Piotr Azarewicz --- lib/librte_port/rte_port_ring.c | 399 ++- lib/librte_port/rte_port_ring.h | 34 +++- 2 fil

[dpdk-dev] [PATCH v1 0/3] ip_pipeline: add MP/MC and frag/ras support to SWQs

2015-09-15 Thread Piotr Azarewicz
This patch set enhancement ip_pipeline application: - librte_port: add support for multi-producer/multi-consumer ring ports - librte_port: bug fixes for ring ports with IPv4/IPv6 reassembly support - ip_pipeline application: integrate MP/MC and fragmentation/reassembly support to SWQs Piotr Azare

[dpdk-dev] [PATCH] doc: update the dpdk 2.2 release notes

2015-09-15 Thread John McNamara
Update the DPDK 2.2 release notes with recent fixes: 7e01e3 i40e: fix base driver allocation when not using first numa node 5e73f4 ixgbe: remove burst size restriction of vector Rx 7fcd13 ixgbe: fix X550 DCB d49e0f hash: fix memory allocation of cuckoo key table 9db649 eal/linux: fix epo

[dpdk-dev] [PATCH v1 0/3] ip_pipeline: add MP/MC and frag/ras support to SWQs

2015-09-15 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Piotr Azarewicz > Sent: Tuesday, September 15, 2015 4:07 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v1 0/3] ip_pipeline: add MP/MC and frag/ras > support to SWQs > > This patch set enhancement ip_pi

[dpdk-dev] [RFC PATCH v1] rte: LCore heartbeat example

2015-09-15 Thread Remy Horton
Provides a basic framework for detecting and reporting live-ness of LCores, the primary requirement of which is minimal overheads for the core(s) being checked. Core failures are notified via an application defined callback. As an example l2fwd with random failures is used. Signed-off-by: Remy

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Morten Brørup
Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] on 15. september 2015 12:05: > A given link cannot be simultaneously at 10 Gbps and 1 Gbps right? Using a > bit-field for the current link speed is confusing at best. Output values do > not need to be included in the unified API, they are

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Adrien Mazarguil
Hi Marc, Adding my thoughts to the discussion, see below. On Tue, Sep 15, 2015 at 10:48:03AM +0200, Marc Sune wrote: > I will answer Morten in another mail, because I got his point on the > AUTONEG as a separate bit, and it _makes_ sense to me. > > But Neilo, > > 2015-09-15 10:25 GMT+02:00 N?li

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Morten Brørup
Nelio, Marc, I think Marc is on the right track here: You should design the API based on requirements and usefulness, not based on what is already implemented in some drivers. And as Marc pointed out, this is control plane stuff, so performance should not be an issue. Let me throw in anoth

[dpdk-dev] DPDK 2.2 roadmap

2015-09-15 Thread David Marchand
Hello all, My turn. As far as the 2.2 is concerned, I have some fixes/changes waiting for going upstream : - allow default mac removal (to be discussed) - kvargs api updates / cleanup (no change on abi, I would say) - vlan filtering api fixes and ixgbevf/igbvf associated fixes (might have an impa

[dpdk-dev] [PATCH] doc: add guideline for updating release notes

2015-09-15 Thread Thomas Monjalon
2015-09-11 12:04, John McNamara: > From version 2.2 of DPDK onwards patchsets should include > updates to the Release Notes for additions, fixes and > changes. > > Add guideline on what to update in the Release Notes to the > Documentation Contribution guidelines. > > Signed-off-by: John McNamara

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Morten Brørup
Marc, here's a couple of details that I missed in my email below: Correction: 1000BASE-T and 1000BASE-X also have half duplex, so full/half duplex is relevant for 10, 100 and 1000 Mbit/s speeds. The bitmap in 3/ (result) probably also needs a bit ("NO_MEDIA" or whatever) to indicate if a media

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Marc Sune
I will answer Morten in another mail, because I got his point on the AUTONEG as a separate bit, and it _makes_ sense to me. But Neilo, 2015-09-15 10:25 GMT+02:00 N?lio Laranjeiro : > On Tue, Sep 15, 2015 at 12:50:11AM +0200, Morten Br?rup wrote: > > Comments inline, marked MB>. > > > > Med venli

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Nélio Laranjeiro
On Tue, Sep 15, 2015 at 12:50:11AM +0200, Morten Br?rup wrote: > Comments inline, marked MB>. > > Med venlig hilsen / kind regards > - Morten Br?rup > > Marc Sune on 14. september 2015 23:34 wrote: > > 2015-09-14 12:52 GMT+02:00 Morten Br?rup : > > It is important to consider that a multipath l

[dpdk-dev] Fwd: [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE machine

2015-09-15 Thread Bruce Richardson
On Tue, Sep 15, 2015 at 03:46:49PM +0800, Chao Zhu wrote: > > Any response of this patch? Looks ok to me - pretty trivial change. /Bruce > > Forwarded Message > Subject: [dpdk-dev] [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE > machine > Date: Fri, 14 Aug

[dpdk-dev] [PATCH] doc: add guideline for updating release notes

2015-09-15 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, September 15, 2015 10:13 AM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: add guideline for updating release > notes > > 2015-09-11 12:04, John McNamara:

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Morten Brørup
Very valid question, Thomas. It's always a good idea to take a step back and look at the bigger picture! Unfortunately, I can mention at least one company that has network appliances in production using such low speeds, and even half duplex: ours (SmartShare Systems). Basing our appliances on D

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Thomas Monjalon
2015-09-14 23:33, Marc Sune: > 2015-09-14 12:52 GMT+02:00 Morten Br?rup : > > This support function will be able to determine which speed is higher when > > exotic speeds are added to the bitmap. Please extend this conversion > > function to give three output parameters: speed, full/half duplex, au

[dpdk-dev] [PATCH v2] Change rte_eal_vdev_init to update port_id

2015-09-15 Thread Ravi Kerur
Hi David, On Thu, Sep 3, 2015 at 7:04 AM, David Marchand wrote: > Hello Ravi, Tetsuya, > > On Tue, Aug 25, 2015 at 7:59 PM, Ravi Kerur wrote: > >> Let us know how you want us to fix this? To fix rte_eal_vdev_init and >> rte_eal_pci_probe_one to return allocated port_id we had 2 approaches >> m

[dpdk-dev] dpdk 1.8.0 disable burst problem

2015-09-15 Thread Liu, Yong
Hi Wei, We can't reproduce your issue in our environment. Below is our steps. 1. disable vector and change burst size CONFIG_RTE_IXGBE_INC_VECTOR=n Define PACKET_READ_SIZE to 1 in client_server_mp/mp_server/main.c. Define PKT_READ_SIZE to 1 in client_server_mp/mp_client/client.c. 2. Run mp_server

[dpdk-dev] [PATCH v4 0/2] ethdev: add port speed capability bitmap

2015-09-15 Thread Morten Brørup
Comments inline, marked MB>. Med venlig hilsen / kind regards - Morten Br?rup Marc Sune on 14. september 2015 23:34 wrote: 2015-09-14 12:52 GMT+02:00 Morten Br?rup : > It is important to consider that a multipath link (bonding etc.) is not a > physical link, but a logical link (built on top of