[dpdk-dev] Clarification for eth_driver changes

2016-11-10 Thread Jianbo Liu
Hi Thomas, On 10 November 2016 at 16:58, Thomas Monjalon wrote: > 2016-11-10 14:12, Shreyansh Jain: >> On Thursday 10 November 2016 01:33 PM, Thomas Monjalon wrote: >> > 2016-11-10 15:51, Jianbo Liu: >> >> On 10 November 2016 at 15:26, Shreyansh Jain &g

[dpdk-dev] Clarification for eth_driver changes

2016-11-10 Thread Jianbo Liu
On 10 November 2016 at 15:26, Shreyansh Jain wrote: > Hello David, list, > > I need some help and clarification regarding some changes I am doing to > cleanup the EAL code. > > There are some changes which should be done for eth_driver/rte_eth_device > structures: > > 1. most obvious, eth_driver

[dpdk-dev] [PATCH v7 11/21] eal/soc: implement probing of drivers

2016-11-10 Thread Jianbo Liu
On 10 November 2016 at 14:10, Shreyansh Jain wrote: > On Thursday 10 November 2016 09:00 AM, Jianbo Liu wrote: >> >> On 28 October 2016 at 20:26, Shreyansh Jain >> wrote: >>> >>> Each SoC PMD registers a set of callback for scanning its own bus/infra >&

[dpdk-dev] [PATCH v7 06/21] eal/soc: introduce very essential SoC infra definitions

2016-11-10 Thread Jianbo Liu
On 28 October 2016 at 20:26, Shreyansh Jain wrote: > From: Jan Viktorin > > Define initial structures and functions for the SoC infrastructure. > This patch supports only a very minimal functions for now. > More features will be added in the following commits. > > Includes rte_device/rte_driver

[dpdk-dev] [PATCH v7 11/21] eal/soc: implement probing of drivers

2016-11-10 Thread Jianbo Liu
On 28 October 2016 at 20:26, Shreyansh Jain wrote: > Each SoC PMD registers a set of callback for scanning its own bus/infra and > matching devices to drivers when probe is called. > This patch introduces the infra for calls to SoC scan on rte_eal_soc_init() > and match on rte_eal_soc_probe(). >

[dpdk-dev] [PATCH v7 08/21] eal/soc: implement SoC device list and dump

2016-11-10 Thread Jianbo Liu
On 28 October 2016 at 20:26, Shreyansh Jain wrote: > From: Jan Viktorin > > SoC devices would be linked in a separate list (from PCI). This is used for > probe function. > A helper for dumping the device list is added. > > Signed-off-by: Jan Viktorin > Signed-off-by: Shreyansh Jain >

[dpdk-dev] [PATCH v7 03/21] eal/linux: generalize PCI kernel unbinding driver to EAL

2016-11-10 Thread Jianbo Liu
On 28 October 2016 at 20:26, Shreyansh Jain wrote: > From: Jan Viktorin > > Generalize the PCI-specific pci_unbind_kernel_driver. It is now divided > into two parts. First, determination of the path and string identification > of the device to be unbound. Second, the actual unbind operation

[dpdk-dev] [PATCH v3] doc: arm64: document DPDK application profiling methods

2016-11-08 Thread Jianbo Liu
t; ++- > 1 file changed, 63 insertions(+), 1 deletion(-) > Acked-by: Jianbo Liu

[dpdk-dev] [PATCH 1/2] arch/arm: fix file descriptors leakage when getting CPU features

2016-11-04 Thread Jianbo Liu
Hi Jan, On 4 November 2016 at 15:24, wrote: > Hello Jianbo Liu, > > thank you, a good catch! > > Can you please git blame for the commit introducing the issue and add > the "Fixes:" tag as described in [1]? > > Same for ppc. > I will send v2 soon. T

[dpdk-dev] [PATCH v2 2/2] arch/ppc: fix file descriptor leakage when getting CPU features

2016-11-04 Thread Jianbo Liu
close the file descriptor after finish using it. Fixes: 9ae15538 (eal/ppc: cpu flag checks for IBM Power) Signed-off-by: Jianbo Liu --- lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c b/lib

[dpdk-dev] [PATCH v2 1/2] arch/arm: fix file descriptor leakage when getting CPU features

2016-11-04 Thread Jianbo Liu
close the file descriptor after finish using it. Fixes: b94e5c94 (eal/arm: add CPU flags for ARMv7) Fixes: 97523f82 (eal/arm: add CPU flags for ARMv8) Signed-off-by: Jianbo Liu --- lib/librte_eal/common/arch/arm/rte_cpuflags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal

[dpdk-dev] [PATCH 2/2] arch/ppc: fix file descriptors leakage when getting CPU features

2016-11-04 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c b/lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c index a8147c8..fcf96e0 100644 --- a/lib/librte_eal/common/arch

[dpdk-dev] [PATCH 1/2] arch/arm: fix file descriptors leakage when getting CPU features

2016-11-04 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- lib/librte_eal/common/arch/arm/rte_cpuflags.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/arch/arm/rte_cpuflags.c b/lib/librte_eal/common/arch/arm/rte_cpuflags.c index 23240ef..79160a6 100644 --- a/lib/librte_eal/common/arch/arm

[dpdk-dev] [PATCH v7 0/7] vhost: optimize mergeable Rx path

2016-10-18 Thread Jianbo Liu
--- > 4 files changed, 149 insertions(+), 85 deletions(-) > Reviewed-by: Jianbo Liu

[dpdk-dev] [PATCH v2 5/5] maintainers: claim i40e vector PMD on ARM

2016-10-14 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8f5fa82..621bda6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -151,6 +151,7 @@ F: lib/librte_acl/acl_run_neon.* F: lib/librte_lpm/rte_lpm_neon.h F: lib/librte_hash/rte

[dpdk-dev] [PATCH v2 4/5] i40e: make vector driver filenames consistent

2016-10-14 Thread Jianbo Liu
To be consistent with the naming for ARM NEON implementation, i40e_rxtx_vec.c is renamed to i40e_rxtx_vec_sse.c. Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 ++-- drivers/net/i40e/{i40e_rxtx_vec.c => i40e_rxtx_vec_sse.c} | 0 2 files changed

[dpdk-dev] [PATCH v2 3/5] i40e: enable i40e vector PMD on ARMv8a platform

2016-10-14 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - doc/guides/nics/features/i40e_vec.ini | 1 + doc/guides/nics/features/i40e_vf_vec.ini | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config

[dpdk-dev] [PATCH v2 2/5] i40e: implement vector PMD for ARM architecture

2016-10-14 Thread Jianbo Liu
Use ARM NEON intrinsic to implement i40e vPMD Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 + drivers/net/i40e/i40e_rxtx_vec_neon.c | 614 ++ 2 files changed, 618 insertions(+) create mode 100644 drivers/net/i40e/i40e_rxtx_vec_neon.c

[dpdk-dev] [PATCH v2 1/5] i40e: extract non-x86 specific code from vector driver

2016-10-14 Thread Jianbo Liu
move scalar code which does not use x86 intrinsic functions to new file "i40e_rxtx_vec_common.h", while keeping x86 code in i40e_rxtx_vec.c. This allows the scalar code to to be shared among vector drivers for different platforms. Signed-off-by: Jianbo Liu --- drivers/net/i40e/i40e_

[dpdk-dev] [PATCH v2 0/5] i40e: vector poll-mode driver on ARM64

2016-10-14 Thread Jianbo Liu
This patch set is to implement i40e vector PMD on ARM64. For x86, vPMD is only reorganized, there should be no performance loss. v1 -> v2 - rebase to dpdk-next-net/rel_16_11 Jianbo Liu (5): i40e: extract non-x86 specific code from vector driver i40e: implement vector PMD for ARM architect

[dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue

2016-10-13 Thread Jianbo Liu
Hi Thomas, On 12 October 2016 at 23:31, Thomas Monjalon wrote: > Sorry guys, you lost me in the discussion. > > Is there some regression only on ARM? > Does it need some work specifically on memcpy for ARM, I don't know if there is common way to improve memcpy on different ARM hardware. Even

[dpdk-dev] [PATCH 1/5] i40e: extract non-x86 specific code from vector driver

2016-10-13 Thread Jianbo Liu
On 12 October 2016 at 10:55, Zhang, Qi Z wrote: > Hi Jianbo > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu >> Sent: Wednesday, August 24, 2016 5:54 PM >> To: Zhang, Helin ; Wu, Jingjing >> ; je

[dpdk-dev] [PATCH 2/5] i40e: implement vector PMD for ARM architecture

2016-10-13 Thread Jianbo Liu
On 12 October 2016 at 10:46, Zhang, Qi Z wrote: > Hi Jianbo: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu >> Sent: Wednesday, August 24, 2016 5:54 PM >> To: Zhang, Helin ; Wu, Jingjing >> ; je

[dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue

2016-10-10 Thread Jianbo Liu
On 10 October 2016 at 14:22, Wang, Zhihong wrote: > > >> -Original Message----- >> From: Jianbo Liu [mailto:jianbo.liu at linaro.org] >> Sent: Monday, October 10, 2016 1:32 PM >> To: Yuanhan Liu >> Cc: Wang, Zhihong ; Maxime Coquelin >> ; dev at dpd

[dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue

2016-10-10 Thread Jianbo Liu
On 10 October 2016 at 10:44, Yuanhan Liu wrote: > On Sun, Oct 09, 2016 at 12:09:07PM +, Wang, Zhihong wrote: >> > > > Tested with testpmd, host: txonly, guest: rxonly >> > > > size (bytes) improvement (%) >> > > > 644.12 >> > > > 128 6 >> > > > 256

[dpdk-dev] [PATCH v3 00/15] Introduce SoC device/driver framework for EAL

2016-09-18 Thread Jianbo Liu
On 18 September 2016 at 15:22, Jan Viktorin wrote: > On Sun, 18 Sep 2016 13:58:50 +0800 > Jianbo Liu wrote: > >> On 9 September 2016 at 16:43, Shreyansh Jain >> wrote: >> > Introduction: >> > = >> > >> > This patch

[dpdk-dev] [PATCH v3 00/15] Introduce SoC device/driver framework for EAL

2016-09-18 Thread Jianbo Liu
On 9 September 2016 at 16:43, Shreyansh Jain wrote: > Introduction: > = > > This patch set is direct derivative of Jan's original series [1],[2]. > > - As this deviates substantially from original series, if need be I can >post it as a separate patch rather than v2. Please

[dpdk-dev] [PATCH 5/5] maintainers: claim i40e vector PMD on ARM

2016-08-24 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6536c6b..5d6ecba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -150,6 +150,7 @@ F: lib/librte_acl/acl_run_neon.* F: lib/librte_lpm/rte_lpm_neon.h F: lib/librte_hash/rte

[dpdk-dev] [PATCH 4/5] i40e: make vector driver filenames consistent

2016-08-24 Thread Jianbo Liu
To be consistent with the naming for ARM NEON implementation, i40e_rxtx_vec.c is renamed to i40e_rxtx_vec_sse.c. Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 ++-- drivers/net/i40e/{i40e_rxtx_vec.c => i40e_rxtx_vec_sse.c} | 0 2 files changed

[dpdk-dev] [PATCH 3/5] i40e: enable i40e vector PMD on ARMv8a platform

2016-08-24 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - doc/guides/nics/features/i40e_vec.ini | 1 + doc/guides/nics/features/i40e_vf_vec.ini | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config

[dpdk-dev] [PATCH 2/5] i40e: implement vector PMD for ARM architecture

2016-08-24 Thread Jianbo Liu
Use ARM NEON intrinsic to implement i40e vPMD Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 + drivers/net/i40e/i40e_rxtx_vec_neon.c | 581 ++ 2 files changed, 585 insertions(+) create mode 100644 drivers/net/i40e/i40e_rxtx_vec_neon.c

[dpdk-dev] [PATCH 1/5] i40e: extract non-x86 specific code from vector driver

2016-08-24 Thread Jianbo Liu
move scalar code which does not use x86 intrinsic functions to new file "i40e_rxtx_vec_common.h", while keeping x86 code in i40e_rxtx_vec.c. This allows the scalar code to to be shared among vector drivers for different platforms. Signed-off-by: Jianbo Liu --- drivers/net/i40e/i40e_

[dpdk-dev] [PATCH 0/5] i40e: vector poll-mode driver on ARM64

2016-08-24 Thread Jianbo Liu
This patch set is to implement i40e vector PMD on ARM64. For x86, vPMD is only reorganized, there should be no performance loss. Jianbo Liu (5): i40e: extract non-x86 specific code from vector driver i40e: implement vector PMD for ARM architecture i40e: enable i40e vector PMD on ARMv8a

[dpdk-dev] [PATCH v3] i40e: enable i40e pmd on ARM platform

2016-08-05 Thread Jianbo Liu
And add read memory barrier to avoid status inconsistency between two RX descriptors readings. Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 2 +- doc/guides/nics/features/i40e.ini | 1 + drivers/net/i40e/i40e_rxtx.c | 2 ++ 3 files changed, 4

[dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform

2016-08-03 Thread Jianbo Liu
On 3 August 2016 at 16:29, Ananyev, Konstantin wrote: > > Hi Jianbo, > >> > Hi, Jianbo >> > >> > I have tested you patch on my X86 platform, the single core performance >> > for Non-vector PMD will have about 1Mpps drop >> > Non-vector PMD single core performance with patch :

[dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform

2016-08-03 Thread Jianbo Liu
Hi Thomas, On 3 August 2016 at 15:58, Thomas Monjalon wrote: > 2016-08-03 14:02, Jianbo Liu: >> I think we can place a compiling condition before rte_rmb() to avoid >> performance decrease on x86. >> For example: #if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) > &g

[dpdk-dev] [PATCH v2] i40e: enable i40e pmd on ARM platform

2016-08-03 Thread Jianbo Liu
And add read memory barrier to avoid status inconsistency between two RX descriptors readings. Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 2 +- doc/guides/nics/overview.rst | 2 +- drivers/net/i40e/i40e_rxtx.c | 2 ++ 3 files changed

[dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform

2016-08-03 Thread Jianbo Liu
) Thanks! Jianbo > BRs > Lei > > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu > Sent: Tuesday, August 2, 2016 2:58 PM > To: dev at dpdk.org; Zhang, Helin ; Wu, Jingjing > > Cc: Jianbo Liu > Subject: [dpdk-dev] [PA

[dpdk-dev] [PATCH] i40e: enable i40e pmd on ARM platform

2016-08-02 Thread Jianbo Liu
And add read memory barrier to avoid status inconsistency between two RX descriptors readings. Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 2 +- doc/guides/nics/overview.rst | 2 +- drivers/net/i40e/i40e_rxtx.c | 2 ++ 3 files changed

[dpdk-dev] [PATCH v3 4/4] virtio: add neon support

2016-07-06 Thread Jianbo Liu
+ > 5 files changed, 243 insertions(+) > create mode 100644 drivers/net/virtio/virtio_rxtx_simple_neon.c > Acked-by: Jianbo Liu

[dpdk-dev] [PATCH 3/4] virtio: move SSE based Rx implementation to separate file

2016-06-28 Thread Jianbo Liu
On 27 June 2016 at 19:54, Jerin Jacob wrote: > split out SSE instruction based virtio simple rx > implementation to a separate file > > Signed-off-by: Jerin Jacob > --- > drivers/net/virtio/virtio_rxtx_simple.c | 166 +--- > drivers/net/virtio/virtio_rxtx_simple_sse.h | 225

[dpdk-dev] [PATCH] arm64: change rte_memcpy to inline function

2016-06-22 Thread Jianbo Liu
On 17 June 2016 at 18:30, Thomas Monjalon wrote: > 2016-05-19 17:56, Thomas Monjalon: >> 2016-05-19 21:48, Jianbo Liu: >> > On 13 May 2016 at 23:49, Thomas Monjalon >> > wrote: >> > > 2016-05-10 14:01, Jianbo Liu: >> > >> Other APP may

[dpdk-dev] [PATCH] ixgbe: use rte_mbuf_prefetch_part2 for cacheline1 access

2016-06-20 Thread Jianbo Liu
refetch_part2(rx_pkts[pos + 1]); > + rte_mbuf_prefetch_part2(rx_pkts[pos + 2]); > + rte_mbuf_prefetch_part2(rx_pkts[pos + 3]); > } > > /* D.1 pkt 3,4 convert format from desc to pktmbuf */ > -- > 2.5.5 > Reviewed-by: Jianbo Liu

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Jianbo Liu
On 2 June 2016 at 15:10, Olivier MATZ wrote: > Hi Jianbo, > > On 06/01/2016 05:29 AM, Jianbo Liu wrote: >>> enum rte_mbuf_prefetch_type { >>> > PREFETCH0, >>> > PREFETCH1, >>> > ... >>> > }; >>> > >

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-02 Thread Jianbo Liu
On 1 June 2016 at 14:00, Jerin Jacob wrote: > On Wed, Jun 01, 2016 at 11:29:47AM +0800, Jianbo Liu wrote: >> On 1 June 2016 at 03:28, Olivier MATZ wrote: >> > Hi Jianbo, >> > >> > On 05/31/2016 05:06 AM, Jianbo Liu wrote: >> >> Cha

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-06-01 Thread Jianbo Liu
On 1 June 2016 at 03:28, Olivier MATZ wrote: > Hi Jianbo, > > On 05/31/2016 05:06 AM, Jianbo Liu wrote: >> Change the inline function to macro with parameters >> >> Signed-off-by: Jianbo Liu >> >> [...] >> --- a/lib/librte_mbuf/rte_mbuf.h >> +++

[dpdk-dev] [PATCH] mbuf: extend rte_mbuf_prefetch_part* to support more prefetching methods

2016-05-31 Thread Jianbo Liu
Change the inline function to macro with parameters Signed-off-by: Jianbo Liu --- drivers/net/fm10k/fm10k_rxtx_vec.c | 8 drivers/net/i40e/i40e_rxtx_vec.c| 8 drivers/net/ixgbe/ixgbe_rxtx_vec.c | 8 drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 12

[dpdk-dev] [PATCH v3 0/4] ixgbe: enable ixgbe vector PMD on ARM

2016-05-27 Thread Jianbo Liu
On 25 May 2016 at 00:12, Bruce Richardson wrote: > On Tue, May 24, 2016 at 05:10:01PM +0100, Bruce Richardson wrote: >> On Fri, May 06, 2016 at 11:55:44AM +0530, Jianbo Liu wrote: >> > Implement ixgbe vPMD on ARM with NEON intrinsic. >> > >> > v3: >> &g

[dpdk-dev] [PATCH v3 2/4] ixgbe: implement vector PMD for arm architecture

2016-05-26 Thread Jianbo Liu
On 25 May 2016 at 20:29, Jerin Jacob wrote: > On Fri, May 06, 2016 at 11:55:46AM +0530, Jianbo Liu wrote: >> use ARM NEON intrinsic to implement ixgbe vPMD >> >> Signed-off-by: Jianbo Liu >> --- >> drivers/net/ixgbe/Makefile | 4 + >> driver

[dpdk-dev] [PATCH] arm64: change rte_memcpy to inline function

2016-05-19 Thread Jianbo Liu
On 13 May 2016 at 23:49, Thomas Monjalon wrote: > 2016-05-10 14:01, Jianbo Liu: >> Other APP may call rte_memcpy by function pointer, >> so change it to an inline function. > > Any example in mind? > It's for ODP-DPDK. >> --- a/lib/librte_eal/common/include/arch/ar

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-13 Thread Jianbo Liu
On 13 May 2016 at 15:47, Jerin Jacob wrote: > On Fri, May 13, 2016 at 03:37:01AM +, Hemant Agrawal wrote: >> >> >> > -Original Message----- >> > From: Jianbo Liu [mailto:jianbo.liu at linaro.org] >> > Sent: Friday, May 13, 2016 7:13 AM >>

[dpdk-dev] [PATCH v1 09/28] eal: introduce --no-soc option

2016-05-13 Thread Jianbo Liu
On 6 May 2016 at 21:47, Jan Viktorin wrote: > This option has the same meaning for the SoC infra as the --no-pci > for the PCI infra. > > Signed-off-by: Jan Viktorin > --- > lib/librte_eal/common/eal_common_options.c | 5 + > lib/librte_eal/common/eal_internal_cfg.h | 1 + >

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-13 Thread Jianbo Liu
On 12 May 2016 at 18:31, Santosh Shukla wrote: > On Thu, May 12, 2016 at 05:52:54PM +0800, Jianbo Liu wrote: >> On 12 May 2016 at 16:57, Santosh Shukla >> wrote: >> > On Thu, May 12, 2016 at 01:54:13PM +0800, Jianbo Liu wrote: >> >> On 12 May 2016 a

[dpdk-dev] [PATCH v1 03/28] eal/linux: extract function rte_eal_unbind_kernel_driver

2016-05-13 Thread Jianbo Liu
On 6 May 2016 at 21:47, Jan Viktorin wrote: > Generalize the PCI-specific pci_unbind_kernel_driver. It is now divided into > two parts. First, determination of the path and string identification of the > device to be unbound. Second, the actual unbind operation which is generic. > >

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-12 Thread Jianbo Liu
On 12 May 2016 at 16:57, Santosh Shukla wrote: > On Thu, May 12, 2016 at 01:54:13PM +0800, Jianbo Liu wrote: >> On 12 May 2016 at 13:06, Santosh Shukla >> wrote: >> > On Thu, May 12, 2016 at 11:42:26AM +0800, Jianbo Liu wrote: >> >> On 12 May 2016 a

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-12 Thread Jianbo Liu
On 12 May 2016 at 13:06, Santosh Shukla wrote: > On Thu, May 12, 2016 at 11:42:26AM +0800, Jianbo Liu wrote: >> On 12 May 2016 at 11:17, Santosh Shukla >> wrote: >> > On Thu, May 12, 2016 at 10:01:05AM +0800, Jianbo Liu wrote: >> >> On 12

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-12 Thread Jianbo Liu
On 12 May 2016 at 11:17, Santosh Shukla wrote: > On Thu, May 12, 2016 at 10:01:05AM +0800, Jianbo Liu wrote: >> On 12 May 2016 at 02:25, Stephen Hemminger >> wrote: >> > On Wed, 11 May 2016 22:32:16 +0530 >> > Jerin Jacob wrote: >> > >> >

[dpdk-dev] [PATCHv3 1/2] config/armv8a: disable igb_uio

2016-05-12 Thread Jianbo Liu
On 12 May 2016 at 02:25, Stephen Hemminger wrote: > On Wed, 11 May 2016 22:32:16 +0530 > Jerin Jacob wrote: > >> On Wed, May 11, 2016 at 08:22:59AM -0700, Stephen Hemminger wrote: >> > On Wed, 11 May 2016 19:17:58 +0530 >> > Hemant Agrawal wrote: >> > >> > > IGB_UIO not supported for arm64

[dpdk-dev] [PATCH v3 2/4] ixgbe: implement vector PMD for arm architecture

2016-05-11 Thread Jianbo Liu
On 10 May 2016 at 22:49, Bruce Richardson wrote: > On Fri, May 06, 2016 at 11:55:46AM +0530, Jianbo Liu wrote: >> use ARM NEON intrinsic to implement ixgbe vPMD >> >> Signed-off-by: Jianbo Liu >> --- >> drivers/net/ixgbe/Makefile | 4 + >>

[dpdk-dev] [PATCH] ixgbe: rename ixgbe_rxtx_vec.c to ixgbe_rxtx_vec_sse.c

2016-05-11 Thread Jianbo Liu
To be consistent with the naming for ARM NEON implementation, ixgbe_rxtx_vec.c is renamed to ixgbe_rxtx_vec_sse.c. Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/Makefile | 2 +- drivers/net/ixgbe/{ixgbe_rxtx_vec.c => ixgbe_rxtx_vec_sse.c} | 0 2 files chan

[dpdk-dev] [PATCH] arm64: change rte_memcpy to inline function

2016-05-10 Thread Jianbo Liu
Other APP may call rte_memcpy by function pointer, so change it to an inline function. Signed-off-by: Jianbo Liu --- lib/librte_eal/common/include/arch/arm/rte_memcpy_64.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/arm

[dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a

2016-05-10 Thread Jianbo Liu
On 10 May 2016 at 00:17, Jerin Jacob wrote: > On Mon, May 09, 2016 at 11:22:15PM +0800, Jianbo Liu wrote: >> On 9 May 2016 at 20:11, Jerin Jacob >> wrote: >> > On Mon, May 09, 2016 at 07:02:36PM +0800, Jianbo Liu wrote: >> >> On 9 May 2016 at 17:06, Jerin

[dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a

2016-05-10 Thread Jianbo Liu
On 9 May 2016 at 20:11, Jerin Jacob wrote: > On Mon, May 09, 2016 at 07:02:36PM +0800, Jianbo Liu wrote: >> On 9 May 2016 at 17:06, Jerin Jacob >> wrote: >> > On Mon, May 09, 2016 at 07:18:22PM +0530, Hemant Agrawal wrote: >> >> This patch introduces dpaa2

[dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a

2016-05-09 Thread Jianbo Liu
On 9 May 2016 at 17:06, Jerin Jacob wrote: > On Mon, May 09, 2016 at 07:18:22PM +0530, Hemant Agrawal wrote: >> This patch introduces dpaa2 machine target to address difference >> in cpu parameter, number of core to 8 and no numa support >> w.r.t default armv8-a machine >> >> Signed-off-by:

[dpdk-dev] [PATCH v3 4/4] maintainers: claim responsibility for ixgbe vector PMD on ARM

2016-05-06 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ba4053a..78b46e2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -142,6 +142,7 @@ F: lib/librte_eal/common/include/arch/arm/*_64.h F: lib/librte_acl/acl_run_neon.* F: lib

[dpdk-dev] [PATCH v3 3/4] ixgbe: enable ixgbe vector PMD on ARMv8a platform

2016-05-06 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 9abeca4..98cc054 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc

[dpdk-dev] [PATCH v3 2/4] ixgbe: implement vector PMD for arm architecture

2016-05-06 Thread Jianbo Liu
use ARM NEON intrinsic to implement ixgbe vPMD Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/Makefile | 4 + drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 561 2 files changed, 565 insertions(+) create mode 100644 drivers/net/ixgbe

[dpdk-dev] [PATCH v3 1/4] ixgbe: rearrange vector PMD code for x86

2016-05-06 Thread Jianbo Liu
move common code to new file "ixgbe_rxtx_vec_common.h", and vPMD for x86 is implemented in ixgbe_rxtx_vec.c Signed-off-by: Jianbo Liu Suggested-by: Bruce Richardson --- drivers/net/ixgbe/ixgbe_rxtx_vec.c| 258 +-- drivers/net/ixgbe/ixgbe_rxtx_vec_comm

[dpdk-dev] [PATCH v3 0/4] ixgbe: enable ixgbe vector PMD on ARM

2016-05-06 Thread Jianbo Liu
Implement ixgbe vPMD on ARM with NEON intrinsic. v3: - rebase to rel_16_07 branch on dpdk-next-net. v2: - move the common code to new header file. Jianbo Liu (4): ixgbe: rearrange vector PMD code for x86 ixgbe: implement vector PMD for arm architecture ixgbe: enable ixgbe vector PMD

[dpdk-dev] [PATCH v2 4/4] maintainers: claim responsibility for ixgbe vector PMD on ARM

2016-04-26 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1953ea2..20158e3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -142,6 +142,7 @@ F: lib/librte_eal/common/include/arch/arm/*_64.h F: lib/librte_acl/acl_run_neon.* F: lib

[dpdk-dev] [PATCH v2 3/4] ixgbe: enable ixgbe vector PMD on ARMv8a platform

2016-04-26 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 9abeca4..98cc054 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc

[dpdk-dev] [PATCH v2 2/4] ixgbe: implement vector PMD for arm architecture

2016-04-26 Thread Jianbo Liu
use ARM NEON intrinsic to implement ixgbe vPMD Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/Makefile | 4 + drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 556 2 files changed, 560 insertions(+) create mode 100644 drivers/net/ixgbe

[dpdk-dev] [PATCH v2 1/4] ixgbe: rearrange vector PMD code for x86

2016-04-26 Thread Jianbo Liu
move common code to new file "ixgbe_rxtx_vec_common.h", and vPMD for x86 is implemented in ixgbe_rxtx_vec.c Signed-off-by: Jianbo Liu Suggested-by: Bruce Richardson --- drivers/net/ixgbe/ixgbe_rxtx_vec.c| 256 +-- drivers/net/ixgbe/ixgbe_rxtx_vec_comm

[dpdk-dev] [PATCH 1/4] ixgbe: rearrange vector PMD code for x86

2016-04-26 Thread Jianbo Liu
On 26 April 2016 at 00:35, Bruce Richardson wrote: > On Wed, Apr 20, 2016 at 09:44:59PM +0800, Jianbo Liu wrote: >> move SSE-dependent code to new file "ixgbe_rxtx_vec_sse.h" >> >> Signed-off-by: Jianbo Liu >> --- >> d

[dpdk-dev] [PATCH 4/4] maintainers: claim responsibility for ixgbe vector PMD on ARM

2016-04-20 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1953ea2..07a9a44 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -142,6 +142,7 @@ F: lib/librte_eal/common/include/arch/arm/*_64.h F: lib/librte_acl/acl_run_neon.* F: lib

[dpdk-dev] [PATCH 3/4] ixgbe: enable ixgbe vector PMD on ARMv8a platform

2016-04-20 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - 1 file changed, 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 9abeca4..98cc054 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc

[dpdk-dev] [PATCH 2/4] ixgbe: implement vector PMD for arm architecture

2016-04-20 Thread Jianbo Liu
use ARM NEON intrinsic to implement ixgbe vPMD Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 4 + drivers/net/ixgbe/ixgbe_rxtx_vec_neon.h | 371 2 files changed, 375 insertions(+) create mode 100644 drivers/net/ixgbe

[dpdk-dev] [PATCH 1/4] ixgbe: rearrange vector PMD code for x86

2016-04-20 Thread Jianbo Liu
move SSE-dependent code to new file "ixgbe_rxtx_vec_sse.h" Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 369 + drivers/net/ixgbe/ixgbe_rxtx_vec_sse.h | 408 + 2 files changed, 409 insertions(+), 368

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-28 Thread Jianbo Liu
Hi Qian, On 28 March 2016 at 10:30, Xu, Qian Q wrote: > Jianbo > Could you tell me the case that can reproduce the issue? We can help evaluate > the impact of performance on ixgbe, but I'm not sure how to check if your > patch really fix a problem because I don?t know how to reproduce the

[dpdk-dev] [RFC 0/6] Flattened Device Tree access from DPDK

2016-03-28 Thread Jianbo Liu
On 26 March 2016 at 09:12, Jan Viktorin wrote: > Hello, > > while extending the DPDK by a kind of platform devices (for the 16.07), an > access to the FDT might be necessary (or at least very helpful). This patch > series for 16.07 introduces an approach to solve this topic. > > The API is

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-25 Thread Jianbo Liu
On 22 March 2016 at 22:27, Ananyev, Konstantin wrote: > > >> -Original Message----- >> From: Jianbo Liu [mailto:jianbo.liu at linaro.org] >> Sent: Monday, March 21, 2016 2:27 AM >> To: Richardson, Bruce >> Cc: Lu, Wenzhuo; Zhang, Helin; Ananyev, Konsta

[dpdk-dev] [PATCH v3 4/4] eal/arm: introduce CONFIG_RTE_ARCH_ARM_NEON_MEMCPY

2016-03-21 Thread Jianbo Liu
On 20 March 2016 at 03:58, Jan Viktorin wrote: > The flag is used to enable memcpy optimizations in EAL. As it is not always > the performance benefit, the flag allows to disable it. > > Signed-off-by: Jan Viktorin > --- > config/defconfig_arm-armv7a-linuxapp-gcc | 1 + >

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-21 Thread Jianbo Liu
On 18 March 2016 at 18:03, Bruce Richardson wrote: > On Thu, Mar 17, 2016 at 10:20:01AM +0800, Jianbo Liu wrote: >> On 16 March 2016 at 19:14, Bruce Richardson >> wrote: >> > On Wed, Mar 16, 2016 at 03:51:53PM +0800, Jianbo Liu wrote: >> >> Hi Wenzhuo, >&

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-17 Thread Jianbo Liu
On 16 March 2016 at 19:14, Bruce Richardson wrote: > On Wed, Mar 16, 2016 at 03:51:53PM +0800, Jianbo Liu wrote: >> Hi Wenzhuo, >> >> On 16 March 2016 at 14:06, Lu, Wenzhuo wrote: >> > HI Jianbo, >> > >> > >> >> -Original

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-16 Thread Jianbo Liu
Hi Wenzhuo, On 16 March 2016 at 14:06, Lu, Wenzhuo wrote: > HI Jianbo, > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu >> Sent: Monday, March 14, 2016 10:26 PM >> To: Zhang, Helin; Ananyev, Konstantin;

[dpdk-dev] [PATCH] ixgbe: avoid unnessary break when checking at the tail of rx hwring

2016-03-14 Thread Jianbo Liu
When checking rx ring queue, it's possible that loop will break at the tail while there are packets still in the queue header. Signed-off-by: Jianbo Liu --- drivers/net/ixgbe/ixgbe_rxtx_vec.c | 68 +- 1 file changed, 38 insertions(+), 30 deletions(-) diff

[dpdk-dev] [ [PATCH v2] 06/13] config: armv7/v8: Enable RTE_LIBRTE_VIRTIO_PMD

2015-12-15 Thread Jianbo Liu
On 14 December 2015 at 21:00, Santosh Shukla wrote: > Enable RTE_LIBRTE_VIRTIO_PMD for armv7/v8 and setting RTE_VIRTIO_INC_VEC=n. > Builds successfully for armv7/v8. > > Signed-off-by: Santosh Shukla > --- > config/defconfig_arm-armv7a-linuxapp-gcc |6 +- >

[dpdk-dev] [PATCH v2 2/3] eal/acl: enable acl for armv7-a

2015-12-08 Thread Jianbo Liu
On 8 December 2015 at 18:03, Thomas Monjalon wrote: > 2015-12-08 15:56, Jianbo Liu: >> On 8 December 2015 at 10:23, Thomas Monjalon >> wrote: >> > 2015-12-08 09:50, Jianbo Liu: >> >> On 8 December 2015 at 09:18, Thomas Monjalon > >> 6wind.com

[dpdk-dev] [PATCH v2 2/3] eal/acl: enable acl for armv7-a

2015-12-08 Thread Jianbo Liu
On 8 December 2015 at 10:23, Thomas Monjalon wrote: > 2015-12-08 09:50, Jianbo Liu: >> On 8 December 2015 at 09:18, Thomas Monjalon >> wrote: >> > 2015-12-03 23:02, Jianbo Liu: >> >> -ifeq ($(CONFIG_RTE_ARCH_ARM64),y) >> >> +ifneq ($(filter

[dpdk-dev] [PATCH v2 2/3] eal/acl: enable acl for armv7-a

2015-12-08 Thread Jianbo Liu
On 8 December 2015 at 09:18, Thomas Monjalon wrote: > 2015-12-03 23:02, Jianbo Liu: >> -ifeq ($(CONFIG_RTE_ARCH_ARM64),y) >> +ifneq ($(filter y,$(CONFIG_RTE_ARCH_ARM) $(CONFIG_RTE_ARCH_ARM64)),) > [...] >> +#ifdef RTE_ARCH_ARM >> +/* NEON intrinsic vqtbl1q_

[dpdk-dev] [PATCH v2 1/3] lpm: make rte_lpm_lookupx4 API definition architecture agnostic

2015-12-07 Thread Jianbo Liu
On 4 December 2015 at 23:14, Jerin Jacob wrote: > -Used architecture agnostic xmm_t to represent 128 bit SIMD variable > > -Introduced vect_* API abstraction in app/test to test rte_lpm_lookupx4 > API in architecture agnostic way > > -Moved rte_lpm_lookupx4 SSE implementation to architecture

[dpdk-dev] [PATCH v2 3/3] maintainers: claim resposibility for ARMv7 and ARMv8

2015-12-03 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4478862..f859985 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -124,10 +124,12 @@ F: doc/guides/sample_app_ug/multi_process.rst ARM v7 M: Jan Viktorin +M: Jianbo

[dpdk-dev] [PATCH v2 2/3] eal/acl: enable acl for armv7-a

2015-12-03 Thread Jianbo Liu
Implement vqtbl1q_u8 intrinsic function, which is not support in armv7-a. Signed-off-by: Jianbo Liu --- config/defconfig_arm-armv7a-linuxapp-gcc | 1 - lib/librte_acl/Makefile | 2 +- lib/librte_acl/rte_acl.c | 5 - lib

[dpdk-dev] [PATCH v2 1/3] eal/arm: use RTE_ARM_EAL_RDTSC_USE_PMU in rte_cycle_32.h

2015-12-03 Thread Jianbo Liu
CONFIG_* from config files can not be used in code. Signed-off-by: Jianbo Liu Acked-by: Jan Viktorin --- lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h b/lib

[dpdk-dev] [PATCH v2 0/3] support acl lib for armv7-a and a small fix

2015-12-03 Thread Jianbo Liu
This patchset includes a small fix in rte_cycle_32.h, and support ACL for armv7-a platform. v2: - select alg as RTE_ACL_CLASSIFY_NEON only when NEON is checked in cpuflags. - remove lpm/table/pipeline patch, and part of change will be merged into Jerin's. Jianbo Liu (3): eal/arm: use

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 18:39, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 16:03, Jerin Jacob >> wrote: >> > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> >> On 2

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 16:03, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 00:41, Jerin Jacob >> wrote: >> > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> >> Adds ARM NEON supp

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 00:41, Jerin Jacob wrote: > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> Adds ARM NEON support for lpm. >> And enables table/pipeline libraries which depend on lpm. > > I already sent the patch on the same yesterday. > We can co

[dpdk-dev] [PATCH 2/4] eal/acl: enable acl for armv7-a

2015-12-02 Thread Jianbo Liu
On 1 December 2015 at 22:46, Jan Viktorin wrote: > On Tue, 1 Dec 2015 20:13:49 +0530 > Jerin Jacob wrote: > >> > enum rte_acl_classify_alg alg = RTE_ACL_CLASSIFY_DEFAULT; >> > >> > -#ifdef RTE_ARCH_ARM64 >> > +#if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) >> > alg =

[dpdk-dev] [PATCH 0/4] support acl/lpm/table/pipeline libs for armv7 and armv8

2015-12-01 Thread Jianbo Liu
On Tue, Dec 01, 2015 at 01:47:23PM +0100, Jan Viktorin wrote: > On Tue, 1 Dec 2015 13:41:12 -0500 > Jianbo Liu wrote: > > > Hi, > > I'm from Linaro.org, and will work on DPDK to make it better > > runing on different ARM Platforms. > > > > This patchset

  1   2   >