[dpdk-dev] [PATCH v2 17/17] libte_acl: remove unused macros.

2015-01-12 Thread Konstantin Ananyev
Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl.h | 39 ++- lib/librte_acl/acl_run.h | 1 - 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/lib/librte_acl/acl.h b/lib/librte_acl/acl.h index 61b849a..e65e079 100644 --- a/lib/librte_

[dpdk-dev] [PATCH v2 16/17] libte_acl: introduce max_size into rte_acl_config.

2015-01-12 Thread Konstantin Ananyev
If at build phase we don't make any trie splitting, then temporary build structures and resulting RT structure might be much bigger than current. >From other side - having just one trie instead of multiple can speedup search quite significantly. >From my measurements on rule-sets with ~10K rules: R

[dpdk-dev] [PATCH v2 15/17] libte_acl: make calc_addr a define to deduplicate the code.

2015-01-12 Thread Konstantin Ananyev
Vector code reorganisation/deduplication: To avoid maintaining two nearly identical implementations of calc_addr() (one for SSE, another for AVX2), replace it with a new macro that suits both SSE and AVX2 code-paths. Also remove no needed any more MM_* macros. Signed-off-by: Konstantin Ananyev -

[dpdk-dev] [PATCH v2 14/17] libter_acl: move lo/hi dwords shuffle out from calc_addr

2015-01-12 Thread Konstantin Ananyev
Reorganise SSE code-path a bit by moving lo/hi dwords shuffle out from calc_addr(). That allows to make calc_addr() for SSE and AVX2 practically identical and opens opportunity for further code deduplication. Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_run_sse.h | 38 +++

[dpdk-dev] [PATCH v2 13/17] librte_acl: Remove search_sse_2 and relatives.

2015-01-12 Thread Konstantin Ananyev
Previous improvements made scalar method the fastest one for tiny bunch of packets (< 4). That allows us to remove specific vector code-path for small number of packets (search_sse_2) and always use scalar method for such cases. Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_run_avx2.c

[dpdk-dev] [PATCH v2 12/17] test-acl: add ability to manually select RT method.

2015-01-12 Thread Konstantin Ananyev
In test-acl replace command-line option "--scalar" with new one: "--alg=scalar|sse|avx2". Allows user manually select preferred classify() method. Signed-off-by: Konstantin Ananyev --- app/test-acl/main.c | 93 ++--- 1 file changed, 75 insertions(+

[dpdk-dev] [PATCH v2 11/17] librte_acl: add AVX2 as new rte_acl_classify() method

2015-01-12 Thread Konstantin Ananyev
v2 changes: When build with the compilers that don't support AVX2 instructions, make rte_acl_classify_avx2() do nothing and return an error. Remove unneeded 'ifdef __AVX2__' in acl_run_avx2.*. Introduce new classify() method that uses AVX2 instructions. >From my measurements: On HSW boards when pr

[dpdk-dev] [PATCH v2 10/17] EAL: introduce rte_ymm and relatives in rte_common_vect.h.

2015-01-12 Thread Konstantin Ananyev
New data type to manipulate 256 bit AVX values. Rename field in the rte_xmm to keep common naming accross SSE/AVX fields. Signed-off-by: Konstantin Ananyev --- examples/l3fwd/main.c | 2 +- lib/librte_acl/acl_run_sse.c| 88 -

[dpdk-dev] [PATCH v2 09/17] librte_acl: a bit of RT code deduplication.

2015-01-12 Thread Konstantin Ananyev
Move common check for input parameters up into rte_acl_classify_alg(). Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_run_scalar.c | 4 lib/librte_acl/acl_run_sse.c| 4 lib/librte_acl/rte_acl.c| 19 --- 3 files changed, 12 insertions(+), 15 delet

[dpdk-dev] [PATCH v2 08/17] librte_acl: make scalar RT code to be more similar to vector one.

2015-01-12 Thread Konstantin Ananyev
Make classify_scalar to behave in the same way as it's vector counterpart: move match check out of the inner loop, etc. That makes scalar and vector code look more identical. Plus it improves scalar code performance. Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_run_scalar.c | 23

[dpdk-dev] [PATCH v2 07/17] librte_acl: build/gen phase - simplify the way match nodes are allocated.

2015-01-12 Thread Konstantin Ananyev
Right now we allocate indexes for all types of nodes, except MATCH, at 'gen final RT table' stage. For MATCH type nodes we are doing it at building temporary tree stage. This is totally unnecessary and makes code more complex and error prone. Rework the code and make MATCH indexes being allocated a

[dpdk-dev] [PATCH v2 06/17] librte_acl: introduce DFA nodes compression (group64) for identical entries.

2015-01-12 Thread Konstantin Ananyev
Introduced division of whole 256 child transition enties into 4 sub-groups (64 kids per group). So 2 groups within the same node with identical children, can use one set of transition entries. That allows to compact some DFA nodes and get space savings in the RT table, without any negative performa

[dpdk-dev] [PATCH v2 05/17] librte_acl: fix a bug at build phase that can cause matches beeing overwirtten.

2015-01-12 Thread Konstantin Ananyev
Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_bld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_acl/acl_bld.c b/lib/librte_acl/acl_bld.c index 8bf4a54..22f7934 100644 --- a/lib/librte_acl/acl_bld.c +++ b/lib/librte_acl/acl_bld.c @@ -1907,7 +1907,7 @@

[dpdk-dev] [PATCH v2 04/17] librte_acl: remove build phase heuristsic with negative perfomance effect.

2015-01-12 Thread Konstantin Ananyev
Current rule-wildness based heuristsics can cause unnecessary splits of the ruleset. That might have negative perfomance effect: more tries to traverse, bigger RT tables. After removing it, on some test-cases with big rulesets (~10K) observed ~50% speedup. No difference for smaller rulesets. Signe

[dpdk-dev] [PATCH v2 03/17] librte_acl: make data_indexes long enough to survive idle transitions.

2015-01-12 Thread Konstantin Ananyev
Make data_indexes long enough to survive idle transitions. That allows to simplify match processing code. Also fix incorrect size calculations for data indexes. Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_bld.c | 5 +++-- lib/librte_acl/acl_run.h | 4 2 files changed, 3 inserti

[dpdk-dev] [PATCH v2 02/17] app/test: few small fixes fot test_acl.c

2015-01-12 Thread Konstantin Ananyev
Make sure that test_acl would not ignore error conditions. Run classify() with all possible values. Signed-off-by: Konstantin Ananyev --- app/test/test_acl.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/test/test_acl.c b/app/test/test_acl.c index 356d620..7119a

[dpdk-dev] [PATCH v2 01/17] fix fix compilation issues with RTE_LIBRTE_ACL_STANDALONE=y

2015-01-12 Thread Konstantin Ananyev
Signed-off-by: Konstantin Ananyev --- lib/librte_acl/rte_acl_osdep_alone.h | 12 1 file changed, 12 insertions(+) diff --git a/lib/librte_acl/rte_acl_osdep_alone.h b/lib/librte_acl/rte_acl_osdep_alone.h index a84b6f9..2a99860 100644 --- a/lib/librte_acl/rte_acl_osdep_alone.h +++ b/

[dpdk-dev] [PATCH v2 00/17] ACL: New AVX2 classify method and several other enhancements.

2015-01-12 Thread Konstantin Ananyev
v2 changes: - When build with the compilers that don't support AVX2 instructions, make rte_acl_classify_avx2() do nothing and return an error. - Remove unneeded 'ifdef __AVX2__' in acl_run_avx2.*. - Reorder order of patches in the set, to keep RTE_LIBRTE_ACL_STANDALONE=y always buildable. This pat

[dpdk-dev] [PATCH RFC 00/13] Update build system

2015-01-12 Thread Thomas Monjalon
Hi Sergio, 2015-01-12 16:33, Sergio Gonzalez Monroy: > This patch series updates the DPDK build system. Thanks for proposing such rework. We need discussions on that topic. So I ask some questions below. > Following are the goals it tries to accomplish: > - Create a library containing core DPDK

[dpdk-dev] [PATCH RFC 00/13] Update build system

2015-01-12 Thread Gonzalez Monroy, Sergio
Hi Thomas, > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, January 12, 2015 4:52 PM > > Hi Sergio, > > 2015-01-12 16:33, Sergio Gonzalez Monroy: > > This patch series updates the DPDK build system. > > Thanks for proposing such rework. > We need discussions on that

[dpdk-dev] What is the best way to distribute a DPDK-based app?

2015-01-12 Thread Vlad Zolotarov
On 01/12/15 16:50, Neil Horman wrote: > On Mon, Jan 12, 2015 at 11:30:26AM +, Bruce Richardson wrote: >> On Sun, Jan 11, 2015 at 07:10:30PM +0200, Vlad Zolotarov wrote: >>> Hi, >>> guys could you share form your experience what is the best way to distribute >>> the DPDK libraries with the DPDK

[dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski This patch incorporate fixes to support DCB in SRIOV mode for testpmd. It also clean up some old code that is not needed or wrong. Signed-off-by: Pawel Wodkowski --- app/test-pmd/cmdline.c |4 ++-- app/test-pmd/testpmd.c | 39 +--

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski This patch add support for DCB in SRIOV mode. When no PFC is enabled this feature might be used as multiple queues (up to 8 or 4) for VF. It incorporate following modifications: - Allow zero rx/tx queues to be passed to rte_eth_dev_configure(). Rationale: in SRIOV mo

[dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver

2015-01-12 Thread Michal Jastrzebski
From: Pawel Wodkowski Hi, this patchset enables DCB in SRIOV (ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB) for each VF and PF for ixgbe driver. As a side effect this allow to use multiple queues for TX in VF (8 if there is 16 or less VFs or 4 if there is 32 or less VFs) when PFC is not enabled.

[dpdk-dev] [PATCH RFC 13/13] mk: add -lpthread to linuxapp EXECENV_LDLIBS

2015-01-12 Thread Sergio Gonzalez Monroy
We need to add -lpthread to EXECENV_LDLIBS because we are not passing -pthread flags in EXECENV_CFLAGS to GCC when linking apps/ Signed-off-by: Sergio Gonzalez Monroy --- mk/exec-env/linuxapp/rte.vars.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/exec-env/linuxapp/rte.vars.mk b/mk/

[dpdk-dev] [PATCH RFC 12/13] mk: update apps build

2015-01-12 Thread Sergio Gonzalez Monroy
This patch does: - Update the app building command to link against librte_core. - Set --start-group/--end-group and --whole-archive/--no-whole-archive flags only when linking against static DPDK libs. - Set --as--need/--no-as-needed when linknig against shared DPDK libs. - Link against EXECENV

[dpdk-dev] [PATCH RFC 11/13] mk: Use LDLIBS when linking shared libraries

2015-01-12 Thread Sergio Gonzalez Monroy
This patch mainly makes use of the LDLIBS variable when linking shared libraries, setting proper DT_NEEDED entries. This patch also fix a few nits like syntax highlighting, the command string (O_TO_S_STR) used for linking shared libraries and the displayed of dependencies when debugging is enable (

[dpdk-dev] [PATCH RFC 10/13] lib: Set LDLIBS for each library

2015-01-12 Thread Sergio Gonzalez Monroy
This patch set LDLIBS for each library. When creating shared libraries, each library will be linked against their dependant libraries - LDLIBS. Signed-off-by: Sergio Gonzalez Monroy --- lib/librte_acl/Makefile | 1 + lib/librte_cfgfile/Makefile | 1 + lib/librte_cmdline/Makefile

[dpdk-dev] [PATCH RFC 09/13] mk: new corelib makefile

2015-01-12 Thread Sergio Gonzalez Monroy
This patch creates a new rte.corelib.mk file and updates core libraries to use it. Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_eal/bsdapp/eal/Makefile | 2 +- lib/core/librte_eal/linuxapp/eal/Makefile | 3 +- lib/core/librte_malloc/Makefile | 2 +- lib/core/librte_mb

[dpdk-dev] [PATCH RFC 08/13] Update path of core libraries

2015-01-12 Thread Sergio Gonzalez Monroy
Update path to libraries inside core subdirectory. Signed-off-by: Sergio Gonzalez Monroy --- app/test/test_eal_fs.c | 2 +- lib/Makefile | 6 +- lib/core/librte_eal/bsdapp/eal/Makefile| 14 +++--- lib/core/librte_eal

[dpdk-dev] [PATCH RFC 07/13] core: move librte_ring to core subdir

2015-01-12 Thread Sergio Gonzalez Monroy
This is equivalent to: git mv lib/librte_ring lib/core Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_ring/Makefile | 48 ++ lib/core/librte_ring/rte_ring.c | 338 +++ lib/core/librte_ring/rte_ring.h | 1214 +++ lib/librte_ring/Makefil

[dpdk-dev] [PATCH RFC 06/13] core: move librte_mbuf to core subdir

2015-01-12 Thread Sergio Gonzalez Monroy
This is equivalent to: git mv lib/librte_mbuf lib/core Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_mbuf/Makefile | 48 ++ lib/core/librte_mbuf/rte_mbuf.c | 252 + lib/core/librte_mbuf/rte_mbuf.h | 1133 +++ lib/librte_mbuf/Makefile

[dpdk-dev] [PATCH RFC 05/13] core: move librte_mempool to core subdir

2015-01-12 Thread Sergio Gonzalez Monroy
This is equivalent to: git mv lib/librte_mempool lib/core Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_mempool/Makefile | 51 + lib/core/librte_mempool/rte_dom0_mempool.c | 134 +++ lib/core/librte_mempool/rte_mempool.c | 901 ++ lib/core/librte_m

[dpdk-dev] [PATCH RFC 04/13] core: move librte_malloc to core subdir

2015-01-12 Thread Sergio Gonzalez Monroy
This is equivalent to: git mv lib/librte_malloc lib/core Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_malloc/Makefile | 48 + lib/core/librte_malloc/malloc_elem.c | 321 lib/core/librte_malloc/malloc_elem.h | 190 +++ lib/c

[dpdk-dev] [PATCH RFC 03/13] core: move librte_eal to core subdir

2015-01-12 Thread Sergio Gonzalez Monroy
This is equivalent to: git mv lib/librte_eal lib/core Signed-off-by: Sergio Gonzalez Monroy --- lib/core/librte_eal/Makefile |39 + lib/core/librte_eal/bsdapp/Makefile|38 + lib/core/librte_eal/bsdapp/contigmem/BSDmakefile |36 + lib/core/libr

[dpdk-dev] [PATCH RFC 02/13] lib/core: create new core dir and makefiles

2015-01-12 Thread Sergio Gonzalez Monroy
This patch creates a new subdirectory 'core' which contains DPDK core libraries. The goal is to generate a librte_core library that contains all libraries under the core subdirectory. For that purpose, a synthetic library librte_core is created. When building the DPDK, all object files from core

[dpdk-dev] [PATCH RFC 01/13] mk: Remove combined library and related options

2015-01-12 Thread Sergio Gonzalez Monroy
Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME. Signed-off-by: Sergio Gonzalez Monroy --- config/common_bsdapp| 6 -- config/common_linuxapp | 6 -- config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - lib/Makefile

[dpdk-dev] [PATCH RFC 00/13] Update build system

2015-01-12 Thread Sergio Gonzalez Monroy
This patch series updates the DPDK build system. Following are the goals it tries to accomplish: - Create a library containing core DPDK libraries (librte_eal, librte_malloc, librte_mempool, librte_mbuf and librte_ring). The idea of core libraries is to group those libraries that are alw

[dpdk-dev] [PATCH v6 4/6] ether: Check VMDq RSS mode

2015-01-12 Thread Vlad Zolotarov
On 01/12/15 07:59, Ouyang Changchun wrote: > Check mq mode for VMDq RSS, handle it correctly instead of returning an error; > Also remove the limitation of per pool queue number has max value of 1, > because > the per pool queue number could be 2 or 4 if it is VMDq RSS mode; > > The number of rxq

[dpdk-dev] [PATCH v6 6/6] testpmd: Set Rx VMDq RSS mode

2015-01-12 Thread Vlad Zolotarov
On 01/12/15 07:59, Ouyang Changchun wrote: > Set VMDq RSS mode if it has VF(VF number is more than 1) and has RSS > information. > > Signed-off-by: Changchun Ouyang Reviewed-by: Vlad Zolotarov > > changes in v6 >- Put common statement outside the if branch. > > changes in v5 >- Assig

[dpdk-dev] [PATCH v6 5/6] ixgbe: Config VF RSS

2015-01-12 Thread Vlad Zolotarov
On 01/12/15 07:59, Ouyang Changchun wrote: > It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. > > The psrtype will determine how many queues the received packets will > distribute to, > and the value of psrtype should depends on both facet: max VF rxq number which > has be

[dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode

2015-01-12 Thread Vlad Zolotarov
On 01/12/15 05:41, Ouyang, Changchun wrote: > > *From:*Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > *Sent:* Friday, January 09, 2015 9:50 PM > *To:* Ouyang, Changchun; dev at dpdk.org > *Subject:* Re: [dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode > > On 01/09/15 07:54, Ouyang, Ch

[dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode

2015-01-12 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Monday, January 12, 2015 3:45 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode > > Date: Mon, 12 Jan 2015 15:39:41 +0100 > Message-Id: <1421073581

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-12 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Monday, January 12, 2015 3:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe > > Date: Mon, 12 Jan 2015 15:39:40 +0100 > Message-Id: <14210735

[dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver

2015-01-12 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Monday, January 12, 2015 3:41 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver > > Date: Mon, 12 Jan 2015 15:39:39 +0100 > Message-I

[dpdk-dev] [PATCH v2 4/4] ethdev: remove old APIs and structures of ethertype filter

2015-01-12 Thread Jingjing Wu
Structure rte_ethertype_filter is removed. Following APIs are removed: - rte_eth_dev_add_ethertype_filter - rte_eth_dev_remove_ethertype_filter - rte_eth_dev_get_ethertype_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 57 lib/librte_ethe

[dpdk-dev] [PATCH v2 3/4] testpmd: new commands for ethertype filter

2015-01-12 Thread Jingjing Wu
Following commands of ethertype filter are removed: - add_ethertype_filter (port_id) ethertype (eth_value) - remove_ethertype_filter (port_id) index (idx) - get_ethertype_filter (port_id) index (idx) New command is added for ethertype filter by using filter_ctrl API and new ethertype filter s

[dpdk-dev] [PATCH v2 2/4] e1000: new functions replace old ones for ethertype filter

2015-01-12 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filter in igb driver. It also defines eth_igb_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 13 ++

[dpdk-dev] [PATCH v2 1/4] ixgbe: new functions replace old ones for ethertype filter

2015-01-12 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filter in ixgbe driver. It also defines ixgbe_dev_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 35

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

2015-01-12 Thread Jingjing Wu
v2 changes: change the return value if adding an existing filter from the filter's index to negative value. The patch set uses new filter_ctrl API to replace old ethertype filter APIs. It uses new functions and structure to replace old ones in igb/ixgbe driver, new commands to replace old on

[dpdk-dev] daemon process problem in DPDK

2015-01-12 Thread Ni, Xun
Hello: I have basic questions related to dpdk and trying to find help. I am about to create a daemon process, is there a way for other process to know whether the daemon is already created? I doesn't mean to get the pid, because it changes every time. If the daemon is created, how do

[dpdk-dev] [PATCH v6 6/6] testpmd: Set Rx VMDq RSS mode

2015-01-12 Thread Ouyang Changchun
Set VMDq RSS mode if it has VF(VF number is more than 1) and has RSS information. Signed-off-by: Changchun Ouyang changes in v6 - Put common statement outside the if branch. changes in v5 - Assign txmode.mq_mode with ETH_MQ_TX_NONE explicitly; - Remove one line wrong comment. --- app/t

[dpdk-dev] [PATCH v6 5/6] ixgbe: Config VF RSS

2015-01-12 Thread Ouyang Changchun
It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. The psrtype will determine how many queues the received packets will distribute to, and the value of psrtype should depends on both facet: max VF rxq number which has been negotiated with PF, and the number of rxq specified

[dpdk-dev] [PATCH v6 4/6] ether: Check VMDq RSS mode

2015-01-12 Thread Ouyang Changchun
Check mq mode for VMDq RSS, handle it correctly instead of returning an error; Also remove the limitation of per pool queue number has max value of 1, because the per pool queue number could be 2 or 4 if it is VMDq RSS mode; The number of rxq specified in config will determine the mq mode for VMDq

[dpdk-dev] [PATCH v6 3/6] ixgbe: Get VF queue number

2015-01-12 Thread Ouyang Changchun
Get the available Rx and Tx queue number when receiving IXGBE_VF_GET_QUEUES message from VF. Signed-off-by: Changchun Ouyang changes in v5 - Add some 'FIX ME' comments for IXGBE_VF_TRANS_VLAN. --- lib/librte_pmd_ixgbe/ixgbe_pf.c | 40 +++- 1 file changed,

[dpdk-dev] [PATCH v6 2/6] ixgbe: Negotiate VF API version

2015-01-12 Thread Ouyang Changchun
Negotiate API version with VF when receiving the IXGBE_VF_API_NEGOTIATE message. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 1 + lib/librte_pmd_ixgbe/ixgbe_pf.c | 25 + 2 files changed, 26 insertions(+) diff --git a/lib/librte_pmd_ixgb

[dpdk-dev] [PATCH v6 1/6] ixgbe: Code cleanup

2015-01-12 Thread Ouyang Changchun
Put global register configuring out of loop for queue; also fix typo and indent. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/li

[dpdk-dev] [PATCH v6 0/6] Enable VF RSS for Niantic

2015-01-12 Thread Ouyang Changchun
This patch enables VF RSS for Niantic, which allow each VF having at most 4 queues. The actual queue number per VF depends on the total number of pool, which is determined by the max number of VF at PF initialization stage and the number of queue specified in config: 1) If the max number of VF is

[dpdk-dev] [PATCH RFC 00/13] Update build system

2015-01-12 Thread Neil Horman
On Mon, Jan 12, 2015 at 05:21:48PM +, Gonzalez Monroy, Sergio wrote: > Hi Thomas, > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Monday, January 12, 2015 4:52 PM > > > > Hi Sergio, > > > > 2015-01-12 16:33, Sergio Gonzalez Monroy: > > > This patch series updates

[dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine

2015-01-12 Thread Olivier MATZ
Hi Jijiang, Please find some comments below. On 01/12/2015 04:41 AM, Liu, Jijiang wrote: > There are some examples for the different packet types: > > 1. For L2 Packet types: > MAC, ARP > MAC, PAY2 > ... > They are forwarded without beeing modified no matter if these above commands > are set.

[dpdk-dev] What is the best way to distribute a DPDK-based app?

2015-01-12 Thread Bruce Richardson
On Sun, Jan 11, 2015 at 07:10:30PM +0200, Vlad Zolotarov wrote: > Hi, > guys could you share form your experience what is the best way to distribute > the DPDK libraries with the DPDK-based app: > > * Is there any significant benefit in compiling the libraries on a >target machine? > * Is th

[dpdk-dev] KNI interface operational state UP issue

2015-01-12 Thread Bruce Richardson
On Fri, Jan 09, 2015 at 05:20:26PM -0800, Aziz Hajee wrote: > I am using the dpdk1.6.0r1 > The rte_kni.lo is loaded: > lsmod | grep kni > rte_kni 279134 1 > > however, the ifconfig vEth0, and vEth1 does not show link up ? > How do i get the operational state up for these interfaces.

[dpdk-dev] Cross-compilation of bsdapp on Ubuntu

2015-01-12 Thread Bruce Richardson
On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote: > Hi, > > Has anyone successfully cross compiled bsdapp on Ubuntu or other linux > flavor? From the Linux documentation I see > > "To compile all 64-bit targets using gcc, use: > > make install T=x86_64*gcc" > > which makes me believe

[dpdk-dev] daemon process problem in DPDK

2015-01-12 Thread Stephen Hemminger
On Mon, 12 Jan 2015 09:52:10 -0500 Neil Horman wrote: > On Mon, Jan 12, 2015 at 02:28:20PM +, Ni, Xun wrote: > > Hello: > > > >I have basic questions related to dpdk and trying to find help. > > > >I am about to create a daemon process, is there a way for other process > > to know

[dpdk-dev] daemon process problem in DPDK

2015-01-12 Thread Neil Horman
On Mon, Jan 12, 2015 at 02:28:20PM +, Ni, Xun wrote: > Hello: > >I have basic questions related to dpdk and trying to find help. > >I am about to create a daemon process, is there a way for other process to > know whether the daemon is already created? I doesn't mean to get the pid,

[dpdk-dev] What is the best way to distribute a DPDK-based app?

2015-01-12 Thread Neil Horman
On Mon, Jan 12, 2015 at 11:30:26AM +, Bruce Richardson wrote: > On Sun, Jan 11, 2015 at 07:10:30PM +0200, Vlad Zolotarov wrote: > > Hi, > > guys could you share form your experience what is the best way to distribute > > the DPDK libraries with the DPDK-based app: > > > > * Is there any signi

[dpdk-dev] Cross-compilation of bsdapp on Ubuntu

2015-01-12 Thread Neil Horman
On Mon, Jan 12, 2015 at 11:21:32AM +, Bruce Richardson wrote: > On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote: > > Hi, > > > > Has anyone successfully cross compiled bsdapp on Ubuntu or other linux > > flavor? From the Linux documentation I see > > > > "To compile all 64-bit targ

[dpdk-dev] [PATCH v2] i40e: workaround for XL710 performance

2015-01-12 Thread Zhang, Helin
Thank you, Jingjing! Regards, Helin > -Original Message- > From: Wu, Jingjing > Sent: Monday, January 12, 2015 3:34 PM > To: Zhang, Helin; dev at dpdk.org > Cc: nhorman at tuxdriver.com; Xu, Qian Q; Cao, Waterman; Lu, Patrick; Liu, > Jijiang > Subject: RE: [PATCH v2] i40e: workaround for

[dpdk-dev] [PATCH v2] i40e: workaround for XL710 performance

2015-01-12 Thread Wu, Jingjing
> -Original Message- > From: Zhang, Helin > Sent: Monday, December 29, 2014 9:41 AM > To: dev at dpdk.org > Cc: nhorman at tuxdriver.com; Xu, Qian Q; Cao, Waterman; Lu, Patrick; Liu, > Jijiang; Wu, Jingjing; Zhang, Helin > Subject: [PATCH v2] i40e: workaround for XL710 performance > > On

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

2015-01-12 Thread Zhang, Helin
Acked-by: Helin Zhang > -Original Message- > From: Wu, Jingjing > Sent: Monday, January 12, 2015 3:16 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Cao, Min > Subject: [PATCH v2 0/4] Integrate ethertype filter in igb/ixgbe driver to new > API > > v2 changes: > change the

[dpdk-dev] [PATCH 2/2] testpmd: fix dcb in vt mode

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:41 +0100 Message-Id: <1421073581-6644-3-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> References: <1421073581-6644-1-git-send-email-michalx.k.jastrze

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:40 +0100 Message-Id: <1421073581-6644-2-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> References: <1421073581-6644-1-git-send-email-michalx.k.jastrze

[dpdk-dev] [PATCH 0/2] Enable DCB in SRIOV mode for ixgbe driver

2015-01-12 Thread Michal Jastrzebski
Date: Mon, 12 Jan 2015 15:39:39 +0100 Message-Id: <1421073581-6644-1-git-send-email-michalx.k.jastrzebski at intel.com> X-Mailer: git-send-email 2.1.1 From: Pawel Wodkowski Hi, this patchset enables DCB in SRIOV (ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB) for each VF and PF for ixgbe driver.

[dpdk-dev] [PATCH RFC 0/7] unification of flow types and RSS offload types

2015-01-12 Thread Zhang, Helin
Hello Does anybody has any more review comments or ideas for this? I will send out the formal patch soon. Thanks a lot! Regards, Helin > -Original Message- > From: Zhang, Helin > Sent: Friday, December 19, 2014 3:27 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Liu, Jijiang; Chen, Jing D

[dpdk-dev] [PATCH v5 5/6] ixgbe: Config VF RSS

2015-01-12 Thread Ouyang, Changchun
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Friday, January 9, 2015 10:02 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 5/6] ixgbe: Config VF RSS > > > On 01/09/15 08:07, Ouyang, Changchun wrote: > > > >> -

[dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine

2015-01-12 Thread Liu, Jijiang
Hi, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Friday, January 9, 2015 6:45 PM > To: Ananyev, Konstantin; Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and > csum forwarding engine > > Hi,

[dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode

2015-01-12 Thread Ouyang, Changchun
From: Vlad Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Friday, January 09, 2015 9:50 PM To: Ouyang, Changchun; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode On 01/09/15 07:54, Ouyang, Changchun wrote: -Original Message- From: Vlad Zolota

[dpdk-dev] [PATCH 2/4] e1000: new functions replace old ones for ethertype filters

2015-01-12 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, December 25, 2014 11:14 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Cao, Waterman > Subject: [PATCH 2/4] e1000: new functions replace old ones for ethertype > filters > > This patch removes old functions which de

[dpdk-dev] [PATCH v3] i40e: workaround for X710 performance issues

2015-01-12 Thread Wu, Jingjing
Thanks, Thomas. I supposed to review another patch for XL710 performance. Due to the similar patch subject, I reviewed this applied patch. > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, January 09, 2015 11:48 PM > To: Wu, Jingjing > Cc:

[dpdk-dev] [PATCH v3] i40e: workaround for X710 performance issues

2015-01-12 Thread Zhang, Helin
Hi Thomas, Jingjing I guess Jingjing intended to ack another patch, which is for XL710 performance enhancement. Thanks for the good catch! Regards, Helin > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, January 9, 2015 11:48 PM > To: Wu,