[dpdk-dev] [PATCH] cryptodev: fix crash on null dereference

2016-12-01 Thread Jerin Jacob
On Wed, Nov 30, 2016 at 03:10:14PM +, De Lara Guarch, Pablo wrote: > Hi Jerin, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jerin Jacob > > Sent: Tuesday, November 15, 2016 7:12 PM > > To: dev at dpdk.org > > Cc: Doherty, Declan; Jerin Jacob > >

[dpdk-dev] [PATCH v2] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-12-01 Thread Jerin Jacob
On Wed, Nov 30, 2016 at 05:52:02PM +, Ananyev, Konstantin wrote: > Hi Jerin, Hi Konstantin, > > > > > On Tue, Nov 22, 2016 at 01:46:54PM +, Bruce Richardson wrote: > > > On Tue, Nov 22, 2016 at 03:46:38AM +0530, Jerin Jacob wrote: > > > > On Sun, Nov 20, 2016 at 11:21:43PM +,

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Jerin Jacob
On Wed, Nov 30, 2016 at 07:26:36PM +0100, Thomas Monjalon wrote: > 2016-11-30 17:42, Ananyev, Konstantin: > > > >Please, we need a comment for each driver saying > > > >"it is OK, we do not need any checksum preparation for TSO" > > > >or > > > >"yes we have to implement tx_prepare or TSO will not

[dpdk-dev] [PATCH 0/3] maintainers: minor updates to virtio and stable

2016-12-01 Thread Yuanhan Liu
--- Yuanhan Liu (3): maintainers: update virtio maintainer maintainers: update virtio section name maintainers: add stable mailing list MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.0

[dpdk-dev] [PATCH 1/3] maintainers: update virtio maintainer

2016-12-01 Thread Yuanhan Liu
Huawei has left DPDK team for months, and he hasn't showed up since then. Remove him. Cc: Huawei Xie Signed-off-by: Yuanhan Liu --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 26d9590..cc1ab68 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[dpdk-dev] [PATCH 2/3] maintainers: update virtio section name

2016-12-01 Thread Yuanhan Liu
Signed-off-by: Yuanhan Liu --- hmm.., maybe we could seperate lib vhost and virtio pmd, into two different sections? --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cc1ab68..3df1754 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[dpdk-dev] [PATCH 3/3] maintainers: add stable mailing list

2016-12-01 Thread Yuanhan Liu
Signed-off-by: Yuanhan Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3df1754..076e86c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -35,6 +35,7 @@ F: scripts/test-build.sh Stable Branches --- T: git://dpdk.org/dpdk-stable

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Adrien Mazarguil
Hi Konstantin, On Wed, Nov 30, 2016 at 10:54:50AM +, Ananyev, Konstantin wrote: [...] > > Something is definitely needed here, and only PMDs can provide it. I think > > applications should not have to clear checksum fields or initialize them to > > some magic value, same goes for any other

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Adrien Mazarguil
Hi Tomasz, On Wed, Nov 30, 2016 at 10:30:54AM +, Kulasek, TomaszX wrote: [...] > > > In my opinion the second approach is both faster to applications and > > > more friendly from a usability perspective, am I missing something > > obvious? > > > > I think it was not clearly explained in this

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Rahul Lakkireddy
Hi Thomas, On Monday, November 11/28/16, 2016 at 16:33:06 +0530, Thomas Monjalon wrote: > We need attention of every PMD developers on this thread. > > Reminder of what Konstantin suggested: > " > - if the PMD supports TX offloads AND > - if to be able use any of these offloads the upper layer

[dpdk-dev] [PATCH 01/22] ethdev: introduce generic flow API

2016-12-01 Thread Adrien Mazarguil
Hi Kevin, On Wed, Nov 30, 2016 at 05:47:17PM +, Kevin Traynor wrote: > Hi Adrien, > > On 11/16/2016 04:23 PM, Adrien Mazarguil wrote: > > This new API supersedes all the legacy filter types described in > > rte_eth_ctrl.h. It is slightly higher level and as a result relies more on > > PMDs

[dpdk-dev] [PATCH 00/22] Generic flow API (rte_flow)

2016-12-01 Thread Adrien Mazarguil
Hi Yulong, On Mon, Nov 28, 2016 at 10:03:53AM +, Pei, Yulong wrote: > Hi Adrien, > > I think that you already did test for your patchset, do you have any > automated test scripts can be shared for validation since there did not have > testpmd flow command documentation yet? No automated

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Thomas Monjalon
2016-12-01 08:15, Adrien Mazarguil: > I'm perhaps a bit pessimistic mind you, but I do not think tx_prepare() will > remain optional for long. Sure, PMDs that do not implement it do not care, > I'm focusing on applications, for which the performance impact of calling > tx_prepare() followed by

[dpdk-dev] [PATCH 0/3] AESNI MB PMD updates

2016-12-01 Thread Pablo de Lara
The library used in AESNI MB PMD, Intel Multi Buffer Crypto for IPsec, has been migrated to a new location, in github (see documentation patch for the link). The library has also been updated, so single crypto operations are supported (cipher and authentication only). Therefore, the PMD has been

[dpdk-dev] [PATCH 1/3] doc: update AESNI MB PMD guide

2016-12-01 Thread Pablo de Lara
The Intel(R) Multi Buffer Crypto library used in the AESNI MB PMD has been moved to a new repository, in github. This patch updates the link where it can be downloaded. Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst | 10 +++---

[dpdk-dev] [PATCH 2/3] crypto/aesni_mb: add single operation functionality

2016-12-01 Thread Pablo de Lara
Update driver to use new AESNI Multibuffer IPSec library single operation functionality (cipher only and authentication only). This patch also adds tests for this new feature. Signed-off-by: Pablo de Lara --- app/test/test_cryptodev.c | 34

[dpdk-dev] [PATCH 3/3] doc: add missing supported algos for AESNI MB PMD

2016-12-01 Thread Pablo de Lara
AESNI MB PMD supports SHA224-HMAC and SHA384-HMAC, but the documentation was not updated with this. Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/cryptodevs/aesni_mb.rst b/doc/guides/cryptodevs/aesni_mb.rst

[dpdk-dev] [RFC PATCH] i40e: fix setting of default MAC address

2016-12-01 Thread Igor Ryzhov
Ping. On Thu, Nov 24, 2016 at 3:34 PM, Igor Ryzhov wrote: > While testing X710 cards in our lab I found that setting of default MAC > address > doesn't work correctly for i40e driver. I compared DPDK driver > implementation > with Linux driver implementation and found that a lot of code is lost

[dpdk-dev] [PATCH] vhost: fix add_guest_pages bug

2016-12-01 Thread Haifeng Lin
When reg_size < page_size the function read in rte_mem_virt2phy would not return, becasue gpa is invalid. Signed-off-by: Haifeng Lin --- lib/librte_vhost/vhost_user.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_vhost/vhost_user.c

[dpdk-dev] apply commit e30a0178d290a4e83dc01f9c2170d4859339c9cf "kni: support RHEL 7.3" to dpdk-stable?

2016-12-01 Thread Ferruh Yigit
On 11/30/2016 8:54 PM, Roberts, Lee A. wrote: > Does it make sense to apply the commit for "kni: support RHEL 7.3" > (http://www.dpdk.org/browse/dpdk/commit/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h?id=e30a0178d290a4e83dc01f9c2170d4859339c9cf) > to the stable tree to enable clean

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Ferruh Yigit
On 11/30/2016 6:26 PM, Thomas Monjalon wrote: > 2016-11-30 17:42, Ananyev, Konstantin: Please, we need a comment for each driver saying "it is OK, we do not need any checksum preparation for TSO" or "yes we have to implement tx_prepare or TSO will not work in this mode"

[dpdk-dev] [PATCH v2] doc: add pdump library to API doxygen

2016-12-01 Thread Ferruh Yigit
From: Reshma Pattan Add pdump library to API doxygen. Signed-off-by: Reshma Pattan --- v2: * Move pdump higher position in the index --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + 2 files changed, 2 insertions(+) diff --git

[dpdk-dev] Hyper-v support

2016-12-01 Thread Thomas Monjalon
2016-11-30 14:34, Varun: > Hi, > > I would like to know if the latest DPDK (16.11) supports hyper-v? > > I couldn't find any conclusive evidence online or in dpdk roadmap. Is it > likely that we see it in 17.05? Stephen did a presentation at the last DPDK userspace summit:

[dpdk-dev] Hyper-v support

2016-12-01 Thread Thomas Monjalon
(fixed the email, sorry) 2016-12-01 12:21, Thomas Monjalon: > 2016-11-30 14:34, Varun: > > Hi, > > > > I would like to know if the latest DPDK (16.11) supports hyper-v? > > > > I couldn't find any conclusive evidence online or in dpdk roadmap. Is it > > likely that we see it in 17.05? > >

[dpdk-dev] [PATCH v2] i40e: Fix eth_i40e_dev_init sequence on ThunderX

2016-12-01 Thread Ananyev, Konstantin
Hi Jerin, > > > > > > > > > > > > > > i40e_asq_send_command: rd32 & wr32 under ThunderX gives > > > > > > > unpredictable > > > > > > >results. To solve this include rte memory > > > > > > > barriers > > > > > > > > > > > > > > Signed-off-by: Satha Rao > > > > > > >

[dpdk-dev] [PATCH v2] vhost: fix add_guest_pages bug

2016-12-01 Thread Haifeng Lin
When reg_size < page_size the function read in rte_mem_virt2phy would not return, becausue host_user_addr is invalid. Signed-off-by: Haifeng Lin --- v2: fix TYPO_SPELLING warning --- lib/librte_vhost/vhost_user.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[dpdk-dev] [PATCH v1 1/2] distributor lib performance enhancements

2016-12-01 Thread David Hunt
This patch aims to improve the throughput of the distributor library. It uses a similar handshake mechanism to the previous version of the library, in that bits are used to indicate when packets are ready to be sent to a worker and ready to be returned from a worker. One main difference is that

[dpdk-dev] [PATCH v1 1/2] lib: distributor performance enhancements

2016-12-01 Thread David Hunt
Now sends bursts of up to 8 mbufs to each worker, and tracks the in-flight flow-ids (atomic scheduling) New file with a new api, similar to the old API except with _burst at the end of the function names. Signed-off-by: David Hunt --- lib/librte_distributor/Makefile | 2 +

[dpdk-dev] [PATCH v1 2/2] example: distributor app modified to use burstAPI

2016-12-01 Thread David Hunt
New stats to show details of throughput per second. Runs on a separate core to the rx thread so as not to affect performance. Thread for Stats, rx, tx, and distributor, all other cores in coremask will be used for workers. There's some "#if 0" lines in the code that allow the rx + dist to be run

[dpdk-dev] [PATCH v2] doc: add pdump library to API doxygen

2016-12-01 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > Sent: Thursday, December 1, 2016 11:02 AM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH v2] doc: add pdump library to API doxygen > > From: Reshma Pattan > > Add

[dpdk-dev] [PATCH v2] scripts: check cc stable mailing list in commit

2016-12-01 Thread Thomas Monjalon
Add a check for commits fixing a released bug. Such commits are found thanks to scripts/git-log-fixes.sh. They must be sent CC: stable at dpdk.org. In order to avoid forgetting CC, this mail header can be written in the git commit message. Signed-off-by: Thomas Monjalon --- v2: fix option -N ---

[dpdk-dev] [PATCH v2] ethdev: check number of queues less than RTE_ETHDEV_QUEUE_STAT_CNTRS

2016-12-01 Thread Alejandro Lucero
On Mon, Nov 28, 2016 at 11:13 AM, Thomas Monjalon wrote: > 2016-11-24 17:59, Olivier Matz: > > Hi, > > > > On Mon, 2016-11-21 at 09:59 +, Alejandro Lucero wrote: > > > From: Bert van Leeuwen > > > > > > Arrays inside rte_eth_stats have size=RTE_ETHDEV_QUEUE_STAT_CNTRS. > > > Some devices

[dpdk-dev] [PATCH v2] scripts: check cc stable mailing list in commit

2016-12-01 Thread Ferruh Yigit
On 12/1/2016 1:43 PM, Thomas Monjalon wrote: > Add a check for commits fixing a released bug. > Such commits are found thanks to scripts/git-log-fixes.sh. > They must be sent CC: stable at dpdk.org. > In order to avoid forgetting CC, this mail header can be written > in the git commit message. >

[dpdk-dev] [PATCH v2] scripts: check cc stable mailing list in commit

2016-12-01 Thread Thomas Monjalon
2016-12-01 15:00, Ferruh Yigit: > On 12/1/2016 1:43 PM, Thomas Monjalon wrote: > > Add a check for commits fixing a released bug. > > Such commits are found thanks to scripts/git-log-fixes.sh. > > They must be sent CC: stable at dpdk.org. > > In order to avoid forgetting CC, this mail header can

[dpdk-dev] [PATCH 2/3] maintainers: update virtio section name

2016-12-01 Thread Thomas Monjalon
2016-12-01 15:06, Yuanhan Liu: > Signed-off-by: Yuanhan Liu > --- > > hmm.., maybe we could seperate lib vhost and virtio pmd, into two > different sections? Yes we can :) > -RedHat virtio > +Virtio PMD and vhost lib > M: Yuanhan Liu > T: git://dpdk.org/next/dpdk-next-virtio > F:

[dpdk-dev] [PATCH 1/3] maintainers: update virtio maintainer

2016-12-01 Thread Mcnamara, John
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, December 1, 2016 7:07 AM > To: dev at dpdk.org > Cc: Thomas Monjalon ; Mcnamara, John > ; Yuanhan Liu ; > Xie, > Huawei > Subject: [PATCH 1/3] maintainers: update virtio maintainer > >

[dpdk-dev] [PATCH] pmdinfogen: Fix pmdinfogen to select proper endianess on cross-compile

2016-12-01 Thread Thomas Monjalon
2016-11-21 10:11, Bruce Richardson: > On Fri, Nov 18, 2016 at 01:47:52PM -0500, Neil Horman wrote: > > pmdinfogen has a bug in which, during build, it pulls in rte_byteorder.h to > > obtain the rte macros for byteswapping between the cpu byte order and big or > > little endian. Unfortunately,

[dpdk-dev] [PATCH 2/3] maintainers: update virtio section name

2016-12-01 Thread Mcnamara, John
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, December 1, 2016 7:07 AM > To: dev at dpdk.org > Cc: Thomas Monjalon ; Mcnamara, John > ; Yuanhan Liu > Subject: [PATCH 2/3] maintainers: update virtio section name > > Signed-off-by:

[dpdk-dev] [PATCH 3/3] maintainers: add stable mailing list

2016-12-01 Thread Mcnamara, John
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, December 1, 2016 7:07 AM > To: dev at dpdk.org > Cc: Thomas Monjalon ; Mcnamara, John > ; Yuanhan Liu > Subject: [PATCH 3/3] maintainers: add stable mailing list > > Signed-off-by:

[dpdk-dev] [PATCH] vhost: allow for many vhost user ports

2016-12-01 Thread Jan Wickbom
Currently select() is used to monitor file descriptors for vhostuser ports. This limits the number of ports possible to create since the fd number is used as index in the fd_set and we have seen fds > 1023. This patch changes select() to poll(). This way we can keep an packed (pollfd) array for

[dpdk-dev] [PATCH v2 3/7] pci: Pass rte_pci_addr to functions instead of separate args

2016-12-01 Thread Shreyansh Jain
Hello Ben, On Thursday 24 November 2016 01:37 AM, Ben Walker wrote: > Instead of passing domain, bus, devid, func, just pass > an rte_pci_addr. > > Signed-off-by: Ben Walker > --- > lib/librte_eal/linuxapp/eal/eal_pci.c | 32 +--- > 1 file changed, 13 insertions(+),

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Thomas Monjalon
Please, a reply to this question would be greatly appreciated. 2016-11-28 11:54, Thomas Monjalon: > Hi, > > 2016-11-23 18:36, Tomasz Kulasek: > > --- a/config/common_base > > +++ b/config/common_base > > @@ -120,6 +120,7 @@ CONFIG_RTE_MAX_QUEUES_PER_PORT=1024 > > CONFIG_RTE_LIBRTE_IEEE1588=n >

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Kulasek, TomaszX
Hi Thomas, Sorry, I have answered for this question in another thread and I missed about this one. Detailed answer is below. > -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Thursday, December 1, 2016 17:24 > To: Kulasek, TomaszX

Re: [dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Jerin Jacob
On Thu, Dec 01, 2016 at 09:58:31AM +0100, Thomas Monjalon wrote: > 2016-12-01 08:15, Adrien Mazarguil: > > I'm perhaps a bit pessimistic mind you, but I do not think tx_prepare() will > > remain optional for long. Sure, PMDs that do not implement it do not care, > > I'm focusing on applications,

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Jerin Jacob
On Thu, Dec 01, 2016 at 08:52:22PM +0100, Thomas Monjalon wrote: > 2016-12-01 19:20, Kulasek, TomaszX: > > Hi Thomas, > > > > Sorry, I have answered for this question in another thread and I missed > > about this one. Detailed answer is below. > > Yes you already gave this answer. > And I will

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Thomas Monjalon
2016-12-01 22:31, Kulasek, TomaszX: > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > > 2016-12-01 19:20, Kulasek, TomaszX: > > > Hi Thomas, > > > > > > Sorry, I have answered for this question in another thread and I missed > > about this one. Detailed answer is below. > > > > Yes you

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Kulasek, TomaszX
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Thursday, December 1, 2016 20:52 > To: Kulasek, TomaszX > Cc: dev@dpdk.org; Ananyev, Konstantin ; > olivier.m...@6wind.com;

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Ananyev, Konstantin
> > Hi Thomas, > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > > Sent: Thursday, December 1, 2016 20:52 > > To: Kulasek, TomaszX > > Cc: dev@dpdk.org; Ananyev, Konstantin ; > >

[dpdk-dev] [PATCH 00/24] net/i40e: Consistent filter API

2016-12-01 Thread Beilei Xing
All pathes depend on Adrien's Generic flow API. The patches mainly finish following functions: 1) Store and restore all kinds of filters. 2) Parse all kinds of filters. 3) Add flow validate function. 4) Add flow create function. 5) Add flow destroy function. 6) Add flow flush function. Beilei

[dpdk-dev] [PATCH 03/24] net/i40e: store flow director filter

2016-12-01 Thread Beilei Xing
Add support for storing flow director filter in SW. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 48 + drivers/net/i40e/i40e_ethdev.h | 12 ++ drivers/net/i40e/i40e_fdir.c | 95 ++ 3

[dpdk-dev] [PATCH 02/24] net/i40e: store tunnel filter

2016-12-01 Thread Beilei Xing
Add support of storing tunnel filter in SW. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 161 - drivers/net/i40e/i40e_ethdev.h | 35 + 2 files changed, 193 insertions(+), 3 deletions(-) diff --git

[dpdk-dev] [PATCH 04/24] net/i40e: store RSS hash info

2016-12-01 Thread Beilei Xing
Add support of storing lookup table and RSS configuration in SW. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 39 ++- drivers/net/i40e/i40e_ethdev.h | 6 ++ 2 files changed, 40 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH 05/24] net/i40e: restore ethertype filter

2016-12-01 Thread Beilei Xing
Add support of restoring ethertype filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index

[dpdk-dev] [PATCH 06/24] net/i40e: restore macvlan filter

2016-12-01 Thread Beilei Xing
Add support of restoring macvlan filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 11c4c64..119ff94 100644

[dpdk-dev] [PATCH 07/24] net/i40e: restore tunnel filter

2016-12-01 Thread Beilei Xing
Add support of restoring tunnel filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 119ff94..8ca69f2 100644

[dpdk-dev] [PATCH 08/24] net/i40e: restore flow director filter

2016-12-01 Thread Beilei Xing
Add support of restoring flow director filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_fdir.c | 11 +++ 3 files changed, 13 insertions(+) diff --git

[dpdk-dev] [PATCH 12/24] net/i40e: parse macvlan filter

2016-12-01 Thread Beilei Xing
Check if the rule is a macvlan rule, and get the macvlan info BTW. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 160 + 1 file changed, 160 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 11/24] net/i40e: add flow validate function

2016-12-01 Thread Beilei Xing
This patch adds handling RTE_ETH_FILTER_GENERIC filter type in .filter_ctrl function, and result in a pointer to i40e_flow_ops. This patch also adds flow validate ops. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 34 ++ 1

[dpdk-dev] [PATCH 19/24] net/i40e: destroy tunnel filter

2016-12-01 Thread Beilei Xing
This patch adds a function to destroy the tunnel filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 43 ++ 1 file changed, 43 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 18/24] net/i40e: destroy macvlan filter

2016-12-01 Thread Beilei Xing
This patch adds a function to destroy the macvlan filter. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 15/24] net/i40e: parse flow director filter

2016-12-01 Thread Beilei Xing
Check if the rule is a flow director rule, and get the flow director info. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 537 + 1 file changed, 537 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 14/24] net/i40e: parse NVGRE filter

2016-12-01 Thread Beilei Xing
Check if the rule is a NVGRE rule, and get the NVGRE info. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 269 + lib/librte_ether/rte_flow.h| 23 2 files changed, 292 insertions(+) diff --git

[dpdk-dev] [PATCH 10/24] ethdev: parse ethertype filter

2016-12-01 Thread Beilei Xing
Check if the rule is a ethertype rule, and get the ethertype info BTW. Signed-off-by: Wenzhuo Lu Signed-off-by: Beilei Xing --- lib/librte_ether/rte_flow.c| 136 + lib/librte_ether/rte_flow_driver.h | 34

[dpdk-dev] [PATCH 09/24] net/i40e: restore RSS hash info

2016-12-01 Thread Beilei Xing
Add support of restoring RSS hash info, include looup table and RSS configuration. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c

Re: [dpdk-dev] [RFC PATCH] i40e: fix setting of default MAC address

2016-12-01 Thread Wu, Jingjing
Hi, Igor Thanks for your contribute, my comments are in below, thanks. > -Original Message- > From: Igor Ryzhov [mailto:iryz...@nfware.com] > Sent: Thursday, November 24, 2016 8:35 PM > To: dev@dpdk.org > Cc: Zhang, Helin ; Wu, Jingjing > >

[dpdk-dev] [PATCH 17/24] net/i40e: destroy ethertype filter

2016-12-01 Thread Beilei Xing
This patch adds a function to destroy the ethertype filter. And this patch also adds flow destroy function. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 69 ++ 1 file changed, 69 insertions(+) diff --git

[dpdk-dev] [PATCH 23/24] net/i40e: flush macvlan filters

2016-12-01 Thread Beilei Xing
This patch is to flush all macvlan filters. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index e685c99..26a8c5a

[dpdk-dev] [PATCH 24/24] net/i40e: flush tunnel filters

2016-12-01 Thread Beilei Xing
This patch is to flush all tunnel filters. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 26a8c5a..71d1f37

[dpdk-dev] [PATCH 21/24] net/i40e: add flow flush function

2016-12-01 Thread Beilei Xing
This patch adds flow flush ops. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 17 + drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_fdir.c | 3 +-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH 22/24] net/i40e: flush ethertype filters

2016-12-01 Thread Beilei Xing
This patch is to flush all ethertype filters. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 1a5b767..e685c99

Re: [dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Ananyev, Konstantin
Hi Adrien, > > Hi Konstantin, > > On Wed, Nov 30, 2016 at 10:54:50AM +, Ananyev, Konstantin wrote: > [...] > > > Something is definitely needed here, and only PMDs can provide it. I think > > > applications should not have to clear checksum fields or initialize them > > > to > > > some

Re: [dpdk-dev] [PATCH v12 1/6] ethdev: add Tx preparation

2016-12-01 Thread Ananyev, Konstantin
> > 2016-11-23 18:36, Tomasz Kulasek: > > +/** > > + * Process a burst of output packets on a transmit queue of an Ethernet > > device. > > + * > > + * The rte_eth_tx_prepare() function is invoked to prepare output packets > > to be > > + * transmitted on the output queue *queue_id* of the

[dpdk-dev] [PATCH] app/testpmd: unify help strings

2016-12-01 Thread Ferruh Yigit
Formatted as: cmd fixed_string fixed|string|options : Description If there is no description, final colon emitted. Signed-off-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 465 ++--- 1 file changed, 250 insertions(+), 215

[dpdk-dev] [PATCH v2] app/testpmd: unify help strings

2016-12-01 Thread Ferruh Yigit
Formatted as: cmd fixed_string fixed|string|options : Description If there is no description, final colon emitted. Signed-off-by: Ferruh Yigit --- v2: * checkpatch warnings fixed --- app/test-pmd/cmdline.c | 486 +++-- 1 file

[dpdk-dev] [PATCH 14/31] net/sfc: handle received packet type info provided by HW

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 16/31] net/sfc: support Rx free threshold

2016-12-01 Thread Andrew Rybchenko
Rx free threshold defines minimum number of free Rx descriptors when Rx ring refill should be done. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 20/31] net/sfc: support deferred start of receive queues

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 22/31] net/sfc: support Tx free threshold

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 19/31] net/sfc: support scattered Rx DMA

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 4 ++-- drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 17/31] net/sfc: add callback to get RxQ pending descriptors count

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 11 +++ drivers/net/sfc/sfc_rx.c | 16 drivers/net/sfc/sfc_rx.h

[dpdk-dev] [PATCH 18/31] net/sfc: add RxQ descriptor done callback

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 9 + drivers/net/sfc/sfc_rx.c | 11 +++ drivers/net/sfc/sfc_rx.h | 1 +

[dpdk-dev] [PATCH 21/31] net/sfc: add callback to get transmit queue information

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 30/31] net/sfc: add callback to update RSS redirection table

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 25/31] net/sfc: add basic stubs for RSS support on driver attach

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- doc/guides/nics/sfc_efx.rst |

[dpdk-dev] [PATCH 27/31] net/sfc: add callback to query RSS key and hash types config

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 26/31] net/sfc: support RSS hash offload

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Extract RSS hash provided by the HW in the prefix and put it to mbuf. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew

[dpdk-dev] [PATCH 29/31] net/sfc: add callback to query RSS redirection table

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 2/2] net/sfc: restart TxQ in case of exception on its event queue

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Examples of recoverable exceptions because of Tx error are: - Tx descriptor PCI read error - invalid Tx option descriptor - Tx option descriptor not supported by the firmware variant - unexpected Tx option descriptor (e.g. missing FATSO2A before

[dpdk-dev] [PATCH 1/2] net/sfc: restart RxQ in case of exception on its event queue

2016-12-01 Thread Andrew Rybchenko
Examples of recoverable exceptions are: - unexpected Rx event (Rx scatter abort with non-zero size, too big Rx descriptors batch completed) - Rx error due to invalid Rx descriptors push - Rx error due to Rx descriptor read error (e.g. unmapped Rx ring and denied by IOMMU) Reviewed-by:

[dpdk-dev] [PATCH 0/2] Event queue exception handling in Solarflare PMD

2016-12-01 Thread Andrew Rybchenko
The patch series adds event queue exception handling. It is not required when everything goes fine, but has chances to recover if something goes wrong in either driver or HW. The patch series should be applied after [PATCH v2 00/55] Solarflare libefx-based PMD (Message-ID:

[dpdk-dev] [PATCH 31/31] net/sfc: support firmware-assisted TSOv2

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Mark Spender Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko

[dpdk-dev] [PATCH 06/31] net/sfc: support link status change interrupt

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 4 +- drivers/net/sfc/sfc.c

[dpdk-dev] [PATCH 10/31] net/sfc: support promiscuous and all-multicast control

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 07/31] net/sfc: implement device operation to change MTU

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 2 ++ doc/guides/nics/sfc_efx.rst | 4 +++ drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 09/31] net/sfc: support link up/down

2016-12-01 Thread Andrew Rybchenko
From: Artem Andreev Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Artem Andreev Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 15/31] net/sfc: support callback to get receive queue information

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 24 1 file changed, 24 insertions(+) diff --git

[dpdk-dev] [PATCH 13/31] net/sfc: support checksum offloads on receive

2016-12-01 Thread Andrew Rybchenko
IPv4 header and TCP/UDP checksums for both IPv4 and IPv6 are supported. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 4 ++--

[dpdk-dev] [PATCH 12/31] net/sfc: support multicast addresses list controls

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 11/31] net/sfc: support main (the first) MAC address change

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 01/31] net/sfc: implement MCDI logging callback

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/sfc_efx.rst | 6 drivers/net/sfc/efsys.h | 2 +- drivers/net/sfc/sfc.h| 1 +

  1   2   >