Re: [dpdk-dev] [PATCH v4 0/4] eventdev: add attribute based get APIs

2017-09-14 Thread Nipun Gupta
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, September 14, 2017 21:39 > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Harry van Haaren > > Subject: [dpdk-dev] [PATCH v4 0/4] eventdev: add attribute based get APIs

Re: [dpdk-dev] [PATCH 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-09-14 Thread santosh
Hi Nikhil, On Thursday 14 September 2017 12:23 AM, Nikhil Rao wrote: > Add common APIs for configuring packet transfer from ethernet Rx > queues to event devices across HW & SW packet transfer mechanisms. > A detailed description of the adapter is contained in the header's > comments. > > The ada

Re: [dpdk-dev] [PATCH v3 4/4] eventdev: Add tests for event eth Rx adapter APIs

2017-09-14 Thread santosh
Hi Nikhil, On Tuesday 12 September 2017 05:59 PM, Nikhil Rao wrote: > Add unit tests for rte_event_eth_rx_adapter_xxx() APIs > > Signed-off-by: Nikhil Rao > --- > test/test/test_event_eth_rx_adapter.c | 385 > ++ > test/test/Makefile| 1 + >

Re: [dpdk-dev] [PATCH 3/4] eventdev: Add eventdev ethernet Rx adapter

2017-09-14 Thread Nipun Gupta
> -Original Message- > From: Nikhil Rao [mailto:nikhil@intel.com] > Sent: Thursday, September 14, 2017 0:23 > To: jerin.ja...@caviumnetworks.com; bruce.richard...@intel.com > Cc: gage.e...@intel.com; dev@dpdk.org; tho...@monjalon.net; > harry.van.haa...@intel.com; Hemant Agrawal ; > N

Re: [dpdk-dev] [PATCH 01/11] lib/rte_security: add security library

2017-09-14 Thread Hemant Agrawal
Hi, On 9/14/2017 1:56 PM, Akhil Goyal wrote: .. diff --git a/lib/librte_security/rte_security.c b/lib/librte_security/rte_security.c new file mode 100644 index 000..5776246 --- /dev/null +++ b/lib/librte_security/rte_security.c @@ -0,0 +1,252 @@ +/*- + * BSD LICENSE + * + * Copyright 2

Re: [dpdk-dev] [PATCH v3 1/4] ethdev: increase port_id range

2017-09-14 Thread Yang, Zhiyong
Hi Ferruh: > -Original Message- > From: Yigit, Ferruh > Sent: Thursday, September 14, 2017 8:50 PM > To: Yang, Zhiyong ; dev@dpdk.org; Doherty, Declan > ; Lu, Wenzhuo > Cc: tho...@monjalon.net; hemant.agra...@nxp.com; Hunt, David > ; Richardson, Bruce ; > Ananyev, Konstantin > Subject: R

Re: [dpdk-dev] [PATCH 04/11] lib/librte_net: add ESP header to generic flow steering

2017-09-14 Thread Hemant Agrawal
Hi Boris, On 9/14/2017 1:56 PM, Akhil Goyal wrote: From: Boris Pismenny The ESP header is required for IPsec crypto actions. Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel --- doc/api/doxy-api-index.md | 1 + lib/librte_ether/rte_flow.h | 26 lib/lib

Re: [dpdk-dev] [PATCH 09/11] net/ixgbe: enable inline ipsec

2017-09-14 Thread Hemant Agrawal
Hi Radu, On 9/14/2017 1:56 PM, Akhil Goyal wrote: +static const struct rte_security_capability ixgbe_security_capabilities[] = { + { /* IPsec Inline Crypto AH Transport Egress */ + .action = RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO, + .protocol = RTE_SECURITY_PRO

Re: [dpdk-dev] [PATCH 3/4] doc: Add documents for AMD XGBE Ethernet

2017-09-14 Thread Hemant Agrawal
On 9/14/2017 7:32 PM, Kumar, Ravi1 wrote: Hi Ravi, ' On 9/13/2017 11:17 PM, Ravi Kumar wrote: Signed-off-by: Ravi Kumar --- doc/guides/nics/axgbe.rst | 214 + doc/guides/nics/features/axgbe.ini | 18 doc/guides/nics/index.rst | 1 +

[dpdk-dev] [PATCH v3 2/2] app/testpmd: add API for configuration of queue region

2017-09-14 Thread Wei Zhao
This patch add a API configuration of queue region in rss. It can parse the parameters of region index, queue number, queue start index, user priority, traffic classes and so on. According to commands from command line, it will call i40e private API and start the process of set or flush queue regio

[dpdk-dev] [PATCH v3 0/2] net/i40e: API to configure queue regions for RSS

2017-09-14 Thread Wei Zhao
The patches mainly finish following functions: 1) Command line for input queue region configure parameters. 2) Set or flush queue region configutation. v2: -fix bug for packet into queue region code. -change code style for DPDK C programing. -change that "flowtype" name to " hw_flowtype " in stru

[dpdk-dev] [PATCH v3 1/2] net/i40e: queue region set and flush

2017-09-14 Thread Wei Zhao
This feature enable queue regions configuration for RSS in PF/VF, so that different traffic classes or different packet classification types can be separated to different queues in different queue regions.This patch can set queue region range, it include queue number in a region and the index of fi

[dpdk-dev] [PATCH] net/liquidio: fix uninitialized variable

2017-09-14 Thread Yong Wang
In func lio_dev_link_update(), "link.link_autoneg" is used in func call lio_dev_atomic_write_link_status(), but is uninitialized. Signed-off-by: Yong Wang --- drivers/net/liquidio/lio_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/li

Re: [dpdk-dev] [PATCH] test: fix wrong assignment operation

2017-09-14 Thread Yang, Zhiyong
Sorry. I make a mistake in Cc: email address. This one is Superseded. > -Original Message- > From: Yang, Zhiyong > Sent: Friday, September 15, 2017 10:16 AM > To: dev@dpdk.org > Cc: Wodkowski; Wodkowski, PawelX ; Kulasek; > Kulasek, TomaszX ; Doherty, Declan > ; Yang, Zhiyong > Subject

[dpdk-dev] [PATCH] test: fix wrong assignment operation

2017-09-14 Thread Zhiyong Yang
It should be an comparation operation rather than an assignment operation. Fixes: 5e41ab250dfa("app/test: unit tests for bonding mode 4") Signed-off-by: Zhiyong Yang --- test/test/test_link_bonding_mode4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_link_b

[dpdk-dev] [PATCH] test: fix wrong assignment operation

2017-09-14 Thread Zhiyong Yang
It should be an comparation operation rather than an assignment operation. Fixes: 5e41ab250dfa("app/test: unit tests for bonding mode 4") cc: Wodkowski, PawelX cc: Kulasek, TomaszX cc: Declan Doherty Signed-off-by: Zhiyong Yang --- test/test/test_link_bonding_mode4.c | 2 +- 1 file changed,

Re: [dpdk-dev] [PATCH] net/i40e: fix incorrect var assignment

2017-09-14 Thread Xing, Beilei
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, September 14, 2017 1:31 AM > To: Xing, Beilei > Cc: dev@dpdk.org; Wu, Jingjing ; sta...@dpdk.org > Subject: [PATCH] net/i40e: fix incorrect var assignment > > rx/tx_queue_setup functions are shared between PF and VF drivers. So

Re: [dpdk-dev] [PATCH v3 5/5] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-09-14 Thread Hu, Jiayu
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Friday, September 15, 2017 2:33 AM > To: Hu, Jiayu ; dev@dpdk.org > Cc: Ananyev, Konstantin ; Kavanagh, Mark > B ; Tan, Jianfeng > Subject: Re: [dpdk-dev] [PATCH v3 5/5] app/testpmd: enable TCP/IPv4, > VxLAN and GRE GSO > > On

Re: [dpdk-dev] [PATCH v3 1/5] gso: add Generic Segmentation Offload API framework

2017-09-14 Thread Hu, Jiayu
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Friday, September 15, 2017 2:33 AM > To: Hu, Jiayu ; dev@dpdk.org > Cc: Ananyev, Konstantin ; Kavanagh, Mark > B ; Tan, Jianfeng > Subject: Re: [dpdk-dev] [PATCH v3 1/5] gso: add Generic Segmentation > Offload API framework >

Re: [dpdk-dev] [PATCH v5 4/4] net/mlx5: enforce Tx num of segments limitation

2017-09-14 Thread Yongseok Koh
> On Sep 14, 2017, at 3:50 AM, Shahaf Shuler wrote: > > Mellanox NICs has a limitation on the number of mbuf segments a multi > segment mbuf can have. The max number depends on the Tx offloads requested. > > The current code not enforce such limitation, which might cause > malformed work reques

Re: [dpdk-dev] [PATCH v3] i40e: fix i40evf_add_mac_addr to permit multicast addresses

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 4:42 AM, Xing, Beilei wrote: > > >> -Original Message- >> From: David Harton [mailto:dharton@cpp-rtpbld-31.cpprtplab] >> Sent: Wednesday, September 13, 2017 11:21 AM >> To: Xing, Beilei ; Wu, Jingjing >> >> Cc: dev@dpdk.org; David Harton >> Subject: [PATCH v3] i40e: fix i4

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] net/i40e: fix memory leak if VF init fails

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 2:44 AM, Xing, Beilei wrote: > > >> -Original Message- >> From: Wu, Jingjing >> Sent: Wednesday, September 13, 2017 7:54 AM >> To: Xing, Beilei >> Cc: dev@dpdk.org; Wu, Jingjing ; sta...@dpdk.org >> Subject: [PATCH v3] net/i40e: fix memory leak if VF init fails >> >> Cc: sta

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 4:42 PM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14, 2017 1

Re: [dpdk-dev] [PATCH v3 5/5] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-09-14 Thread Ferruh Yigit
On 9/12/2017 3:43 AM, Jiayu Hu wrote: > This patch adds GSO support to the csum forwarding engine. Oversized > packets transmitted over a GSO-enabled port will undergo segmentation > (with the exception of packet-types unsupported by the GSO library). > GSO support is disabled by default. > > GSO

Re: [dpdk-dev] [PATCH v3 1/5] gso: add Generic Segmentation Offload API framework

2017-09-14 Thread Ferruh Yigit
On 9/12/2017 3:43 AM, Jiayu Hu wrote: > Generic Segmentation Offload (GSO) is a SW technique to split large > packets into small ones. Akin to TSO, GSO enables applications to > operate on large packets, thus reducing per-packet processing overhead. > > To enable more flexibility to applications,

Re: [dpdk-dev] [PATCH v9 1/5] ethdev: add support of NIC reset

2017-09-14 Thread Luca Boccassi
On Sun, 2017-07-23 at 17:15 +0800, Wei Dai wrote: > This patch adds a new eth_dev layer API function rte_eth_dev_reset(), > which a DPDK application can call to reset a NIC and keep its port id > afterwards. It means that all software resources allocated in the > ethdev > layer are kept, and softwa

Re: [dpdk-dev] git trees organization

2017-09-14 Thread Stephen Hemminger
On Thu, 14 Sep 2017 11:11:56 +0200 Nélio Laranjeiro wrote: > On Thu, Sep 14, 2017 at 10:22:23AM +0200, Thomas Monjalon wrote: > > 14/09/2017 04:25, Stephen Hemminger: > > > Bisecting a tree with lots of subtree merges is terrible. That is why > > > Linus > > > rebases and doesn't directly take

Re: [dpdk-dev] [PATCH 0/2] have net drivers use a standard map file name format

2017-09-14 Thread Richardson, Bruce
> -Original Message- > From: Yigit, Ferruh > Sent: Thursday, September 14, 2017 5:34 PM > To: Richardson, Bruce ; Tan, Jianfeng > ; Doherty, Declan > Cc: dev@dpdk.org > Subject: Re: [PATCH 0/2] have net drivers use a standard map file name > format > > On 9/14/2017 4:57 PM, Bruce Richar

Re: [dpdk-dev] [PATCH 0/2] have net drivers use a standard map file name format

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 4:57 PM, Bruce Richardson wrote: > rename some of the version.map files that don't match the standard naming > convention. For future meson build system, this will save us having to > specify for each driver what the filename of its map file is. > > Bruce Richardson (2): > net/bondi

Re: [dpdk-dev] [PATCH 4/4] maintainers: add maintainer for AMD AXGBE PMD

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 6:47 PM, Ravi Kumar wrote: > Signed-off-by: Ravi Kumar > --- > MAINTAINERS | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index a0cd75e..0110d54 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -308,6 +308,12 @@ F: drive

Re: [dpdk-dev] [PATCH 3/4] doc: Add documents for AMD XGBE Ethernet

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 6:47 PM, Ravi Kumar wrote: > Signed-off-by: Ravi Kumar > --- > doc/guides/nics/axgbe.rst | 214 > + > doc/guides/nics/features/axgbe.ini | 18 > doc/guides/nics/index.rst | 1 + > 3 files changed, 233 insertions(+) > cre

Re: [dpdk-dev] [PATCH 1/4] Add AMD XGBE Ethernet config support in DPDK

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 10:48 AM, Kumar, Ravi1 wrote: >> On 9/13/2017 6:47 PM, Ravi Kumar wrote: >>> Signed-off-by: Ravi Kumar >>> --- >>> config/common_base | 6 ++ >>> mk/rte.app.mk | 1 + >>> 2 files changed, 7 insertions(+) >>> >>> diff --git a/config/common_base b/config/common_base index >>>

Re: [dpdk-dev] [PATCH 2/4] net/axgbe : Add PMD support for AMD XGBE Ethernet

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 6:47 PM, Ravi Kumar wrote: > Signed-off-by: Ravi Kumar <...> > +# > +# Export include files > +# > +SYMLINK-y-include += axgbe_ethdev.h > +SYMLINK-y-include += axgbe_rxtx.h > +SYMLINK-y-include += axgbe_common.h > +SYMLINK-y-include += axgbe_phy.h Are these need to be public header?

Re: [dpdk-dev] [PATCH] event/sw: rename map file to standard name

2017-09-14 Thread Van Haaren, Harry
> From: Richardson, Bruce > Sent: Thursday, September 14, 2017 3:47 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Richardson, Bruce > Subject: [PATCH] event/sw: rename map file to standard name > > Naming convention for event drivers is "rte_pmd__event_version.map" > > Signed-off-by: Bruce Ric

Re: [dpdk-dev] [PATCH v4 1/4] eventdev: add port attribute function

2017-09-14 Thread Van Haaren, Harry
> From: Van Haaren, Harry > Sent: Thursday, September 14, 2017 5:09 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > > Subject: [PATCH v4 1/4] eventdev: add port attribute function > > This commit reworks the port functions to retrieve information > about the port,

Re: [dpdk-dev] [PATCH v4] service: add API for service count per lcore

2017-09-14 Thread Thomas Monjalon
29/08/2017 15:14, Van Haaren, Harry: > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Tuesday, August 29, 2017 1:33 PM > > To: Van Haaren, Harry > > Cc: dev@dpdk.org; Pavan Nikhilesh > > Subject: [dpdk-dev] [PATCH v4] service: add API for service count per lcore > > >

[dpdk-dev] [PATCH v4 4/4] eventdev: add device started attribute

2017-09-14 Thread Harry van Haaren
This commit adds an attribute to the eventdev, allowing applications to retrieve if the eventdev is running or stopped. Note that no API or ABI changes were required in adding the statistic, and code changes are minimal. Signed-off-by: Harry van Haaren Acked-by: Jerin Jacob --- lib/librte_event

[dpdk-dev] [PATCH v4 3/4] eventdev: add queue attribute function

2017-09-14 Thread Harry van Haaren
This commit adds a generic queue attribute function. It also removes the previous rte_event_queue_priority() and priority() functions, and updates the map files and unit tests to use the new attr functions. Signed-off-by: Harry van Haaren --- v4: [feedback http://dpdk.org/dev/patchwork/patch/28

[dpdk-dev] [PATCH v4 1/4] eventdev: add port attribute function

2017-09-14 Thread Harry van Haaren
This commit reworks the port functions to retrieve information about the port, like the enq or deq depths. Note that "port count" is a device attribute, and is added in a later patch for dev attributes. Signed-off-by: Harry van Haaren --- v4: feedback from http://dpdk.org/dev/patchwork/patch/28

[dpdk-dev] [PATCH v4 2/4] eventdev: add dev attribute get function

2017-09-14 Thread Harry van Haaren
This commit adds a device attribute function, allowing flexible fetching of device attributes, like port count or queue count. The unit tests and .map file are updated to the new function. Signed-off-by: Harry van Haaren Acked-by: Jerin Jacob --- v4: [feedback http://dpdk.org/dev/patchwork/pat

[dpdk-dev] [PATCH v4 0/4] eventdev: add attribute based get APIs

2017-09-14 Thread Harry van Haaren
This patchset refactors the eventdev API to be more flexible and capable. In particular, the API is capable of returning an error value if an invalid device, port or attribute ID is passed in, which was not possible with the previous APIs. The implementation of this patchset is based on a v1 patch

[dpdk-dev] [PATCH 2/2] crypto/armv8: rename map file to standard name

2017-09-14 Thread Bruce Richardson
Naming convention for crypto drivers is "rte_pmd__version.map" Signed-off-by: Bruce Richardson --- drivers/crypto/armv8/Makefile | 2 +- .../armv8/{rte_armv8_pmd_version.map => rte_pmd_armv8_version.map} | 0 2 files changed, 1 insertion(+), 1 delet

[dpdk-dev] [PATCH 1/2] crypto/aesni_mb: rename map file to standard name

2017-09-14 Thread Bruce Richardson
Naming convention for crypto drivers is "rte_pmd__version.map" Signed-off-by: Bruce Richardson --- drivers/crypto/aesni_mb/Makefile| 2 +- .../{rte_pmd_aesni_version.map => rte_pmd_aesni_mb_version.map} | 0 2 files changed, 1 insertion(+), 1 delet

[dpdk-dev] [PATCH 0/2] have crypto drivers use a standard map file name format

2017-09-14 Thread Bruce Richardson
rename some of the version.map files that don't match the standard naming convention. For future meson build system, this will save us having to specify for each driver what the filename of its map file is. Bruce Richardson (2): crypto/aesni_mb: rename map file to standard name crypto/armv8: r

[dpdk-dev] [PATCH 2/2] net/xenvirt: rename map file to standard name

2017-09-14 Thread Bruce Richardson
Naming convention for net drivers is "rte_pmd__version.map" Signed-off-by: Bruce Richardson --- drivers/net/xenvirt/Makefile| 2 +- .../{rte_eth_xenvirt_version.map => rte_pmd_xenvirt_version.map}| 0 2 files changed, 1 insertion(+), 1 deletion

[dpdk-dev] [PATCH 1/2] net/bonding: rename map file to standard name

2017-09-14 Thread Bruce Richardson
Naming convention for net drivers is "rte_pmd__version.map" Signed-off-by: Bruce Richardson --- drivers/net/bonding/Makefile| 2 +- .../net/bonding/{rte_eth_bond_version.map => rte_pmd_bond_version.map} | 0 2 files changed, 1 insertion(+), 1 deletion

[dpdk-dev] [PATCH 0/2] have net drivers use a standard map file name format

2017-09-14 Thread Bruce Richardson
rename some of the version.map files that don't match the standard naming convention. For future meson build system, this will save us having to specify for each driver what the filename of its map file is. Bruce Richardson (2): net/bonding: rename map file to standard name net/xenvirt: rename

[dpdk-dev] [PATCH] event/sw: rename map file to standard name

2017-09-14 Thread Bruce Richardson
Naming convention for event drivers is "rte_pmd__event_version.map" Signed-off-by: Bruce Richardson --- drivers/event/sw/Makefile | 2 +- .../sw/{rte_pmd_evdev_sw_version.map => rte_pmd_sw_event_version.map} | 0 2 files changed, 1 insertion(+), 1

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Hu, Jiayu >Sent: Thursday, September 14, 2017 11:01 AM >To: Ananyev, Konstantin ; Kavanagh, Mark B > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > >Hi Konstantin and Mark, > >> -Original Message- >> From: Ananyev, Konstantin >> Sent: T

[dpdk-dev] [PATCH] doc: update failsafe feature list

2017-09-14 Thread Matan Azrad
Add supported failsafe features to feature list. Remove stats per queue feature from failsafe feature list since queue_stats_mapping_set dev op has not implemented yet. Signed-off-by: Matan Azrad --- doc/guides/nics/features/failsafe.ini | 15 ++- 1 file changed, 14 insertions(+), 1

[dpdk-dev] [PATCH v2] net/tap: fix flow and port commands

2017-09-14 Thread Ophir Munk
This commit fixes two bugs related to tap devices. The first bug occurs when executing in testpmd the following flow rule assuming tap device has 4 rx and tx pair queues "flow create 0 ingress pattern eth / end actions queue index 5 / end" This command will report on success and will print ""Flow r

[dpdk-dev] [PATCH] ethdev: fix LIBABIVER

2017-09-14 Thread Ferruh Yigit
Fixes: c33ade1227a5 ("doc: notify ethdev callback process API change") Cc: sta...@dpdk.org Signed-off-by: Ferruh Yigit --- lib/librte_ether/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/Makefile b/lib/librte_ether/Makefile index c65f1f9a1..16bb2d07

Re: [dpdk-dev] [PATCH v3 3/4] examples: increase port_id range

2017-09-14 Thread Ferruh Yigit
On 9/9/2017 3:47 PM, Zhiyong Yang wrote: > Modify port_id related code in examples accordingly since port_id > definition in lib and pmd changes. > > Fix some original checkpatch issues and remove some unnecessary > cast at the same time. > > Signed-off-by: Zhiyong Yang > --- <...> > > diff --gi

Re: [dpdk-dev] [PATCH 3/4] doc: Add documents for AMD XGBE Ethernet

2017-09-14 Thread Kumar, Ravi1
>Hi Ravi, >' >On 9/13/2017 11:17 PM, Ravi Kumar wrote: >> Signed-off-by: Ravi Kumar >> --- >> doc/guides/nics/axgbe.rst | 214 >> + >> doc/guides/nics/features/axgbe.ini | 18 >> doc/guides/nics/index.rst | 1 + >> 3 files changed, 23

Re: [dpdk-dev] [PATCH v3 00/17] build DPDK libs and some drivers with meson/ninja

2017-09-14 Thread Bruce Richardson
On Wed, Sep 13, 2017 at 06:01:25PM +0100, Luca Boccassi wrote: > On Wed, 2017-09-13 at 15:12 +0100, Bruce Richardson wrote: > > V3 changes: > > * used two-digit version numbers when globally versioning > > libs+drivers > > * removed symlinks with single-digit version numbers in same case > > * move

Re: [dpdk-dev] [PATCH v5] net/mlx5: support upstream rdma-core

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 2:34 PM, Shachar Beiser wrote: > This removes the dependency on specific Mellanox OFED libraries by > using the upstream rdma-core and linux upstream community code. Would you mind mentioning what is the difference between "specific Mellanox OFED libraries" and "upstream rdma-core"? I

[dpdk-dev] [PATCH v3 2/2] net/mlx5: fix TSO MLNX OFED 3.3 verification

2017-09-14 Thread Shachar Beiser
Fixes: 3cf87e68d97b ("net/mlx5: remove old MLNX OFED 3.3 verification") Cc: sta...@dpdk.org Signed-off-by: Shachar Beiser --- There are only 2 patches left since I have squashed : [PATCH v2 3/3] “net/mlx5: fix interrupt enable return” http://dpdk.org/dev/patchwork/patch/28380/ into [dpdk-dev,v5]

[dpdk-dev] [PATCH v3 1/2] net/mlx5: replace network to host macros

2017-09-14 Thread Shachar Beiser
Signed-off-by: Shachar Beiser --- There are only 2 patches left since I have squashed : [PATCH v2 3/3] “net/mlx5: fix interrupt enable return” http://dpdk.org/dev/patchwork/patch/28380/ into [dpdk-dev,v5] net/mlx5: support upstream rdma-core --- drivers/net/mlx5/mlx5_mac.c | 8 ++- dr

Re: [dpdk-dev] [PATCH v3] ixgbe: eliminate duplicate filterlist symbols

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 1:50 PM, David C Harton wrote: > From: David Harton > > Some compilers generate warnings for duplicate symbols for the > set of filter lists current defined in ixgbe_ethdev.h. > This commits moves the definition and declaration to the source > file that actually uses them and provide

[dpdk-dev] [PATCH v5] net/mlx5: support upstream rdma-core

2017-09-14 Thread Shachar Beiser
This removes the dependency on specific Mellanox OFED libraries by using the upstream rdma-core and linux upstream community code. --- I have squashed : [PATCH v2 3/3] “net/mlx5: fix interrupt enable return” http://dpdk.org/dev/patchwork/patch/28380/ into this patch a. Compile with rdma-core comm

Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: fix clear xstats bug in vf port

2017-09-14 Thread Ferruh Yigit
On 9/1/2017 3:30 AM, Zhao1, Wei wrote: > Hi, Ferruh > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Friday, September 1, 2017 12:54 AM >> To: Zhao1, Wei ; dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: fix clear xstats bug in vf >> port >> >> On 8/29/2017 3:28 AM

[dpdk-dev] [PATCH v3] ixgbe: eliminate duplicate filterlist symbols

2017-09-14 Thread David C Harton
From: David Harton Some compilers generate warnings for duplicate symbols for the set of filter lists current defined in ixgbe_ethdev.h. This commits moves the definition and declaration to the source file that actually uses them and provides a function to initialize the values akin to its flush

Re: [dpdk-dev] git trees organization

2017-09-14 Thread Wiles, Keith
> On Sep 14, 2017, at 4:18 AM, Thomas Monjalon wrote: > > 14/09/2017 11:03, Bruce Richardson: >> On Thu, Sep 14, 2017 at 10:22:23AM +0200, Thomas Monjalon wrote: >>> 14/09/2017 04:25, Stephen Hemminger: Bisecting a tree with lots of subtree merges is terrible. That is why Linus rebases

Re: [dpdk-dev] [PATCH v3 1/4] ethdev: increase port_id range

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 3:26 AM, Yang, Zhiyong wrote: > Hi Ferruh, > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Monday, September 11, 2017 6:22 PM >> To: Yang, Zhiyong ; dev@dpdk.org; Doherty, Declan >> ; Lu, Wenzhuo >> Cc: tho...@monjalon.net; hemant.agra...@nxp.com; Hunt, David >> >> S

[dpdk-dev] [PATCH v2] ixgbe: eliminate duplicate filterlist symbols

2017-09-14 Thread David C Harton
From: David Harton Some compilers generate warnings for duplicate symbols for the set of filter lists current defined in ixgbe_ethdev.h. This commits moves the defintion and declaration to the source file that actually uses them and provides a function to initialize the values akin to its flush f

Re: [dpdk-dev] [PATCH v2] buildtools: zero elf info variable in pmdinfogen

2017-09-14 Thread Thomas Monjalon
05/09/2017 16:36, Bruce Richardson: > On Tue, Sep 05, 2017 at 02:27:58PM +0100, Harry van Haaren wrote: > > This commit zeros out the elf_info struct at startup of the > > pmdinfogen code. If it is not zeroed, later in the code gcc > > produces "may be unused" prints. Clang does not report any > >

[dpdk-dev] [PATCH v2] net/ark:add null point check

2017-09-14 Thread Yong Wang
In function ark_config_device(), there are several malloc without null point check. Fix it by adding null point check. v2: * Fix compile error. Signed-off-by: Yong Wang --- drivers/net/ark/ark_ethdev.c | 6 ++ drivers/net/ark/ark_pktchkr.c | 4 drivers/net/ark/ark_pktdir.c | 5 +

Re: [dpdk-dev] [PATCH v7 1/6] igb_uio: refactor irq enable/disable into own functions

2017-09-14 Thread Markus Theil
Tested-by: Markus Theil The MSI mode was tested in two setups: 1. With a custom driver I'm currently developing. 2. With i210 based APU2C4 boards and check of link status interrupt in testpmd. On 11.09.2017 19:48, Ferruh Yigit wrote: > On 9/5/2017 1:04 PM, Markus Theil wrote: >> Interrupt setup

Re: [dpdk-dev] [PATCH 3/4] doc: Add documents for AMD XGBE Ethernet

2017-09-14 Thread Hemant Agrawal
Hi Ravi, ' On 9/13/2017 11:17 PM, Ravi Kumar wrote: Signed-off-by: Ravi Kumar --- doc/guides/nics/axgbe.rst | 214 + doc/guides/nics/features/axgbe.ini | 18 doc/guides/nics/index.rst | 1 + 3 files changed, 233 insertions(+) create

[dpdk-dev] [PATCH v2 2/2] app/testpmd: add CLI for tm mode

2017-09-14 Thread Jasvinder Singh
Add following CLIs in testpmd application; - commands to build hierarchical tree for the QoS Scheduler. - commands for runtime update of the hierarchical tree. - commands to display TM capability information. (per port, per hierarchy level and per hierarchy node) - command to set the packet field

[dpdk-dev] [PATCH v2 1/2] app/testpmd: add traffic management forwarding mode

2017-09-14 Thread Jasvinder Singh
This commit extends the testpmd application with new forwarding engine that demonstrates the use of ethdev traffic management APIs and softnic PMD for QoS traffic management. In this mode, 5-level hierarchical tree of the QoS scheduler is built with the help of ethdev TM APIs such as shaper profil

Re: [dpdk-dev] [PATCH] ixgbe: eliminate duplicate filterlist symbols

2017-09-14 Thread David Harton (dharton)
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, September 14, 2017 6:10 AM > To: David Harton (dharton) ; > konstantin.anan...@intel.com > Cc: dev@dpdk.org; Wenzhuo Lu > Subject: Re: [dpdk-dev] [PATCH] ixgbe: eliminate duplicate filterlist > sy

Re: [dpdk-dev] [PATCH v2] armv8/config: enable igb_uio on arm64 platform

2017-09-14 Thread Hemant Agrawal
On 9/14/2017 9:23 AM, Jianbo Liu wrote: The kernel patch was merged to support pci resource mapping. https://patchwork.kernel.org/patch/9677441/ So enable igu_uio in the default arm64 configuration. v2: - keep headline format Signed-off-by: Jianbo Liu --- config/common_armv8a_linuxapp | 2

[dpdk-dev] [PATCH] net/tap: fix flow and port commands

2017-09-14 Thread Ophir Munk
This commit fixes two bugs related to tap devices. The first bug occurs when executing in testpmd the following flow rule assuming tap device has 4 rx and tx pair queues "flow create 0 ingress pattern eth / end actions queue index 5 / end" This command will report on success and will print ""Flow r

[dpdk-dev] [PATCH v5 4/4] net/mlx5: enforce Tx num of segments limitation

2017-09-14 Thread Shahaf Shuler
Mellanox NICs has a limitation on the number of mbuf segments a multi segment mbuf can have. The max number depends on the Tx offloads requested. The current code not enforce such limitation, which might cause malformed work requests to be written to the device. This commit adds verification for

[dpdk-dev] [PATCH v5 3/4] net/mlx5: fix Tx stats error counter logic

2017-09-14 Thread Shahaf Shuler
Tx error counter lacks the logic of incrementation, making it useless for applications. Fixes: 87011737b715 ("mlx5: add software counters") Cc: sta...@dpdk.org Cc: adrien.mazarg...@6wind.com Signed-off-by: Shahaf Shuler Acked-by: Yongseok Koh Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/ml

[dpdk-dev] [PATCH v5 1/4] net/mlx5: fix num seg assumption on vPMD

2017-09-14 Thread Shahaf Shuler
vPMD Tx function assumes that after the scatter of the multi-segment packets the next packet will be a single segment packet. This is not current as the function can return due to lack of resources without sending all of the multi-segment mbufs sequence. Fixes: 6cb559d67b83 ("net/mlx5: add vector

[dpdk-dev] [PATCH v5 2/4] net/mlx5: fix Tx stats error counter definition

2017-09-14 Thread Shahaf Shuler
The current Tx error counter counts, according to its description, the total number of packets not sent when TX ring full. It is reported to application as part of oerrors field. The drop due to full ring is not the statistic that should be set on oerrors field. Such number can be counted by the a

[dpdk-dev] [PATCH] net/tap: fix flow and port commands

2017-09-14 Thread Ophir Munk
This commit fixes two bugs related to tap devices. The first bug occurs when executing in testpmd the following flow rule assuming tap device has 4 rx and tx pair queues "flow create 0 ingress pattern eth / end actions queue index 5 / end" This command will report on success and will print ""Flow r

Re: [dpdk-dev] [PATCH] ixgbe: eliminate duplicate filterlist symbols

2017-09-14 Thread Ferruh Yigit
On 8/29/2017 5:23 PM, Ferruh Yigit wrote: > On 8/28/2017 6:13 PM, David Harton (dharton) wrote: >> >> >>> -Original Message- >>> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] >>> Sent: Monday, August 28, 2017 9:27 AM >>> To: David Harton (dharton) ; >>> konstantin.anan...@intel.com >>>

Re: [dpdk-dev] [PATCH v2] armv8/config: enable igb_uio on arm64 platform

2017-09-14 Thread Jianbo Liu
On 14 September 2017 at 17:41, Ferruh Yigit wrote: > On 9/14/2017 6:23 AM, santosh wrote: >> >> On Thursday 14 September 2017 09:23 AM, Jianbo Liu wrote: >>> The kernel patch was merged to support pci resource mapping. >>> https://patchwork.kernel.org/patch/9677441/ >>> >>> So enable igu_uio in th

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Konstantin and Mark, > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, September 14, 2017 5:36 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, > Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > > > -Original Message-

[dpdk-dev] 答复: Re: [PATCH] net/ark:add null point check

2017-09-14 Thread wang . yong19
> Ferruh Yigit > 2017/09/14 17:33 > > to > > Yong Wang , shepard.sie...@atomicrules.com, > > cc > > dev@dpdk.org > > subject > > Re: [dpdk-dev] [PATCH] net/ark:add null point check > > On 9/14/2017 8:22 AM, Yong Wang wrote: > > In function ark_config_device(), there are several malloc wit

Re: [dpdk-dev] [PATCH 1/4] Add AMD XGBE Ethernet config support in DPDK

2017-09-14 Thread Kumar, Ravi1
>On 9/13/2017 6:47 PM, Ravi Kumar wrote: >> Signed-off-by: Ravi Kumar >> --- >> config/common_base | 6 ++ >> mk/rte.app.mk | 1 + >> 2 files changed, 7 insertions(+) >> >> diff --git a/config/common_base b/config/common_base index >> 5e97a08..fab46b5 100644 >> --- a/config/common_base

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Mark, > -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 4:52 PM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14,

[dpdk-dev] [Bug 3] Test bug

2017-09-14 Thread bugzilla
http://dpdk.org/tracker/show_bug.cgi?id=3 Bug ID: 3 Summary: Test bug Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Compo

Re: [dpdk-dev] [PATCH v2] armv8/config: enable igb_uio on arm64 platform

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 6:23 AM, santosh wrote: > > On Thursday 14 September 2017 09:23 AM, Jianbo Liu wrote: >> The kernel patch was merged to support pci resource mapping. >> https://patchwork.kernel.org/patch/9677441/ >> >> So enable igu_uio in the default arm64 configuration. >> >> v2: >> - keep headli

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Thursday, September 14, 2017 10:11 AM >To: Kavanagh, Mark B ; Hu, Jiayu > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > >> -Original Message- >> From: Kavanagh, Mark B >> Sent: Thursday, September 14, 201

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Hu, Jiayu > Sent: Thursday, September 14, 2017 10:29 AM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Konstantin, > > > -Original Message- > > Fr

Re: [dpdk-dev] [PATCH] net/ark:add null point check

2017-09-14 Thread Ferruh Yigit
On 9/14/2017 8:22 AM, Yong Wang wrote: > In function ark_config_device(), there are several malloc without null > point check. Fix it by adding null point check. > > Signed-off-by: Yong Wang Hi Yong, Thank you for the patch. I think you have sent new version of the patch because previous one w

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Hu, Jiayu
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, September 14, 2017 4:47 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, > Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Jiayu, > > > -Original Message-

Re: [dpdk-dev] git trees organization

2017-09-14 Thread Thomas Monjalon
14/09/2017 11:03, Bruce Richardson: > On Thu, Sep 14, 2017 at 10:22:23AM +0200, Thomas Monjalon wrote: > > 14/09/2017 04:25, Stephen Hemminger: > > > Bisecting a tree with lots of subtree merges is terrible. That is why > > > Linus > > > rebases and doesn't directly take linux-next > > > > I agre

Re: [dpdk-dev] git trees organization

2017-09-14 Thread Nélio Laranjeiro
On Thu, Sep 14, 2017 at 10:22:23AM +0200, Thomas Monjalon wrote: > 14/09/2017 04:25, Stephen Hemminger: > > Bisecting a tree with lots of subtree merges is terrible. That is why Linus > > rebases and doesn't directly take linux-next > > I agree, bisecting with subtree merges is not pleasant at all

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 10:01 AM > To: Ananyev, Konstantin ; Hu, Jiayu > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Ananyev, Konstantin > >Sent: Thursday, September

Re: [dpdk-dev] git trees organization

2017-09-14 Thread Bruce Richardson
On Thu, Sep 14, 2017 at 10:22:23AM +0200, Thomas Monjalon wrote: > 14/09/2017 04:25, Stephen Hemminger: > > Bisecting a tree with lots of subtree merges is terrible. That is why Linus > > rebases and doesn't directly take linux-next > > I agree, bisecting with subtree merges is not pleasant at all

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Ananyev, Konstantin >Sent: Thursday, September 14, 2017 9:40 AM >To: Kavanagh, Mark B ; Hu, Jiayu > >Cc: dev@dpdk.org; Tan, Jianfeng >Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > > >> -Original Message- >> From: Kavanagh, Mark B >> Sent: Thursday, September 14, 2017

Re: [dpdk-dev] [PATCH 1/4] Add AMD XGBE Ethernet config support in DPDK

2017-09-14 Thread Ferruh Yigit
On 9/13/2017 6:47 PM, Ravi Kumar wrote: > Signed-off-by: Ravi Kumar > --- > config/common_base | 6 ++ > mk/rte.app.mk | 1 + > 2 files changed, 7 insertions(+) > > diff --git a/config/common_base b/config/common_base > index 5e97a08..fab46b5 100644 > --- a/config/common_base > +++ b/co

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Kavanagh, Mark B
>From: Hu, Jiayu >Sent: Thursday, September 14, 2017 7:07 AM >To: Ananyev, Konstantin >Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > >Subject: Re: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > >Hi Konstantin, > >On Thu, Sep 14, 2017 at 06:10:37AM +0800, Ananyev, Konstantin wrote: >> >> Hi

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
Hi Jiayu, > -Original Message- > From: Hu, Jiayu > Sent: Thursday, September 14, 2017 7:07 AM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; Kavanagh, Mark B ; Tan, Jianfeng > > Subject: Re: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > Hi Konstantin, > > On Thu, Sep 14, 2017 at 06:

Re: [dpdk-dev] [PATCH v3 2/5] gso: add TCP/IPv4 GSO support

2017-09-14 Thread Ananyev, Konstantin
> -Original Message- > From: Kavanagh, Mark B > Sent: Thursday, September 14, 2017 9:35 AM > To: Hu, Jiayu ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Tan, Jianfeng > Subject: RE: [PATCH v3 2/5] gso: add TCP/IPv4 GSO support > > >From: Hu, Jiayu > >Sent: Thursday, September 14, 2017 2

  1   2   >