[dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation

2015-12-02 Thread Ferruh Yigit
gt; >It seems Ferruh was hesitating about the line where inserting the > >include. I would say I prefer your choice :) > > I acked Ferruh patch. I didn't notice he send patch first. > You can combine both patches :> He has much better description :> Thomas said he prefer this one, let's use this one. Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v2] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
eeding it to final library. Signed-off-by: Ferruh Yigit --- drivers/net/Makefile | 3 +++ lib/Makefile | 3 +++ mk/rte.sdkbuild.mk| 2 +- mk/rte.sharelib.mk| 3 +++ scripts/merge_maps.sh | 29 + 5 files changed, 39 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script

2015-12-03 Thread Ferruh Yigit
On Wed, Dec 02, 2015 at 06:44:19AM -0500, Neil Horman wrote: > On Tue, Dec 01, 2015 at 12:37:37PM +, Robie Basak wrote: > > Re-sending this unsigned since the ML rejected my signed email. > > > > -1 from Ubuntu without further discussion since it will break us. Please > > don't commit this

[dpdk-dev] [PATCH v2] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 02:36:53AM +0100, Thomas Monjalon wrote: > Hi Ferruh, > > Thanks for working on it. > > 2015-12-03 01:22, Ferruh Yigit: > > +ifeq ($(COMBINED_BUILD),1) > > include $(RTE_SDK)/mk/rte.sharelib.mk > > +endif &

[dpdk-dev] [PATCH v3] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
eeding it to final library. Signed-off-by: Ferruh Yigit --- drivers/net/Makefile | 3 +++ lib/Makefile | 3 +++ mk/rte.sdkbuild.mk| 2 +- mk/rte.sharelib.mk| 3 +++ scripts/merge_maps.sh | 29 + 5 files changed, 39 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH v2] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 09:18:49AM +0100, Christian Ehrhardt wrote: > Hi Ferruh, > some minor bash improvements that could be made in the next revision: > > On Thu, Dec 3, 2015 at 2:22 AM, Ferruh Yigit > wrote: > > diff --git a/scripts/merge_maps.sh b/scripts/merge_maps

[dpdk-dev] [PATCH v3] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 03:22:39AM +0100, Thomas Monjalon wrote: > 2015-12-03 02:15, Ferruh Yigit: > > +ifeq ($(COMBINED_BUILD),1) > > include $(RTE_SDK)/mk/rte.sharelib.mk > > +endif > > I still don't understand what was the issue with this include but it > s

[dpdk-dev] [PATCH v4] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
eeding it to final library. Signed-off-by: Ferruh Yigit --- mk/rte.sharelib.mk| 6 +- scripts/merge_maps.sh | 29 + 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100755 scripts/merge_maps.sh diff --git a/mk/rte.sharelib.mk b/mk/rte.shareli

[dpdk-dev] [PATCH v2] mk: fix compile error and ABI versioning for combined shared library

2015-12-03 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 11:18:27AM +, Ferruh Yigit wrote: > On Thu, Dec 03, 2015 at 09:18:49AM +0100, Christian Ehrhardt wrote: > > Hi Ferruh, > > some minor bash improvements that could be made in the next revision: > > > > On Thu, Dec 3, 2015 at 2:22 AM, Ferruh Yi

[dpdk-dev] [PATCH v2] scripts: add git hook scripts for checkpatch and auto doc generation

2015-12-07 Thread Ferruh Yigit
On Thu, Dec 03, 2015 at 11:09:30AM -0800, Thomas Monjalon wrote: > Ferruh, > I have a lot of questions :) > > 2015-11-27 14:34, Ferruh Yigit: > > --- a/scripts/checkpatches.sh > > +++ b/scripts/checkpatches.sh > > @@ -43,6 +43,7 @@ length=${DPDK_CHECKPATCH_LINE_LEN

[dpdk-dev] [PATCH v3] scripts: add git hook scripts for checkpatch and auto doc generation

2015-12-07 Thread Ferruh Yigit
imply links all scripts into proper folder. Script names are significant and shouldn't changed. Signed-off-by: Ferruh Yigit --- mk/rte.sdkinstall.mk | 6 +- scripts/checkpatches.sh | 4 scripts/git-hooks/deploy.sh | 16 scripts/git-hooks/post-commit

[dpdk-dev] VFIO no-iommu

2015-12-16 Thread Ferruh Yigit
On Tue, Dec 15, 2015 at 09:53:18AM -0700, Alex Williamson wrote: > On Tue, 2015-12-15 at 13:43 +, O'Driscoll, Tim wrote: > > > -Original Message- > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alex > > > Williamson > > > Sent: Friday, December 11, 2015 11:03 PM > > > To:

[dpdk-dev] [PATCH] vfio: add no-iommu support

2015-12-21 Thread Ferruh Yigit
successfully run on no-iommu environment. Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c

Re: [dpdk-dev] [PATCH 05/31] net/i40e: set TX loopback from PF

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:11 AM, Wenzhuo Lu wrote: > Support enabling/disabling TX loopback from PF. > User can call the API on PF to enable/disable TX loopback > for all the PF and VFs. > > Signed-off-by: Wenzhuo Lu > --- > drivers/net/i40e/i40e_ethdev.c| 219 >

Re: [dpdk-dev] [PATCH 12/31] net/i40e: set VF MAC from PF support

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:11 AM, Wenzhuo Lu wrote: > Support setting VF MAC address from PF. > User can call the API on PF to set a speific VF's s/speific/specific > MAC address. > > Signed-off-by: Ferruh Yigit <ferruh.yi...@intel.com> <..>

Re: [dpdk-dev] [PATCH 30/31] net/i40e: support Linux VF to configure IRQ link list

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:12 AM, Wenzhuo Lu wrote: > i40e PF host only support to work with DPDK VF driver, Linux > VF driver is not supported. This change will enhance in > configuring IRQ link list. > > This Change will identify VF client by number of vector > requested. DPDK VF will ask only single one

[dpdk-dev] [PATCH] doc: announce driver name changes

2016-07-22 Thread Ferruh Yigit
On 7/22/2016 1:54 PM, Adrien Mazarguil wrote: > Hi Pablo, > > On Fri, Jul 22, 2016 at 12:37:22PM +, De Lara Guarch, Pablo wrote: >> Hi, >> >>> -Original Message- >>> From: De Lara Guarch, Pablo >>> Sent: Saturday, July 09, 2016 5:57 PM >>> To: dev at dpdk.org >>> Cc: Mcnamara, John;

[dpdk-dev] [PATCH] examples/l2fwd-ivshmem: fix icc compile error

2016-07-22 Thread Ferruh Yigit
stats.dropped; ^ Fixes: 6aa497249172 ("examples/l2fwd-ivshmem: import sample application") Signed-off-by: Ferruh Yigit --- examples/l2fwd-ivshmem/host/host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-ivshmem/host/host.c b/examples/l2fwd-iv

[dpdk-dev] [PATCH] app/pdump: cleanup rte rings upon failures

2016-07-22 Thread Ferruh Yigit
;app/pdump: add tool for packet capturing") > > Signed-off-by: Reshma Pattan Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH 1/2] mk: get correct clang version

2016-07-25 Thread Ferruh Yigit
-dumpversion is for gcc compatibility and doesn't return actual clang version. -dumpversion only returns 4.2.1 for a long time. Fixes: 2ef6eea891e5 ("mk: add clang toolchain") Signed-off-by: Ferruh Yigit --- mk/toolchain/clang/rte.toolchain-compat.mk | 6 -- 1 file changed, 4

[dpdk-dev] [PATCH 2/2] mk: fix FreeBSD clang compile error

2016-07-25 Thread Ferruh Yigit
clang version < 3.5 doesn't support -z linker option, and some FreeBSD box still has clang versions < 3.5 as default version. compile error: clang: error: unknown argument: '-z' Fixes: fd591c4c4e35 ("mk: check shared library dependencies") Signed-off-by: Ferruh Yigit --

[dpdk-dev] net/pcap: set rte_errno on TX error

2016-07-25 Thread Ferruh Yigit
On 7/25/2016 2:10 PM, Zoltan Kiss wrote: > This returns the error code provided by pcap_sendpacket() Although this is good idea, this adds undocumented side effect to rte_eth_tx_burst(). I am not able to find any information in rte_eth_tx_burst() that it can alter rte_errno. Since rte_errno is

[dpdk-dev] [RFC] mk: add config items to disable tools and tests

2016-07-25 Thread Ferruh Yigit
default, compatible with existing behavior. This commit also shows app folder is used both for unit tests, test tools and other tools for DPDK, it is possible to discuss separating tests into a test folder. Signed-off-by: Ferruh Yigit --- Targeted for DPDK16.11 --- app/Makefile | 5

[dpdk-dev] [PATCH] doc: announce KNI ethtool removal

2016-07-26 Thread Ferruh Yigit
On 7/21/2016 5:41 PM, Thomas Monjalon wrote: > 2016-07-21 16:41, Igor Ryzhov: >> On Thu, Jul 21, 2016 at 4:33 PM, Ferruh Yigit >> wrote: >>> On 7/20/2016 5:07 PM, Thomas Monjalon wrote: >>>> The out-of-tree kernel code must be avoided. >>>> More

[dpdk-dev] [PATCH v3 1/4] eal: remove redundant codes to parse --lcores

2016-07-28 Thread Ferruh Yigit
On 7/27/2016 12:22 PM, Wei Dai wrote: > local variable i is not referred by other codes in > the function eal_parse_lcores( ), so it can be removed. > > Signed-off-by: Wei Dai Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 2/4] eal: fix parsing of eal option --lcores

2016-07-28 Thread Ferruh Yigit
and (5-7) after @ . > > Fixes: 53e54bf81700 ("eal: new option --lcores for cpu assignment") > > Signed-off-by: Wei Dai Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 3/4] eal: fix tail blank check in --lcores argument

2016-07-28 Thread Ferruh Yigit
al_parse_lcores( ). > > Fixes: 53e54bf81700 ("eal: new option --lcores for cpu assignment") > > Signed-off-by: Wei Dai Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 4/4] eal: fix end character check in --lcores argument

2016-07-28 Thread Ferruh Yigit
On 7/27/2016 12:27 PM, Wei Dai wrote: > With --lcores 'a-b at c-d', eal_parse_cores() fails because > eal_parse_set() fails due to the next character after > lcore set a-b, which is '@'and not ',' or '\0'. > There is also a right check immediately > after this incorrect check. > > Fixes:

[dpdk-dev] [dpdk-announce] SPP mail list created

2016-07-29 Thread Ferruh Yigit
A new mail list created under dpdk.org for SPP: spp at dpdk.org Please feel free to register and use it for any SPP related discussion. See the previous announcement for a description of SPP (Soft Patch Panel): http://dpdk.org/ml/archives/dev/2016-May/039773.html Latest SPP source:

[dpdk-dev] [PATCH v3 20/35] mempool: allocate in several memory chunks by default

2016-06-01 Thread Ferruh Yigit
On 5/18/2016 12:04 PM, Olivier Matz wrote: > Introduce rte_mempool_populate_default() which allocates > mempool objects in several memzones. > > The mempool header is now always allocated in a specific memzone > (not with its objects). Thanks to this modification, we can remove > many specific

[dpdk-dev] [REQUEST] New repository request for project SPP

2016-06-01 Thread Ferruh Yigit
On 6/1/2016 10:48 AM, Thomas Monjalon wrote: > 2016-05-31 19:11, Ferruh Yigit: >> On 5/27/2016 2:59 PM, Thomas Monjalon wrote: >>> 2016-05-26 17:48, Ferruh Yigit: >>>> SPP: Soft Patch Panel, a new project on top of DPDK library. >>>> >>>> >

[dpdk-dev] dpdk compilation issue on cumuluslinux

2016-06-01 Thread Ferruh Yigit
On 6/1/2016 8:37 AM, Raja Jayapal wrote: > > > Hi All, > > I am working on installing dpdk on cumuluslinux(2.5.7v). > I have followed the steps as mentioned in the dpdk quick start guide for > installation, but the facing issues during compilation. > > Steps followed: >> git clone

[dpdk-dev] [PATCH] ivshmem: add all memzones of mempool to metada

2016-06-01 Thread Ferruh Yigit
Mempool consist of multiple memzones, at least from two of them. ivshmem assumes mempool and elements are all in same memzone. Updating code to add all memzones when a mempool added. Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") Signed-off-by: Fe

[dpdk-dev] Can't build DPDK-16.04 on CentOS 6.8

2016-06-03 Thread Ferruh Yigit
On 6/1/2016 9:07 PM, Martinx - ? wrote: > Guys, > > I'm trying to build DPDK-16.04 on CentOS 6.8, but it is failing, here is > the error: > > --- > ... > == Build lib/librte_eal/linuxapp > == Build lib/librte_eal/linuxapp/eal > == Build lib/librte_eal/linuxapp/igb_uio > CC eal.o > CC

[dpdk-dev] [PATCH] ivshmem: add all memzones of mempool to metada

2016-06-03 Thread Ferruh Yigit
On 6/2/2016 8:04 AM, Olivier MATZ wrote: > Hi Ferruh, > > Thank you for fixing this issue. > > On 06/01/2016 03:18 PM, Ferruh Yigit wrote: >> [PATCH] ivshmem: add all memzones of mempool to metada > > Minor comment: it seems the title is truncated > Right, I wil

[dpdk-dev] [PATCH] ivshmem: add all memzones of mempool to metada

2016-06-03 Thread Ferruh Yigit
On 6/3/2016 12:05 PM, Ferruh Yigit wrote: > On 6/2/2016 8:04 AM, Olivier MATZ wrote: >> Hi Ferruh, >> >> Thank you for fixing this issue. >> >> On 06/01/2016 03:18 PM, Ferruh Yigit wrote: >>> [PATCH] ivshmem: add all memzones of mempool to meta

[dpdk-dev] [PATCH v2] ivshmem: add all memzones of mempool to metadata

2016-06-03 Thread Ferruh Yigit
Mempool consist of multiple memzones, at least from two of them. ivshmem assumes mempool and elements are all in same memzone. Updating code to add all memzones when a mempool added. Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") Signed-off-by: Ferruh Yi

[dpdk-dev] [PATCH v3 19/20] thunderx/nicvf: updated driver documentation and release notes

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Updated doc/guides/nics/overview.rst, doc/guides/nics/thunderx.rst > and release notes > > Changed "*" to "P" in overview.rst to capture the partially supported > feature as "*" creating alignment issues with Sphinx table > > Signed-off-by: Jerin Jacob

[dpdk-dev] [PATCH v3 12/20] thunderx/nicvf: add single and multi segment tx functions

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/Makefile | 2 + >

[dpdk-dev] [PATCH v3 01/20] thunderx/nicvf/base: add hardware API for ThunderX nicvf inbuilt NIC

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Adds hardware specific API for ThunderX nicvf inbuilt NIC device under > drivers/net/thunderx/nicvf/base directory. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak >

[dpdk-dev] [PATCH v3 02/20] thunderx/nicvf: add pmd skeleton

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Introduce driver initialization and enable build infrastructure for > nicvf pmd driver. > > By default, It is enabled only for defconfig_arm64-thunderx-* > config as it is an inbuilt NIC device. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej

[dpdk-dev] [PATCH v3 08/20] thunderx/nicvf: add tx_queue_setup/release support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- ... > + > + /* Roundup nb_desc to avilable qsize

[dpdk-dev] [PATCH v3 17/20] thunderx/nicvf: add device start, stop and close support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- ... > + > + /* Userspace process exited witout

[dpdk-dev] [PATCH v3 00/20] DPDK PMD for ThunderX NIC device

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > This patch set provides the initial version of DPDK PMD for the > built-in NIC device in Cavium ThunderX SoC family. > > Implemented features and ThunderX nicvf PMD documentation added > in doc/guides/nics/overview.rst and doc/guides/nics/thunderx.rst >

[dpdk-dev] [PATCH v3 12/20] thunderx/nicvf: add single and multi segment tx functions

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/Makefile | 2 + >

[dpdk-dev] [PATCH v3 00/20] DPDK PMD for ThunderX NIC device

2016-06-08 Thread Ferruh Yigit
On 6/8/2016 1:43 PM, Jerin Jacob wrote: > On Wed, Jun 08, 2016 at 01:30:28PM +0100, Ferruh Yigit wrote: >> On 6/7/2016 5:40 PM, Jerin Jacob wrote: >>> Jerin Jacob (20): >>> thunderx/nicvf/base: add hardware API for ThunderX nicvf inbuilt NIC >>> thunderx/ni

[dpdk-dev] [PATCH v3 01/20] thunderx/nicvf/base: add hardware API for ThunderX nicvf inbuilt NIC

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Adds hardware specific API for ThunderX nicvf inbuilt NIC device under > drivers/net/thunderx/nicvf/base directory. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak >

[dpdk-dev] [PATCH v3 02/20] thunderx/nicvf: add pmd skeleton

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Introduce driver initialization and enable build infrastructure for > nicvf pmd driver. > > By default, It is enabled only for defconfig_arm64-thunderx-* > config as it is an inbuilt NIC device. > > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej

[dpdk-dev] [PATCH 03/20] thunderx/nicvf: add link status and link update support

2016-06-08 Thread Ferruh Yigit
Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 04/20] thunderx/nicvf: add get_reg and get_reg_length support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/nicvf_ethdev.c | 30

[dpdk-dev] [PATCH v3 05/20] thunderx/nicvf: add dev_configure support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit ...

[dpdk-dev] [PATCH v3 06/20] thunderx/nicvf: add dev_infos_get support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 11/20] thunderx/nicvf: add stats support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 07/20] thunderx/nicvf: add rx_queue_setup/release support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 10/20] thunderx/nicvf: add mtu_set and promiscuous_enable support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 09/20] thunderx/nicvf: add rss and reta query and update support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 13/20] thunderx/nicvf: add single and multi segment rx functions

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v3 14/20] thunderx/nicvf: add dev_supported_ptypes_get and rx_queue_count support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- ... > +uint32_t > +nicvf_dev_rx_queue_count(struct

[dpdk-dev] [PATCH v3 15/20] thunderx/nicvf: add rx queue start and stop support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki > --- > drivers/net/thunderx/nicvf_ethdev.c | 175 >

[dpdk-dev] [PATCH v3 16/20] thunderx/nicvf: add tx queue start and stop support

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > Signed-off-by: Maciej Czekaj > Signed-off-by: Kamil Rytarowski > Signed-off-by: Zyta Szpak > Signed-off-by: Slawomir Rosek > Signed-off-by: Radoslaw Biernacki ... > +static inline int > +nicvf_start_tx_queue(struct

[dpdk-dev] [PATCH v3 18/20] thunderx/config: set max numa node to two

2016-06-08 Thread Ferruh Yigit
On 6/7/2016 5:40 PM, Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > --- > config/defconfig_arm64-thunderx-linuxapp-gcc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc > b/config/defconfig_arm64-thunderx-linuxapp-gcc > index

[dpdk-dev] [PATCH 1/2] mk: prevent overlinking in applications

2016-06-09 Thread Ferruh Yigit
On 6/9/2016 11:10 AM, Thomas Monjalon wrote: > Hi Ferruh, > > 2016-05-27 17:48, Ferruh Yigit: >> Replace --no-as-needed linker flag with --as-needed flag, which will >> only link libraries directly called by application. This requires inter >> library depe

[dpdk-dev] [PATCH v5 1/5] bnx2x: fixed stats get

2016-06-10 Thread Ferruh Yigit
On 6/8/2016 5:15 PM, Bruce Richardson wrote: > On Wed, May 11, 2016 at 05:06:21PM -0700, Rasesh Mody wrote: >> Fix stats_get() routine to display drop counters under imissed counter. >> >> Fixes: 540a211084a7 ("bnx2x: driver core") >> >> Signed-off-by: Rasesh Mody >> Signed-off-by: Harish Patil

[dpdk-dev] [PATCH 2/2] mk: reduce scope of whole-archive to pmd libraries

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 11:18 AM, Thomas Monjalon wrote: > 2016-06-10 10:57, Ferruh Yigit: >> On 6/10/2016 10:03 AM, Thomas Monjalon wrote: >>> 2016-05-27 17:48, Ferruh Yigit: >>>> --whole-archive argument only required for pmd libraries, and currently >>>>

[dpdk-dev] [PATCH 2/2] mk: reduce scope of whole-archive to pmd libraries

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 1:21 PM, Thomas Monjalon wrote: > 2016-06-10 12:06, Ferruh Yigit: >> On 6/10/2016 11:18 AM, Thomas Monjalon wrote: >>> 2016-06-10 10:57, Ferruh Yigit: >>>> On 6/10/2016 10:03 AM, Thomas Monjalon wrote: >>>>> 2016-05-27 17:48, Ferruh Yigit:

[dpdk-dev] [PATCH v2 2/6] mk: fix driver dependencies order for static application

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > On a linker command line, the dependencies must be declared after > the libraries using them. > It will avoid some issues when building an application with static > libraries and --as-needed option. > > Signed-off-by: Thomas Monjalon > --- Do we

[dpdk-dev] [PATCH v2 3/6] mk: remove library grouping during application linking

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > From "man ld": > Using this option has a significant performance cost. > It is best to use it only when there are unavoidable > circular references between two or more archives. > > Remove the option since it does not seem necessary. > >

[dpdk-dev] [PATCH v2 4/6] mk: prevent overlinking in applications

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > From: Ferruh Yigit > > Replace --no-as-needed linker flag with --as-needed flag, which will > only link libraries directly called by application. > It can be achieved now that the libraries dependencies are handled > properl

[dpdk-dev] [PATCH v2 6/6] mk: reduce scope of whole-archive static linking

2016-06-10 Thread Ferruh Yigit
On 6/10/2016 2:19 PM, Thomas Monjalon wrote: > From: Ferruh Yigit > > The --whole-archive argument is only required for plugins (drivers) > and libraries used by these plugins. > Currently it covers all libraries. > Reducing the scope of this argument slightly reduce fina

[dpdk-dev] [PATCH v3 0/6] reduce overlinking in applications

2016-06-10 Thread Ferruh Yigit
cyclic dependency in rte.app.mk, which can be removed when issue solved. It also brings some clean-up in rte.app.mk. Ferruh Yigit (3): mk: sort libraries when linking, move pmd libs to higher level mk: sort libraries when linking, move external libs to lower level mk: prevent overl

[dpdk-dev] [PATCH v3 1/6] mk: sort drivers in static application link list

2016-06-10 Thread Ferruh Yigit
From: Thomas Monjalon Just a clean up to prepare next patches. Signed-off-by: Thomas Monjalon --- mk/rte.app.mk | 45 + 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index

[dpdk-dev] [PATCH v3 2/6] mk: fix driver dependencies order for static application

2016-06-10 Thread Ferruh Yigit
From: Thomas Monjalon On a linker command line, the dependencies must be declared after the libraries using them. It will avoid some issues when building an application with static libraries and --as-needed option. Signed-off-by: Thomas Monjalon --- mk/rte.app.mk |

[dpdk-dev] [PATCH v3 4/6] mk: sort libraries when linking, move external libs to lower level

2016-06-10 Thread Ferruh Yigit
As stated in the comment: Order is important: from higher level to lower level This is an attempt to make the layering order better respected. Signed-off-by: Thomas Monjalon Signed-off-by: Ferruh Yigit --- mk/rte.app.mk | 30 +++--- 1 file changed, 15 insertions

[dpdk-dev] [PATCH v3 5/6] mk: remove library grouping during application linking

2016-06-10 Thread Ferruh Yigit
essary. Signed-off-by: Thomas Monjalon Signed-off-by: Ferruh Yigit --- mk/rte.app.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index a518527..f60e5bf 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -125,8 +125,6 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_METER)

[dpdk-dev] [PATCH v3 3/6] mk: sort libraries when linking, move pmd libs to higher level

2016-06-10 Thread Ferruh Yigit
As stated in the comment: Order is important: from higher level to lower level This is an attempt to make the layering order better respected. Limit scope of --whole-archive to pmd libraries Signed-off-by: Thomas Monjalon Signed-off-by: Ferruh Yigit --- mk/rte.app.mk | 88

[dpdk-dev] [PATCH v3 6/6] mk: prevent overlinking in applications

2016-06-10 Thread Ferruh Yigit
Replace --no-as-needed linker flag with --as-needed flag, which will only link libraries directly called by application. It can be achieved now that the libraries dependencies are handled properly. Signed-off-by: Ferruh Yigit Signed-off-by: Thomas Monjalon --- mk/exec-env/linuxapp/rte.vars.mk

[dpdk-dev] [PATCH v3 6/6] mk: prevent overlinking in applications

2016-06-13 Thread Ferruh Yigit
On 6/11/2016 7:34 AM, Thomas Monjalon wrote: > Hi Ferruh, > > 2016-06-10 19:32, Ferruh Yigit: >> --- a/mk/rte.app.mk >> +++ b/mk/rte.app.mk >> @@ -50,6 +50,14 @@ ifeq ($(NO_LDSCRIPT),) >> LDSCRIPT = $(RTE_LDSCRIPT) >> endif >> >> +ifeq

[dpdk-dev] [PATCH v3 3/6] mk: sort libraries when linking, move pmd libs to higher level

2016-06-13 Thread Ferruh Yigit
On 6/13/2016 10:29 AM, Thomas Monjalon wrote: > 2016-06-10 19:32, Ferruh Yigit: >> As stated in the comment: >> Order is important: from higher level to lower level >> >> This is an attempt to make the layering order better respected. >> >> Limit sc

[dpdk-dev] [PATCH v3 3/6] mk: sort libraries when linking, move pmd libs to higher level

2016-06-13 Thread Ferruh Yigit
On 6/13/2016 11:21 AM, Thomas Monjalon wrote: > 2016-06-13 11:04, Ferruh Yigit: >> On 6/13/2016 10:29 AM, Thomas Monjalon wrote: >>> 2016-06-10 19:32, Ferruh Yigit: >>>> As stated in the comment: >>>> Order is important: from higher level to lower

[dpdk-dev] [PATCH v5 1/5] bnx2x: fixed stats get

2016-06-13 Thread Ferruh Yigit
On 6/10/2016 11:08 AM, Ferruh Yigit wrote: > On 6/8/2016 5:15 PM, Bruce Richardson wrote: >> On Wed, May 11, 2016 at 05:06:21PM -0700, Rasesh Mody wrote: >>> Fix stats_get() routine to display drop counters under imissed counter. >>> >>> Fixes: 540a211084a7 (

[dpdk-dev] [PATCH] bnx2x: fix ICC compilation error

2016-06-13 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- drivers/net/bnx2x/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile index 6f1f385..c2ddd8d 100644 --- a/drivers/net/bnx2x/Makefile +++ b/drivers/net/bnx2x/Makefile @@ -14,6 +14,10 @@ EXPORT_MAP

[dpdk-dev] Duplicate config symbols

2016-06-13 Thread Ferruh Yigit
On 6/13/2016 12:50 PM, Christian Ehrhardt wrote: > Hi, > I wondered multiple times now when changing a config symbol that some of > them are in the .config file multiple times. > I totally feel like I'm overlooking something, but still it might be worth > to ask. > > In particular: > awk -F "="

[dpdk-dev] [PATCH 22/29] ixgbe/base: add bypassing VLVF

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > This patch adds support for the VLVF to be bypassed when adding or > removing a VFTA entry. The PF can utilize the default pool while > preserving the VLVF for the VFs use. > Meanwhile, update corresponding VF ops and drivers where corresponding > ops is

[dpdk-dev] [PATCH 18/29] ixgbe/base: update swfw semaphore function

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > For X540 and forward it is possible if a system reset occur at the > right time to leave the SWFW semaphore high. This new function will > attempt to grab and release the semaphore. If the grab times out it > will still release the semaphore placing it in

[dpdk-dev] [PATCH 21/29] ixgbe/base: smplify add/remove VLANs

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > This patch simplifies the adding and removing VLANs from > VFTA/VLVF/VLVFB registers. The logic to determine registers has > been simplified to (vid / 32) and (1 - vid / 32). Many conditional > paths and checks are no longer needed with this patch. > >

[dpdk-dev] [PATCH 28/29] ixgbe/base: define if enable crosstalk work around

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > A work around for a new crosstalk erratum that causes link flap in > emtry cages has beed introduced. So this patch defines the bit in typo: emtry, beed > NVM that will tell software if this work around is needed. > > Signed-off-by: Beilei Xing > ---

[dpdk-dev] [PATCH 18/29] ixgbe/base: update swfw semaphore function

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > For X540 and forward it is possible if a system reset occur at the > right time to leave the SWFW semaphore high. This new function will > attempt to grab and release the semaphore. If the grab times out it > will still release the semaphore placing it in

[dpdk-dev] [PATCH 29/29] ixgbe/base: update README

2016-06-13 Thread Ferruh Yigit
On 5/6/2016 7:07 AM, Beilei Xing wrote: > update README. It can be good to give some context here, like updated base driver version and new base driver features listed... > Besides, update release notes. > > Signed-off-by: Beilei Xing > --- > doc/guides/rel_notes/release_16_07.rst | 11

[dpdk-dev] [PATCH] mlx: fix icc compilation error

2016-06-14 Thread Ferruh Yigit
xed with another type int ret = priv_special_flow_enable(priv, i); ^ Signed-off-by: Ferruh Yigit --- drivers/net/mlx4/Makefile | 4 drivers/net/mlx5/Makefile | 4 2 files changed, 8 insertions(+) diff --

[dpdk-dev] [PATCH v2 00/30] ixgbe/base: update base driver

2016-06-14 Thread Ferruh Yigit
On 6/14/2016 7:59 AM, Beilei Xing wrote: > Update base driver for ixgbe, mainly work on new features and bug fixes. > > v2 changes: > Fix typos and update commit log. > Separate [patch 18/29] into two patches. > ... > > Acked-by: Helin Zhang > Series Reviewed-by Ferruh Yigit

[dpdk-dev] [PATCH v2 00/30] ixgbe/base: update base driver

2016-06-14 Thread Ferruh Yigit
On 6/14/2016 11:36 AM, Ferruh Yigit wrote: > On 6/14/2016 7:59 AM, Beilei Xing wrote: >> Update base driver for ixgbe, mainly work on new features and bug fixes. >> >> v2 changes: >> Fix typos and update commit log. >> Separate [patch 18/29] into two patches. >

[dpdk-dev] [PATCH v2] mlx: fix icc compilation error

2016-06-14 Thread Ferruh Yigit
, i)) { ^ more same type of error Signed-off-by: Ferruh Yigit --- drivers/net/mlx4/mlx4.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 6 -- drivers/net/mlx5/mlx5_rxq.c| 7 --- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/

[dpdk-dev] [PATCH v2] mlx: fix icc compilation error

2016-06-14 Thread Ferruh Yigit
On 6/14/2016 4:39 PM, Thomas Monjalon wrote: > 2016-06-14 16:22, Ferruh Yigit: >> Compilation errors: >> mlx4: >> CC mlx4.o >> .../dpdk/drivers/net/mlx4/mlx4.c(5409): error #188: enumerated type >> mixed with another type >&g

[dpdk-dev] [PATCH v3] mlx: fix icc compilation error

2016-06-14 Thread Ferruh Yigit
type in RSS mode") Fixes: 083c2dd31776 ("mlx5: refactor special flows handling") Signed-off-by: Ferruh Yigit --- drivers/net/mlx4/mlx4.c| 2 +- drivers/net/mlx5/mlx5_ethdev.c | 2 +- drivers/net/mlx5/mlx5_rxmode.c | 8 ++-- drivers/net/mlx5/mlx5_rxq.c| 8 +--- 4

[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-06-15 Thread Ferruh Yigit
: 'PCI_MSIX_ENTRY_CTRL_MASKBIT' undeclared (first use in this function) Reported-by: Thiago Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/igb_uio/compat.h | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/librte_eal/linuxapp/igb_uio/compat.h b/lib/librte_eal/linuxapp/igb_uio/compat.h index

[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-06-15 Thread Ferruh Yigit
On 6/15/2016 4:57 PM, Ferruh Yigit wrote: > Following compile error observed with CentOS 6.8, which uses kernel > kernel-devel-2.6.32-642.el6.x86_64: > > CC eal_thread.o > .../build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c: > In function 'igbuio_msix_mask_irq': > ...

[dpdk-dev] [PATCH v5 02/38] bnxt: add HWRM init code

2016-06-15 Thread Ferruh Yigit
On 6/14/2016 11:55 PM, Stephen Hurd wrote: > From: Ajit Khaparde > > Start adding support to use the HWRM API. > Hardware Resource Manager or HWRM in short, is a set of API provided > by the firmware running in the ASIC to manage the various resources. > > Initial commit just performs necessary

[dpdk-dev] [PATCH] dropping librte_ivshmem - was log: deprecate history dump

2016-06-15 Thread Ferruh Yigit
On 6/9/2016 10:26 PM, Thomas Monjalon wrote: > Looking a bit more into librte_ivshmem, the documentation says we need > a Qemu patch but the URL doesn't exist anymore: > https://01.org/packet-processing/intel%C2%AE-ovdk > -> 404 Oops, we couldn't find that page > > I've never

[dpdk-dev] Can't build DPDK-16.04 on CentOS 6.8

2016-06-16 Thread Ferruh Yigit
On 6/15/2016 7:59 PM, Martinx - ? wrote: > On 13 June 2016 at 12:15, Martinx - ? > mailto:thiagocmartinsc at gmail.com>> wrote: > > > > On 12 June 2016 at 11:30, Rosen, Rami > wrote: > > Hi Thiago, > > > Any clue? > >

[dpdk-dev] [PATCH] igb_uio: fix build with backported kernel

2016-06-17 Thread Ferruh Yigit
On 6/16/2016 4:45 PM, Martinx - ? wrote: > On 15 June 2016 at 11:59, Ferruh Yigit <mailto:ferruh.yigit at intel.com>> wrote: > > On 6/15/2016 4:57 PM, Ferruh Yigit wrote: > > Following compile error observed with CentOS 6.8, which uses kernel > &g

  1   2   3   4   5   6   7   >