[dpdk-dev] Previous DPDK version API documentation for app developers

2015-02-11 Thread Matthew Hall
Hi all, I ran into a funny situation today with the API documentation. For stability until I can get my app mostly working, I was using DPDK 1.7.X, so I could concentrate on making the app reliable. But the DPDK website only has the API docs for DPDK 1.8.X / HEAD. I was wondering if we could

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Michael Qiu
max_vfs will only be created by igb_uio driver, for other drivers like vfio or pci_uio_generic, max_vfs will miss. But sriov_numvfs is not driver related, just get the vf numbers from that field. Signed-off-by: Michael Qiu --- v2 --> v1: backport for kernel version less than 3.8

[dpdk-dev] [PATCH 3/7] vmxnet3: add support for mulit-segment transmit

2015-02-11 Thread Yong Wang
On 12/16/14, 9:13 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >Change sending loop to support multi-segment mbufs. >The VMXNET3 api has start-of-packet and end-packet flags, so it >is not hard to send multi-segment mbuf's. > >Also, update descriptor in 32 bit value rather than

[dpdk-dev] [PATCH] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Michael Qiu
max_vfs will only be created by igb_uio driver, for other drivers like vfio or pci_uio_generic, max_vfs will miss. But sriov_numvfs is not driver related, just get the vf numbers from that field. Signed-off-by: Michael Qiu --- lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- 1 file changed, 1

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-11 Thread Olivier MATZ
Hi, On 02/11/2015 07:25 AM, Liang, Cunming wrote: >>> + tim_lcore = rte_get_next_lcore( >>> + priv_timer[lcore_id].prev_lcore, >>> + 0, 1); >>> + priv_timer[lcore_id].prev_lcore = tim_lcore; >>> + }

[dpdk-dev] [PATCH v2 03/20] i40e: call i40e_txd_enable_checksum only for offloaded packets

2015-02-11 Thread Olivier MATZ
Hi Helin, On 02/11/2015 06:32 AM, Zhang, Helin wrote: >> On 02/10/2015 07:03 AM, Zhang, Helin wrote: /* Enable checksum offloading */ cd_tunneling_params = 0; - i40e_txd_enable_checksum(ol_flags, _cmd, _offset, -

[dpdk-dev] [PATCH v2 02/20] mbuf: enhance the API documentation of offload flags

2015-02-11 Thread Olivier MATZ
Hi Jijiang, On 02/11/2015 08:15 AM, Liu, Jijiang wrote: >>> diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index >>> 41711fd..4b438d1 100644 >>> --- a/app/test-pmd/csumonly.c >>> +++ b/app/test-pmd/csumonly.c >>> @@ -183,16 +183,15 @@ process_inner_cksums(void *l3_hdr, uint16_t

[dpdk-dev] [PATCH v2 6/6] doc: commands changed in testpmd_funcs for syn filter

2015-02-11 Thread Jingjing Wu
document of new command: - syn_filter (port_id) (add|del) priority (high|low) queue (queue_id) Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 30 - 1 file changed, 4 insertions(+), 26 deletions(-) diff --git

[dpdk-dev] [PATCH v2 5/6] ethdev: remove old APIs and structures of syn filter

2015-02-11 Thread Jingjing Wu
Structure rte_syn_filter is removed. Following APIs are removed: - rte_eth_dev_add_syn_filter - rte_eth_dev_remove_syn_filter - rte_eth_dev_get_syn_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 50 lib/librte_ether/rte_ethdev.h | 67

[dpdk-dev] [PATCH v2 4/6] testpmd: new commands for syn filter

2015-02-11 Thread Jingjing Wu
Following commands of syn filter are removed: - add_syn_filter (port_id) priority (high|low) queue (queue_id) - remove_syn_filter (port_id) - get_syn_filter (port_id) New command is added for syn filter by using filter_ctrl API and new syn filter structure: - syn_filter (port_id) (add|del)

[dpdk-dev] [PATCH v2 3/6] e1000: new functions replace old ones for syn filter

2015-02-11 Thread Jingjing Wu
This patch defines new functions dealing with syn filter. It removes old functions of syn filter in igb driver. Syn filter is dealt with through entrance eth_igb_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/igb_ethdev.c | 152 -- 1 file

[dpdk-dev] [PATCH v2 2/6] ixgbe: new functions replace old ones for syn filter

2015-02-11 Thread Jingjing Wu
This patch defines new functions dealing with syn filter. It removes old functions which deal with syn filter. Syn filter is dealt with through entrance ixgbe_dev_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 167 +--- 1 file

[dpdk-dev] [PATCH v2 1/6] ethdev: define syn filter type and its structure

2015-02-11 Thread Jingjing Wu
This patch defines syn filter type RTE_ETH_FILTER_SYN and its structure rte_eth_syn_filter. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 12 1 file changed, 12 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index

[dpdk-dev] [PATCH v2 0/6] Integrate syn filter in igb/ixgbe driver to new API

2015-02-11 Thread Jingjing Wu
v2 changes: - split one patch to patch series - change the command's format in testpmd. - return -ENOENT when deleting a disabled syn filter. - add doc changes in testpmd_funcs.rst - correct the errors reported by checkpatch.pl The patch set uses new filter_ctrl API to replace old syn filter

[dpdk-dev] Doubt: QEMU <-> OVS using DPDK

2015-02-11 Thread IÑAKI MURILLO
Hello, I am trying to connect a virtual machine with a openvswitch using DPDK for performance, as you can see in the next figure. +---+ | QMEU VM | | | |

[dpdk-dev] [PATCH v2] mk: fix librte_vhost linking

2015-02-11 Thread Panu Matilainen
librte_vhost is not a plugin but a library, move it to proper section to fix sample app build in shared, non-combined library setup. Signed-off-by: Panu Matilainen --- mk/rte.app.mk | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index

[dpdk-dev] [PATCH v4 17/26] virtio: Use port IO to get PCI resource.

2015-02-11 Thread Thomas Monjalon
2015-02-11 05:50, Stephen Hemminger: > But driver needs to tell application via driver flags I think it's done: > + pci_dev->intr_handle.type = RTE_INTR_HANDLE_UIO; > + pci_drv->drv_flags |= RTE_PCI_DRV_INTR_LSC; In my understanding, Changchun chose to use ioports as a fallback if uio is

[dpdk-dev] [PATCH] kni/ethtool/ixgbe: enforce access between ixgbe PCI and CPU

2015-02-11 Thread xuelin....@freescale.com
From: Xuelin Shi make sure: CPU read from ixgbe with IXGBE_LE32_TO_CPUS CPU write to ixgbe with IXGBE_CPU_TO_LE32 otherwise, there is endian issue for ixgbe on BIG_ENDIAN CPU. Signed-off-by: Xuelin Shi --- .../linuxapp/kni/ethtool/ixgbe/ixgbe_osdep.h

[dpdk-dev] proposal: remove separate doc tree

2015-02-11 Thread Butler, Siobhan A
Hi all, In creating documentation for DPDK 1.8.0 dpdk.org used a separate repository 'dpdk-doc' to work on the conversion of old documentation from PDF to .rst with sphinx for maintainability and usability purposes. Now that the conversion has been complete and patches to the documentation can

[dpdk-dev] [PATCH] Adding RTE_KNI_PREEMPT configuration option

2015-02-11 Thread Bruce Richardson
On Wed, Feb 11, 2015 at 01:26:41PM +0100, Marc Sune wrote: > > On 11/02/15 02:54, Zhang, Helin wrote: > > > >>-Original Message- > >>From: Richardson, Bruce > >>Sent: Tuesday, February 10, 2015 9:24 PM > >>To: Marc Sune > >>Cc: dev at dpdk.org; Zhang, Helin > >>Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH] librte_lpm: use field access instead of type conversion.

2015-02-11 Thread xuelin....@freescale.com
From: Xuelin Shi struct tbl_entry{ uint8_t next_hop; uint8_t valid :1; uint8_t valid_group :1; uint8_t depth :6 } uint16_t tbl = (uint16_t)tbl_entry; next_hop = (uint8_t)tbl; next_hop cannot get the correct value of the field if the cpu

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Tetsuya Mukawa
On 2015/02/11 13:53, Tetsuya Mukawa wrote: > On 2015/02/11 12:27, Qiu, Michael wrote: >> On 2/10/2015 11:11 PM, Iremonger, Bernard wrote: -Original Message- From: Qiu, Michael Sent: Monday, February 9, 2015 1:10 PM To: Tetsuya Mukawa; dev at dpdk.org Cc: Iremonger,

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Tetsuya Mukawa
On 2015/02/11 12:27, Qiu, Michael wrote: > On 2/10/2015 11:11 PM, Iremonger, Bernard wrote: >>> -Original Message- >>> From: Qiu, Michael >>> Sent: Monday, February 9, 2015 1:10 PM >>> To: Tetsuya Mukawa; dev at dpdk.org >>> Cc: Iremonger, Bernard >>> Subject: Re: [PATCH v7 04/14] eal/pci:

[dpdk-dev] [PATCH] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread David Marchand
Hello Michael, On Wed, Feb 11, 2015 at 12:10 PM, Michael Qiu wrote: > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not driver related, just get the vf numbers > from that field. > > Signed-off-by:

[dpdk-dev] [PATCH] eal: add rte_eal_iopl_init to version map

2015-02-11 Thread Sergio Gonzalez Monroy
Common rte_eal_iopl_init function is missing from eal version map. Signed-off-by: Sergio Gonzalez Monroy --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 2 files changed, 2 insertions(+) diff --git

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Qiu, Michael
[+cc] David On 2/11/2015 9:26 PM, Qiu, Michael wrote: > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not driver related, just get the vf numbers > from that field. > > Signed-off-by: Michael Qiu > ---

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-11 Thread Panu Matilainen
On 02/11/2015 12:51 PM, Gonzalez Monroy, Sergio wrote: > Hi Panu, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Panu Matilainen >> Sent: Wednesday, February 11, 2015 8:53 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] mk: fix missing link of

[dpdk-dev] [PATCH v4 5/5] doc: new packet ordering app description

2015-02-11 Thread Sergio Gonzalez Monroy
This patch describes how to build and run he new packet ordering sample application that exercises the reorder library. Signed-off-by: Sergio Gonzalez Monroy --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/packet_ordering.rst | 102 +++

[dpdk-dev] [PATCH v4 4/5] doc: new reorder library description

2015-02-11 Thread Sergio Gonzalez Monroy
This patch introduces a new section in the programmers guide describing the reorder library. Signed-off-by: Sergio Gonzalez Monroy --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/reorder_lib.rst | 115 ++ 2 files changed, 116

[dpdk-dev] [PATCH v4 3/5] examples: new sample app packet_ordering

2015-02-11 Thread Sergio Gonzalez Monroy
This new app makes use of the librte_reorder library. It requires at least 3 lcores for RX, Workers (1 or more) and TX threads. Communication between RX-Workers and Workers-TX is done by using rings. The flow of mbufs is the following: * RX thread gets mbufs from driver, set sequence number and

[dpdk-dev] [PATCH v4 2/5] app: New reorder unit test

2015-02-11 Thread Sergio Gonzalez Monroy
Adding new reorder unit test for the test app. The command to run the unit test from the test shell is: reorder_autotest Signed-off-by: Reshma Pattan Signed-off-by: Sergio Gonzalez Monroy --- app/test/Makefile | 2 + app/test/test_reorder.c | 393

[dpdk-dev] [PATCH v4 1/5] reorder: new reorder library

2015-02-11 Thread Sergio Gonzalez Monroy
This library provides reordering capability for out of order mbufs based on a sequence number in the mbuf structure. Signed-off-by: Reshma Pattan Signed-off-by: Richardson Bruce Signed-off-by: Sergio Gonzalez Monroy --- config/common_bsdapp | 5 +

[dpdk-dev] [PATCH] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Qiu, Michael
On 2/11/2015 8:32 PM, David Marchand wrote: > Hello Michael, > > On Wed, Feb 11, 2015 at 12:10 PM, Michael Qiu > wrote: > > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-11 Thread Gonzalez Monroy, Sergio
> From: Panu Matilainen [mailto:pmatilai at redhat.com] > Sent: Wednesday, February 11, 2015 11:26 AM > To: Gonzalez Monroy, Sergio; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in > shared, non-combined config > > On 02/11/2015 12:51 PM, Gonzalez Monroy,

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Qiu, Michael
On 2/11/2015 4:14 PM, Tetsuya Mukawa wrote: > On 2015/02/11 15:29, Qiu, Michael wrote: >> On 2/11/2015 12:57 PM, Tetsuya Mukawa wrote: >>> On 2015/02/11 13:53, Tetsuya Mukawa wrote: On 2015/02/11 12:27, Qiu, Michael wrote: > On 2/10/2015 11:11 PM, Iremonger, Bernard wrote: >>>

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Tetsuya Mukawa
On 2015/02/11 0:08, Iremonger, Bernard wrote: >> -Original Message- >> From: Qiu, Michael >> Sent: Monday, February 9, 2015 1:10 PM >> To: Tetsuya Mukawa; dev at dpdk.org >> Cc: Iremonger, Bernard >> Subject: Re: [PATCH v7 04/14] eal/pci: Consolidate pci address comparison >> APIs >> >>

[dpdk-dev] [PATCH v3 0/5] New Reorder Library

2015-02-11 Thread Gonzalez Monroy, Sergio
> From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Sunday, February 8, 2015 1:59 PM > To: Gonzalez Monroy, Sergio > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/5] New Reorder Library > > On Fri, Feb 06, 2015 at 03:05:59PM +, Sergio Gonzalez Monroy wrote: > > This

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-11 Thread Panu Matilainen
When building shared, non-combined library, librte_vhost does not get linked in, causing among other things vhost example to fail building to do undefined symbols on linkage. Signed-off-by: Panu Matilainen --- mk/rte.app.mk | 4 1 file changed, 4 insertions(+) diff --git a/mk/rte.app.mk

[dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config

2015-02-11 Thread Gonzalez Monroy, Sergio
Hi Panu, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Panu Matilainen > Sent: Wednesday, February 11, 2015 8:53 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, > non-combined config > > When building

[dpdk-dev] [PATCH] Minor C++11 compilation fix for rte_pci.h

2015-02-11 Thread Stefan Puiu
In C++11 concatenated string literals need to have a space in between. clang 3.4 reports this as an error (and IIRC also gcc-4.8): dpdk/include/rte_pci.h:96:26: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]

[dpdk-dev] [PATCH] testpmd: remove incorrect parameter limits in help command line

2015-02-11 Thread Gonzalez Monroy, Sergio
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Friday, February 6, 2015 2:23 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] testpmd: remove incorrect parameter limits in > help command line > > Ring threshold parameters an RX/TX queue (pthresh, wthresh and

[dpdk-dev] [PATCH] testpmd: remove duplicated parameter parsing

2015-02-11 Thread Gonzalez Monroy, Sergio
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Friday, February 6, 2015 2:15 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] testpmd: remove duplicated parameter parsing > > Several parameters were being parsed twice in testpmd, so this patch gets > rid of

[dpdk-dev] [PATCH v4 12/15] fm10k: Add scatter receive function

2015-02-11 Thread Jeff Shaw
On Wed, Feb 11, 2015 at 09:31:35AM +0800, Chen Jing D(Mark) wrote: > > +uint16_t > +fm10k_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > + uint16_t nb_pkts) > +{ > + struct rte_mbuf *mbuf; > + union fm10k_rx_desc desc; > + struct

[dpdk-dev] [PATCH v4 15/15] fm10k: add PF and VF interrupt handling function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add functions to enable PF/VF interrupt. 2. Add function to process error message passed from interrupt. 2. Add 2 interrupt handling functions, one for PF and one for VF. 2. Enable interrupt after completing initialization of NIC. Signed-off-by: Jeff

[dpdk-dev] [PATCH v4 14/15] fm10k: Add SRIOV-VF support

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw fm10k pmd driver will support both PF and VF device with single copy of code. The reason is NIC maps registers with same function in PF and VF to same PCI I/O address. Then, PF/VF drivers use same address to access registers belonging to it, HW will

[dpdk-dev] [PATCH v4 12/15] fm10k: Add scatter receive function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add fm10k_recv_scattered_pkts function to receive jumbo frame and multi-segment packets. 2. Configure correct receive function in rx_init and dev_init. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_pmd_fm10k/fm10k.h

[dpdk-dev] [PATCH v4 11/15] fm10k: add PF RSS support

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Configure RSS in fm10k_dev_rx_init function. 2. Add fm10k_rss_hash_update and fm10k_rss_hash_conf_get to get and inquery RSS configuration. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 156

[dpdk-dev] [PATCH v4 10/15] fm10k: add receive and tranmit function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add fm10k_recv_pkts and fm10k_xmit_pkts functions. 2. Link app function pointer to actual fm10k recv/xmit functions. 3. Change Makefile to compile new file fm10k_rxtx.c Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) ---

[dpdk-dev] [PATCH v4 09/15] fm10k: add dev start/stop functions

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add function to initialize RX queues. 2. Add function to initialize TX queues. 3. Add fm10k_dev_start, fm10k_dev_stop and fm10k_dev_close functions. 4. Add function to close mailbox service. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing

[dpdk-dev] [PATCH v4 08/15] fm10k: add RX/TX single queue start/stop function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add 4 functions fm10k_dev_rx_queue_start, fm10k_dev_rx_queue_stop, fm10k_dev_tx_queue_start, and fm10k_dev_tx_queue_stop. 2. verify Rx packet buffer alignment is valid. Hardware requires specific alignment for Rx packet buffers. At least

[dpdk-dev] [PATCH v4 07/15] fm10k: add tx_queue_setup/release function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw Add fm10k_tx_queue_setup and fm10k_tx_queue_release functions. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 205 +++ 1 files changed, 205 insertions(+), 0

[dpdk-dev] [PATCH v4 06/15] fm10k: add rx_queue_setup/release function

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw Add fm10k_rx_queue_setup and fm10k_rx_queue_release functions. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 255 +++ 1 files changed, 255 insertions(+), 0

[dpdk-dev] [PATCH v4 05/15] fm10k: add reta update/requery functions

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add fm10k_reta_update and fm10k_reta_query functions. 2. Add fm10k_link_update and fm10k_dev_infos_get functions. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 162

[dpdk-dev] [PATCH v4 04/15] Change config files to add fm10k into compile

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Change config/common_bsdapp and config/common_linuxapp, add macros to control fm10k pmd driver compile for linux and bsd. 2. Change lib/Makefile to add fm10k driver into compile list. 3. Change mk/rte.app.mk to add fm10k lib into link.

[dpdk-dev] [PATCH v4 03/15] fm10k: register fm10k pmd PF driver

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw 1. Add init function to scan and initialize fm10k PF device. 2. Add implementation to register fm10k pmd PF driver. 3. Add 3 functions fm10k_dev_configure, fm10k_stats_get and fm10k_stats_get. 4. Add fm10k.h to define macros and basic data structure.

[dpdk-dev] [PATCH v4 02/15] eal: add fm10k device id

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw Add fm10k device ID list into rte_pci_dev_ids.h. Signed-off-by: Jeff Shaw Signed-off-by: Chen Jing D(Mark) --- lib/librte_eal/common/include/rte_pci_dev_ids.h | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff

[dpdk-dev] [PATCH v4 01/15] fm10k: add base driver

2015-02-11 Thread Chen Jing D(Mark)
From: Jeff Shaw Base driver is developped and maintained by Intel ND team, includes basic functional service to Intel fm10k series of silicons. Any suggestion on bug fix and improvement within this directory is welcome, but need this team to change and update.

[dpdk-dev] [PATCH v4 00/15] lib/librte_pmd_fm10k : fm10k pmd driver

2015-02-11 Thread Chen Jing D(Mark)
From: "Chen Jing D(Mark)" The patch set add poll mode driver for the host interface of Intel fm10k series of silicons, which integrate NIC and switch functionalities. The patch set include below features: 1. Basic RX/TX functions for PF/VF. 2. Interrupt handling

[dpdk-dev] [PATCH v4 10/15] fm10k: add receive and tranmit function

2015-02-11 Thread Jeff Shaw
On Wed, Feb 11, 2015 at 09:31:33AM +0800, Chen Jing D(Mark) wrote: > +uint16_t > +fm10k_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > + uint16_t nb_pkts) > +{ > + struct rte_mbuf *mbuf; > + union fm10k_rx_desc desc; > + struct fm10k_rx_queue *q = rx_queue; > +

[dpdk-dev] [PATCH v4 17/26] virtio: Use port IO to get PCI resource.

2015-02-11 Thread Vincent JARDIN
On 11/02/2015 05:50, Ouyang, Changchun wrote: > As we know proc/ioports hasn't interrupt, 6wind implementation also don't > introduce interrupt in it. correct, it is running without interrupt, they are not mandatory.

[dpdk-dev] [PATCH 00/15] migrate flow director in ingle driver to new API

2015-02-11 Thread Wu, Jingjing
> -Original Message- > From: Zhang, Helin > Sent: Wednesday, February 11, 2015 4:10 PM > To: Wu, Jingjing; dev at dpdk.org > Cc: Liu, Jijiang; Mcnamara, John; Cao, Min; Xu, HuilongX > Subject: RE: [PATCH 00/15] migrate flow director in ixgbe driver to new API > > > > > -Original

[dpdk-dev] [PATCH 00/15] migrate flow director in ixgbe driver to new API

2015-02-11 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, January 29, 2015 1:29 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Liu, Jijiang; Mcnamara, John; Cao, Min; Xu, > HuilongX > Subject: [PATCH 00/15] migrate flow director in ixgbe driver to new API > > The patch set

[dpdk-dev] [PATCH v2 02/20] mbuf: enhance the API documentation of offload flags

2015-02-11 Thread Liu, Jijiang
Hi Olivier, > -Original Message- > From: Zhang, Helin > Sent: Tuesday, February 10, 2015 1:39 PM > To: Olivier Matz; dev at dpdk.org > Cc: Ananyev, Konstantin; Liu, Jijiang > Subject: RE: [PATCH v2 02/20] mbuf: enhance the API documentation of offload > flags > > > > > -Original

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Qiu, Michael
On 2/11/2015 12:57 PM, Tetsuya Mukawa wrote: > On 2015/02/11 13:53, Tetsuya Mukawa wrote: >> On 2015/02/11 12:27, Qiu, Michael wrote: >>> On 2/10/2015 11:11 PM, Iremonger, Bernard wrote: > -Original Message- > From: Qiu, Michael > Sent: Monday, February 9, 2015 1:10 PM >

[dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread

2015-02-11 Thread Liang, Cunming
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, February 11, 2015 1:45 AM > To: Liang, Cunming; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 17/17] timer: add support to non-EAL thread > > Hi, > > On 02/02/2015 03:02 AM, Cunming

[dpdk-dev] [PATCH v4 17/26] virtio: Use port IO to get PCI resource.

2015-02-11 Thread Stephen Hemminger
But driver needs to tell application via driver flags

[dpdk-dev] [PATCH v2 03/20] i40e: call i40e_txd_enable_checksum only for offloaded packets

2015-02-11 Thread Zhang, Helin
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Wednesday, February 11, 2015 1:07 AM > To: Zhang, Helin; dev at dpdk.org > Cc: Ananyev, Konstantin; Liu, Jijiang > Subject: Re: [PATCH v2 03/20] i40e: call i40e_txd_enable_checksum only for > offloaded

[dpdk-dev] [PATCH v4 17/26] virtio: Use port IO to get PCI resource.

2015-02-11 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Wednesday, February 11, 2015 12:33 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Xie, Huawei; Cao, Waterman; Xu, Qian Q > Subject: Re: [PATCH v4 17/26] virtio: Use port IO to get PCI

[dpdk-dev] [PATCH v7 04/14] eal/pci: Consolidate pci address comparison APIs

2015-02-11 Thread Qiu, Michael
On 2/10/2015 11:11 PM, Iremonger, Bernard wrote: >> -Original Message- >> From: Qiu, Michael >> Sent: Monday, February 9, 2015 1:10 PM >> To: Tetsuya Mukawa; dev at dpdk.org >> Cc: Iremonger, Bernard >> Subject: Re: [PATCH v7 04/14] eal/pci: Consolidate pci address comparison >> APIs >>

[dpdk-dev] [PATCH 0/2] rte_ethdev fix/improvement

2015-02-11 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jia Yu > Sent: Saturday, November 8, 2014 1:32 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/2] rte_ethdev fix/improvement > > This patch series include a fix and an improvement to rte_ethdev lib. >

[dpdk-dev] [PATCH 4/7] vmxnet3: fix link state handling

2015-02-11 Thread Yong Wang
On 12/16/14, 9:13 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >This patch is a bugfx. > >The Intel version of VMXNET3 driver does not handle link state properly. >The VMXNET3 API returns 1 if connected and 0 if disconnected. >Also need to return correct value to indicate state

[dpdk-dev] [PATCH] Adding RTE_KNI_PREEMPT configuration option

2015-02-11 Thread Zhang, Helin
> -Original Message- > From: Richardson, Bruce > Sent: Tuesday, February 10, 2015 9:24 PM > To: Marc Sune > Cc: dev at dpdk.org; Zhang, Helin > Subject: Re: [dpdk-dev] [PATCH] Adding RTE_KNI_PREEMPT configuration > option > > On Tue, Feb 10, 2015 at 12:59:29PM +0100, Marc Sune wrote: >

[dpdk-dev] [PATCH v4 00/15] lib/librte_pmd_fm10k : fm10k pmd driver

2015-02-11 Thread Qiu, Michael
On 2/11/2015 9:31 AM, Chen, Jing D wrote: > From: "Chen Jing D(Mark)" > > The patch set add poll mode driver for the host interface of Intel > fm10k series of silicons, which integrate NIC and switch > functionalities. The patch set include below features: > > 1. Basic RX/TX functions for PF/VF.

[dpdk-dev] [PATCH v2 07/15] vmxnet3: support of unified packet type

2015-02-11 Thread Yong Wang
On 2/8/15, 10:40 PM, "Helin Zhang" wrote: >To unify packet types among all PMDs, bit masks of packet type for >ol_flags are replaced by unified packet type. > >Signed-off-by: Helin Zhang >--- Acked-by: Yong Wang > lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 4 ++-- > 1 file changed, 2

[dpdk-dev] [PATCH 6/7] vmxnet3: support RSS and refactor offload

2015-02-11 Thread Yong Wang
On 12/16/14, 9:13 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >Refactor the logic to compute receive offload flags to a simpler >function. Andd add support for putting RSS flow hash into packet. > >Signed-off-by: Stephen Hemminger >Signed-off-by: Bill Hong >--- Acked-by: Yong

[dpdk-dev] [PATCH 5/7] vmxnet3: get rid of DEBUG ifdefs

2015-02-11 Thread Yong Wang
On 12/16/14, 9:13 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >By defining macro as a stub it is possible to get rid of #ifdef's >in the actual code. > >Signed-off-by: Stephen Hemminger >--- > lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 6 -- >

[dpdk-dev] [PATCH 2/7] vmxnet3: remove mtu check

2015-02-11 Thread Yong Wang
On 12/16/14, 9:13 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >Remove check for packets sending packets greater than MTU. No other >driver does >this, it should be handled at higher layer. > >Signed-off-by: Stephen Hemminger >--- > lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 2 --