Re: [dpdk-dev] [PATCH 23/28] net/ixgbe: use eal I/O device memory read/write API

2016-12-15 Thread Santosh Shukla
On Thu, Dec 15, 2016 at 04:37:12PM +0800, Jianbo Liu wrote: > On 14 December 2016 at 09:55, Jerin Jacob > wrote: > > From: Santosh Shukla > > > > Replace the raw I/O device memory read/write access with eal > > abstraction for I/O device memory read/write access to fix > > portability issues acro

[dpdk-dev] [PATCH v3 29/29] net/i40e: set/clear VF stats from PF

2016-12-15 Thread Qi Zhang
This patch add support to get/clear VF statistics from PF side. Two APIs are added: rte_pmd_i40e_get_vf_stats. rte_pmd_i40e_reset_vf_stats. Signed-off-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev.c| 76 +++ drivers/net/i40e/rte_pmd_i40e.h | 41 +

[dpdk-dev] [PATCH v3 27/29] net/i40e: support Linux VF to configure IRQ link list

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" 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 while Linux VF will reques

[dpdk-dev] [PATCH v3 28/29] net/i40e: enhance in sanity check of MAC

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" When VF sends request to add a new MAC address, PF host will check if it's a non-zero or unicast address, or it will return with error. In fact, VF still can set multicast address. This change remove to check if it's a unicast address. Signed-off-by: Chen Jing D(Mark)

[dpdk-dev] [PATCH v3 26/29] net/i40e: parse more VF parameter and configure

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" When VF requested to configure TX queue, a few parameters are missed to be configured in PF host. This change have more fields parsed and configured for TX context. Signed-off-by: Chen Jing D(Mark) --- drivers/net/i40e/i40e_pf.c | 4 +++- 1 file changed, 3 insertions(

[dpdk-dev] [PATCH v3 25/29] net/i40e: return correct VSI id

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" PF host didn't return correct VSI id to VF. This change fix it. Signed-off-by: Chen Jing D(Mark) --- drivers/net/i40e/i40e_pf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c index 0f582ed.

[dpdk-dev] [PATCH v3 23/29] app/testpmd: handle i40e in VF VLAN filter command

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger modify set_vf_rx_vlan function to handle the i40e PMD. Signed-off-by: Bernard Iremonger --- app/test-pmd/config.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index fc0424a..c5da9b1

[dpdk-dev] [PATCH v3 21/29] app/testpmd: add command to test VF broadcast mode on i40e

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger Add command to call rte_pmd_i40e_set_vf_broadcast. Add set vf broadcast in testpmd_funcs.rst file. Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 85 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++

[dpdk-dev] [PATCH v3 24/29] net/i40e: change version number to support Linux VF

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" i40e PF host only support to work with DPDK VF driver, Linux VF driver is not supported. This change will enhance in version number returned. Current version info returned won't be able to be recognized by Linux VF driver, change to values that both DPDK VF and Linux dr

[dpdk-dev] [PATCH v3 22/29] app/testpmd: add command to test VF VLAN tag on i40e

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger command is: set vf vlan tag port_id vf_id on|off Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 91 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +++ 2 files changed, 98 insertions(+) diff --git a/ap

[dpdk-dev] [PATCH v3 16/29] net/i40e: set VF VLAN tag from PF

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger Add rte_pmd_i40e_set_vf_vlan_tag API. User can call the API on PF to enable/disable a specific VF's VLAN tag. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 59 +++ drivers/net/i40e/rte_pmd_i40e.h |

[dpdk-dev] [PATCH v3 18/29] app/testpmd: use VFD APIs on i40e

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu The new VF Daemon (VFD) APIs is implemented on i40e. Change testpmd code to use them, including VF MAC anti-spoofing, VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN insert. Signed-off-by: Wenzhuo Lu Signed-off-by: Chen Jing D(Mark) Signed-off-by: Bernard Iremonger

[dpdk-dev] [PATCH v3 19/29] app/testpmd: use unicast promiscuous mode on i40e

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Add testpmd CLI to set VF unicast promiscuous mode on i40e. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 86 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++ 2 files changed, 95 insertions(+) diff --git a/app/t

[dpdk-dev] [PATCH v3 20/29] app/testpmd: use multicast promiscuous mode on i40e

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Add testpmd CLI to set VF multicast promiscuous mode on i40e. Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 86 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 9 +++ 2 files changed, 95 insertions(+) diff --git a/app

[dpdk-dev] [PATCH v3 17/29] net/i40e: set VF VLAN filter from PF

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger add rte_pmd_i40e_set_vf_vlan_filter API. User can call the API on PF to enable/disable a set of VF's VLAN filters. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 52 +++ drivers/net/i40e/rte_pmd_i40e.h

[dpdk-dev] [PATCH v3 14/29] net/i40e: add set VF VLAN insert function

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger Support inserting VF VLAN id from PF. User can call the API on PF to insert a VLAN id to a specific VF. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 53 +++ drivers/net/i40e/rte_pmd_i40e.h | 19 ++

[dpdk-dev] [PATCH v3 13/29] net/i40e: add VF VLAN strip func

2016-12-15 Thread Qi Zhang
From: "Chen Jing D(Mark)" Add a function to configure vlan strip enable/disable for specific SRIOV VF device. Signed-off-by: Chen Jing D(Mark) --- drivers/net/i40e/i40e_ethdev.c| 26 ++ drivers/net/i40e/rte_pmd_i40e.h | 19 +++ driv

[dpdk-dev] [PATCH v3 15/29] net/i40e: set VF broadcast mode from PF

2016-12-15 Thread Qi Zhang
From: Bernard Iremonger Support enabling/disabling VF broadcast mode from PF. User can call the API on PF to enable/disable a specific VF's broadcast mode. Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 43 +++ drivers/net/i40e/rte_

[dpdk-dev] [PATCH v3 12/29] net/i40e: fix VF MAC address assignment

2016-12-15 Thread Qi Zhang
From: Ferruh Yigit If PF sets vf->mac_addr, in VF initialization hw->mac.addr will be set to that same value. It is possible to check if PF set a MAC address or not through the hw->mac.addr variable. hw->mac.addr set by i40e_vf_parse_hw_config(), call stack is: In PF side i40e_pf_host_process_c

[dpdk-dev] [PATCH v3 11/29] net/i40e: set VF MAC from VF support

2016-12-15 Thread Qi Zhang
From: Ferruh Yigit Support changing VF default MAC address. This function is not supported if PF set the MAC address for the PF. Signed-off-by: Ferruh Yigit --- drivers/net/i40e/i40e_ethdev.h| 4 +++- drivers/net/i40e/i40e_ethdev_vf.c | 49 +-- 2 files

[dpdk-dev] [PATCH v3 09/29] net/i40e: fix VF reset flow

2016-12-15 Thread Qi Zhang
Add missing step during VF reset: PF should set I40E_VFGEN_RSTAT to ACTIVE at end of the VF reset operation or VF driver may not able to detect that reset is already completed. This patch also remove the unnecessary enum for vfr state. Fixes: 4861cde46116 ("i40e: new poll mode driver") CC: sta...

[dpdk-dev] [PATCH v3 10/29] net/i40e: set VF MAC from PF support

2016-12-15 Thread Qi Zhang
From: Ferruh Yigit Support setting VF MAC address from PF. User can call the API on PF to set a specific VF's MAC address. This will remove all existing MAC filters. Signed-off-by: Ferruh Yigit --- app/test-pmd/cmdline.c| 18 -- drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v3 07/29] net/i40e: set VF multicast promisc mode from PF

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Support enabling/disabling VF multicast promiscuous mode from PF. User can call the API on PF to enable/disable a specific VF's multicast promiscuous mode. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 36 +++ drivers/net

[dpdk-dev] [PATCH v3 08/29] net/i40e: enable VF MTU change

2016-12-15 Thread Qi Zhang
This patch implement mtu_set ops for i40e VF. Signed-off-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev_vf.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 12da0ec..bce01d0 100644

[dpdk-dev] [PATCH v3 04/29] net/i40e: set VF VLAN anti-spoofing from PF

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Support enabling/disabling VF VLAN anti-spoofing from PF. User can call the API on PF to enable/disable a specific VF's VLAN anti-spoofing. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 116 +- drivers/net/i40e/i40e_ethde

[dpdk-dev] [PATCH v3 03/29] net/i40e: set VF MAC anti-spoofing from PF

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Support enabling/disabling VF MAC anti-spoofing from PF. User can call the API on PF to enable/disable a specific VF's MAC anti-spoofing. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 63 +++ drivers/net/i40e/rte_pmd_i40e

[dpdk-dev] [PATCH v3 05/29] net/i40e: set Tx loopback from PF

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu 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 ++ drivers/net/i40e/rte_pmd_i40e.h

[dpdk-dev] [PATCH v3 06/29] net/i40e: set VF unicast promisc mode from PF

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Support enabling/disabling VF unicast promiscuous mode from PF. User can call the API on PF to enable/disable a specific VF's unicast promiscuous mode. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 36 +++ drivers/net/i40

[dpdk-dev] [PATCH v3 02/29] net/i40e: add callback to user on VF to PF mbox msg

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu The callback asks the user application if it is allowed to perform the mailbox messages. If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED then continue. If ACK or NACK, do nothing and send not_supported to VF. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_

[dpdk-dev] [PATCH v3 01/29] net/i40e: support link status notification

2016-12-15 Thread Qi Zhang
From: Wenzhuo Lu Add an API to expose the ability, that PF can notify VF when link status changes, to APP. So if PF APP doesn't want to enable interruption but check link status by itself, PF APP can let VF know link status changed. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/Makefile

[dpdk-dev] [PATCH v3 00/29] Support VFD and DPDK PF + kernel VF on i40e

2016-12-15 Thread Qi Zhang
1, VF Daemon (VFD) VFD is an idea to control all the VFs from PF. As we need to support the scenario kernel PF + DPDK VF, DPDK follows the interface between kernel PF + kernel VF. We don't want to introduce too many new messages between PF and VF. So this patch set adds some new APIs to control

Re: [dpdk-dev] [PATCH 12/22] app/testpmd: add rte_flow item spec handler

2016-12-15 Thread Pei, Yulong
Hi Adrien, I try to setup the following rule, but it seems that after set 'spec' param, can not set 'mask' param, is it an issue here or am I wrong to use it ? testpmd> flow create 0 ingress pattern eth dst spec 00:00:00:00:09:00 dst [TOKEN]: destination MAC src [TOKEN]: source MAC type [TO

Re: [dpdk-dev] [PATCH 1/4] eal/common: introduce rte_memset on IA platform

2016-12-15 Thread Yang, Zhiyong
Hiļ¼ŒKonstantin: > -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, December 15, 2016 6:54 PM > To: Yang, Zhiyong ; Thomas Monjalon > > Cc: dev@dpdk.org; yuanhan@linux.intel.com; Richardson, Bruce > ; De Lara Guarch, Pablo > > Subject: RE: [dpdk-dev] [PATCH 1/4] eal/com

Re: [dpdk-dev] [PATCH 26/28] net/virtio: use eal I/O device memory read/write API

2016-12-15 Thread Yuanhan Liu
On Wed, Dec 14, 2016 at 09:45:34PM -0800, Santosh Shukla wrote: > On Wed, Dec 14, 2016 at 11:02:23AM +0800, Yuanhan Liu wrote: > > On Wed, Dec 14, 2016 at 07:25:56AM +0530, Jerin Jacob wrote: > > > * Following macros are derived from linux/pci_regs.h, however, > > > * we can't simply include th

[dpdk-dev] [PATCH v2 4/4] doc: add ixgbe specific APIs

2016-12-15 Thread Tiwei Bie
Add information about the new ixgbe PMD APIs in the release note. Signed-off-by: Tiwei Bie --- doc/guides/rel_notes/release_17_02.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_17_02.rst b/doc/guides/rel_notes/release_17_02.rst index 3b65038..c76cf5f

[dpdk-dev] [PATCH v2 3/4] app/testpmd: add ixgbe MACsec offload support

2016-12-15 Thread Tiwei Bie
- add test for set macsec offload - add test for set macsec sc - add test for set macsec sa Also update the testpmd user guide. Signed-off-by: Tiwei Bie --- app/test-pmd/cmdline.c | 389 app/test-pmd/macfwd.c | 2 + app/t

[dpdk-dev] [PATCH v2 2/4] net/ixgbe: add MACsec offload support

2016-12-15 Thread Tiwei Bie
MACsec (or LinkSec, 802.1AE) is a MAC level encryption/authentication scheme defined in IEEE 802.1AE that uses symmetric cryptography. This commit adds the MACsec offload support for ixgbe. Signed-off-by: Tiwei Bie --- drivers/net/ixgbe/ixgbe_ethdev.c| 476 +++

[dpdk-dev] [PATCH v2 1/4] lib: add MACsec offload flags

2016-12-15 Thread Tiwei Bie
These flags will be used in next commits in the ixgbe pmd. Signed-off-by: Tiwei Bie --- lib/librte_ether/rte_ethdev.h | 2 ++ lib/librte_mbuf/rte_mbuf.h| 5 + 2 files changed, 7 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 9678179..25a33

[dpdk-dev] [PATCH v2 0/4] Add MACsec offload support for ixgbe

2016-12-15 Thread Tiwei Bie
This patch set adds the MACsec offload support for ixgbe. The testpmd is also updated to support MACsec cmds. v2: - Update the documents for testpmd; - Update the release notes; - Reuse the functions provided by base code; Tiwei Bie (4): lib: add MACsec offload flags net/ixgbe: add MACsec off

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

2016-12-15 Thread Ananyev, Konstantin
Hi Jan, > > Hi Jan, > > >Hello, > > >Sorry for late response. > > >From ENA perspective, we need to dig deeper about the requirements and use > >cases, but I'm pretty confident (95%) that ena will > need to implement tx_prep() API. There is at least one >scenario, when HW > relay on partial

[dpdk-dev] [PATCH 3/3] tools: move to usertools

2016-12-15 Thread Thomas Monjalon
Rename tools/ into usertools/ to differentiate from buildtools/ and devtools/ while making clear these scripts are part of DPDK runtime. Signed-off-by: Thomas Monjalon --- MAINTAINERS | 2 +- doc/guides/cryptodevs/qat.rst| 2 +- doc/guid

[dpdk-dev] [PATCH 2/3] scripts: move to devtools

2016-12-15 Thread Thomas Monjalon
The remaining scripts in the scripts/ directory are only useful to developers. That's why devtools/ is a better name. Signed-off-by: Thomas Monjalon --- MAINTAINERS | 14 +++--- {scripts => devtools}/check-git-log.sh| 0 {scripts => devtools}/ch

[dpdk-dev] [PATCH 1/3] scripts: move to buildtools

2016-12-15 Thread Thomas Monjalon
There is already a directory buildtools for pmdinfogen used by the build system. The scripts used in makefiles are moved here. Signed-off-by: Thomas Monjalon --- MAINTAINERS | 10 +- {scripts => buildtools}/auto-config-h.sh | 0 {scripts => buildtools}/depdi

[dpdk-dev] [PATCH 0/3] buildtools/devtools/usertools

2016-12-15 Thread Thomas Monjalon
The current tools/ and scripts/ directory names are not self describing. These patches create devtools/ and usertools/ directories. Thomas Monjalon (3): scripts: move to buildtools scripts: move to devtools tools: move to usertools MAINTAINERS | 26

Re: [dpdk-dev] [PATCH v2 12/12] drivers: update PMDs to use rte_driver probe and remove

2016-12-15 Thread Jan Blunck
On Wed, Dec 14, 2016 at 10:49 AM, Shreyansh Jain wrote: > On Tuesday 13 December 2016 07:07 PM, Shreyansh Jain wrote: >> >> These callbacks now act as first layer of PCI interfaces from the Bus. >> Bus probe would enter the PMDs through the rte_driver->probe/remove >> callbacks, falling to rte_xxx

[dpdk-dev] [PATCH] doc: Fix a typo in testpmd application user guide.

2016-12-15 Thread Rami Rosen
This patch fixes a trivial typo in testpmd application user guide. Signed-off-by: Rami Rosen --- doc/guides/testpmd_app_ug/run_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index d7c5120.

Re: [dpdk-dev] KNI Questions

2016-12-15 Thread John Fastabend
On 16-12-15 09:16 AM, Stephen Hemminger wrote: > On Thu, 15 Dec 2016 11:53:59 + > Ferruh Yigit wrote: > >> Hi Stephen, >> >> <...> >> >>> >>> Which raises a couple of questions: >>> 1. Why is DPDK still keeping KNI support for Intel specific ethtool >>> functionality. >>> This always br

Re: [dpdk-dev] [PATCH 2/2] hyperv: VMBUS support infrastucture

2016-12-15 Thread Stephen Hemminger
On Thu, 15 Dec 2016 12:19:44 +0530 Shreyansh Jain wrote: > > @@ -1866,7 +1871,11 @@ typedef int (*eth_dev_uninit_t)(struct rte_eth_dev > > *eth_dev); > > * - The size of the private data to allocate for each matching device. > > */ > > struct eth_driver { > > - struct rte_pci_driver pci_d

Re: [dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in pmdinfo

2016-12-15 Thread Stephen Hemminger
On Thu, 15 Dec 2016 11:09:12 -0500 Neil Horman wrote: > On Thu, Dec 15, 2016 at 02:46:39PM +0100, Olivier Matz wrote: > > Add a new macro RTE_PMD_REGISTER_KMOD_DEP() that allows a driver to > > declare the list of kernel modules required to run properly. > > > > Today, most PCI drivers require u

Re: [dpdk-dev] KNI Questions

2016-12-15 Thread Stephen Hemminger
On Thu, 15 Dec 2016 11:53:59 + Ferruh Yigit wrote: > Hi Stephen, > > <...> > > > > > Which raises a couple of questions: > > 1. Why is DPDK still keeping KNI support for Intel specific ethtool > > functionality. > > This always breaks, is code bloat, and means a 3rd copy of base code

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-15 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, December 14, 2016 1:14 PM > To: Van Haaren, Harry > So incorporating my latest suggestions on moving sub_event_type field around: > > union { > uint64_t event; > struct { > uint32_t flow_id

Re: [dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in pmdinfo

2016-12-15 Thread Neil Horman
On Thu, Dec 15, 2016 at 02:46:39PM +0100, Olivier Matz wrote: > Add a new macro RTE_PMD_REGISTER_KMOD_DEP() that allows a driver to > declare the list of kernel modules required to run properly. > > Today, most PCI drivers require uio/vfio. > > Signed-off-by: Olivier Matz > Acked-by: Fiona Trahe

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

2016-12-15 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 ++ app/test/test_cryp

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

2016-12-15 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 u

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

2016-12-15 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 Acked-by: John McNamara --- doc/guides/cryptodevs/aesni_mb.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/cryptodevs/aesni_mb.rst b/doc/guides/

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

2016-12-15 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 Acked-by: John McNamara --- doc/guides/cryptodevs/aesni_mb.rst | 10 +++--- doc/guides/re

Re: [dpdk-dev] [PATCH v4] net/kni: add KNI PMD

2016-12-15 Thread Ferruh Yigit
On 12/14/2016 7:25 PM, Yong Wang wrote: >> -Original Message- >> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] >> Sent: Wednesday, December 14, 2016 8:00 AM >> To: Yong Wang ; dev@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4] net/kni: add KNI PMD >> >> On 12/12/2016 9:59 PM, Yong Wang

Re: [dpdk-dev] [PATCH] doc: fix required tools list layout

2016-12-15 Thread Mcnamara, John
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Tuesday, December 13, 2016 10:04 AM > To: dev@dpdk.org > Cc: Mcnamara, John ; David Marchand > ; Baruch Siach > Subject: [PATCH] doc: fix required tools list layout > > The Python requirement should appear in t

Re: [dpdk-dev] [PATCH] doc: fix environment variable typo

2016-12-15 Thread Mcnamara, John
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Tuesday, December 13, 2016 1:40 PM > To: dev@dpdk.org > Cc: Mcnamara, John ; Horton, Remy > ; Baruch Siach > Subject: [PATCH] doc: fix environment variable typo > > Signed-off-by: Baruch Siach Acked-by: John

Re: [dpdk-dev] [PATCH] doc: correct source extract command

2016-12-15 Thread Mcnamara, John
> -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Tuesday, December 13, 2016 11:19 AM > To: dev@dpdk.org > Cc: Mcnamara, John ; David Marchand > ; Baruch Siach > Subject: [PATCH] doc: correct source extract command > > DPDK source archives are .tar.xz or .tar.

Re: [dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in pmdinfo

2016-12-15 Thread Ferruh Yigit
Hi Olivier, Thomas, On 12/15/2016 1:46 PM, Olivier Matz wrote: > Add a new macro RTE_PMD_REGISTER_KMOD_DEP() that allows a driver to > declare the list of kernel modules required to run properly. > > Today, most PCI drivers require uio/vfio. > > Signed-off-by: Olivier Matz > Acked-by: Fiona Tra

Re: [dpdk-dev] [PATCH 09/32] lib/ether: add rte_device in rte_eth_dev

2016-12-15 Thread Ferruh Yigit
On 12/7/2016 6:41 AM, Hemant Agrawal wrote: > On 12/7/2016 1:18 AM, Ferruh Yigit wrote: >> On 12/4/2016 6:17 PM, Hemant Agrawal wrote: >>> Signed-off-by: Hemant Agrawal >>> --- >>> lib/librte_ether/rte_ethdev.h | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/lib/librte_ether/rte_et

[dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in pmdinfo

2016-12-15 Thread Olivier Matz
Add a new macro RTE_PMD_REGISTER_KMOD_DEP() that allows a driver to declare the list of kernel modules required to run properly. Today, most PCI drivers require uio/vfio. Signed-off-by: Olivier Matz Acked-by: Fiona Trahe --- v2 -> v3: - fix kmods deps advertised by mellanox drivers as pointed

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-15 Thread Jerin Jacob
On Wed, Dec 14, 2016 at 03:19:22PM +, Bruce Richardson wrote: > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > In a polling model, lcores poll ethdev ports and associated > > rx queues directly to look for packet. In an event driven model, > > by contrast, lcores call the sche

Re: [dpdk-dev] KNI broken again with 4.9 kernel

2016-12-15 Thread Jay Rolette
On Thu, Dec 15, 2016 at 6:01 AM, Mcnamara, John wrote: > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > > Sent: Wednesday, December 14, 2016 11:41 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] KNI broken again with 4.9 kernel > > > >

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Mark Spender Reviewed-by: Robert Stonehouse --- config/common_base | 1 + doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst |

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 1 + drivers/net/sfc/sfc_ethdev.c | 60 2 files changed, 61 insertions(+)

[dpdk-dev] [PATCH v2 25/32] net/sfc/base: do not use enum type when values are bitmask

2016-12-15 Thread Andrew Rybchenko
From: Andrew Rybchenko ICC complains that enumerated type mixed with another type. Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/base/ef10_rx.c | 8 drivers/net/sfc/base/efx.h | 12 ++-- drivers/net/sfc/base/e

[dpdk-dev] [PATCH v2 29/32] net/sfc: add callback to set RSS key and hash types config

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 1 + drivers/net/sfc/sfc_ethdev.c | 63 2 files changed, 64 insertions(+)

[dpdk-dev] [PATCH v2 27/32] net/sfc: support RSS hash offload

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Extract RSS hash provided by the HW in the prefix and put it to mbuf. Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2

[dpdk-dev] [PATCH v2 23/32] net/sfc: support deferred start of transmit queues

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

[dpdk-dev] [PATCH v2 30/32] net/sfc: add callback to query RSS redirection table

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/s

[dpdk-dev] [PATCH v2 26/32] net/sfc: add basic stubs for RSS support on driver attach

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/efsys.h | 2 +- drivers/net/sfc/sfc.c| 76 + drive

[dpdk-dev] [PATCH v2 24/32] net/sfc: support VLAN offload on transmit path

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

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 33 + drivers/net/sfc/sfc_rx.c | 22 ++ drivers/net/sfc/sfc_rx.h |

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_e

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

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

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 1 + drivers/net/sfc/sfc_tweak.h | 3 +++ drivers/net/sfc/sfc_tx.c | 14 -- drivers/net/sfc/sfc_tx.h | 1

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 2 ++ doc/guides/nics/sfc_efx.rst | 4 +++ drivers/net/sfc/sfc.h| 11 +++ drivers/net/sf

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

2016-12-15 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c index 03c9a01..e67ca61 100644 --- a/d

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

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

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

2016-12-15 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 9 + drivers/net/sfc/sfc_rx.c | 11 +++ drivers/net/sfc/sfc_rx.h | 1 + 3 files changed, 21 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.

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

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

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

2016-12-15 Thread Andrew Rybchenko
Rx free threshold defines minimum number of free Rx descriptors when Rx ring refill should be done. Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 1 + drivers/net/sfc/sfc_rx.c | 16 drivers/net/sf

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

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

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

2016-12-15 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 11 +++ drivers/net/sfc/sfc_rx.c | 16 drivers/net/sfc/sfc_rx.h | 3 +++ 3 files changed, 30 insertions(+) diff --git a/drivers/net/sfc/sf

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

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

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

2016-12-15 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 53 1 file changed, 53 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/

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

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

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

2016-12-15 Thread Andrew Rybchenko
From: Artem Andreev Signed-off-by: Artem Andreev Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- drivers/net/sfc/sfc_ethdev.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/driver

[dpdk-dev] [PATCH v2 03/32] net/sfc: implement ethdev hook to get basic statistics

2016-12-15 Thread Andrew Rybchenko
Does not implement any deprecated statistics. No per-queue statistics yet. Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 + drivers/net/sfc/efsys.h |

[dpdk-dev] [PATCH v2 05/32] net/sfc: support flow control settings get/set

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

[dpdk-dev] [PATCH v2 04/32] net/sfc: support extended statistics

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

[dpdk-dev] [PATCH v2 02/32] net/sfc: support parameter to choose performance profile

2016-12-15 Thread Andrew Rybchenko
Supported options are auto (based on NIC firmware variant and installed licences), throughput, low-latency. Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/sfc_efx.rst | 7 +++ drivers/net/sfc/sfc.h| 1 + drivers/net/sfc

[dpdk-dev] [PATCH v2 08/32] net/sfc: support link speed and duplex settings

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

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

2016-12-15 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse --- doc/guides/nics/features/sfc_efx.ini | 2 ++ doc/guides/nics/sfc_efx.rst | 4 +++ drivers/net/sfc/sfc_ethdev.c | 67 3 files changed, 73 insertions(

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

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

[dpdk-dev] [PATCH v2 00/32] Support more features in Solarflare PMD

2016-12-15 Thread Andrew Rybchenko
The patch series adds a number of features to Solarflare libefx-based PMD. Basically one patch per feature. The patches are grouped into one series since they touch nearby lines in either PMD feature list, or dev_ops structure, or documentation. So, patches cannot be applied in arbitrary order. -

Re: [dpdk-dev] [PATCH 00/31] Support more features in Solarflare PMD

2016-12-15 Thread Andrew Rybchenko
On 12/09/2016 08:34 PM, Ferruh Yigit wrote: On 12/2/2016 7:44 AM, Andrew Rybchenko wrote: The patch series adds a number of features to Solarflare libefx-based PMD. Basically one patch per feature. The patches are grouped into one series since they touch nearby lines in either PMD feature list,

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

2016-12-15 Thread Ferruh Yigit
On 12/8/2016 3:19 PM, Adrien Mazarguil wrote: > Hi Ferruh, > > On Fri, Dec 02, 2016 at 04:58:53PM +, Ferruh Yigit wrote: >> Hi Adrien, >> >> On 11/16/2016 4:23 PM, Adrien Mazarguil wrote: >>> As previously discussed in RFC v1 [1], RFC v2 [2], with changes >>> described in [3] (also pasted belo

  1   2   >