[dpdk-dev] [PATCH] maintainers: replace for AVP driver

2019-11-07 Thread Allain Legacy
Resigning my maintainership of the AVP driver and adding Steve Webster as a new maintainer. Signed-off-by: Allain Legacy --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e8d79ea57..671ea10f9 100644 --- a/MAINTAINERS +++ b

[dpdk-dev] [PATCH 1/2] test: replace license text with SPDX tag

2019-11-07 Thread Allain Legacy
Replacing full license text with SPDX tag. Signed-off-by: Allain Legacy --- app/test/test_cfgfile.c | 32 ++-- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c index 37435b395..2f596affe 100644 --- a/app

[dpdk-dev] [PATCH 2/2] doc: fix copyright notice in SPDX tag

2019-11-07 Thread Allain Legacy
Aligning the Wind River copyright notices to be consistent with the other files which bare the Wind River copyright notice. Fixes: 32113d352d3b ("doc: replace license text with SPDX tag in AVP guide") Signed-off-by: Allain Legacy --- doc/guides/nics/avp.rst | 2 +- 1 file changed, 1

[dpdk-dev] [PATCH 1/2] test: replace license text with SPDX tag

2019-08-13 Thread Allain Legacy
Replacing full license text with SPDX tag. Signed-off-by: Allain Legacy --- app/test/test_cfgfile.c | 32 ++-- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/app/test/test_cfgfile.c b/app/test/test_cfgfile.c index 37435b395..01905920e 100644 --- a/app

[dpdk-dev] [PATCH 2/2] doc: replace license text with SPDX tag

2019-08-13 Thread Allain Legacy
Replace full license text with SPDX tag. Signed-off-by: Allain Legacy --- doc/guides/nics/avp.rst | 29 + 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/doc/guides/nics/avp.rst b/doc/guides/nics/avp.rst index 1fcba66ce..b3dbc2816 100644 --- a/doc

[dpdk-dev] [PATCH v3] net/avp: remove resources when port is closed

2019-06-18 Thread Allain Legacy
individual rx/tx queue is now freed as part of the close() operation therefore making it safe for the rte_eth_dev_close() function to free the device private data without orphaning the rx/tx queue pointers. Cc: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/avp/avp_ethdev.c | 52

[dpdk-dev] [PATCH v2] net/avp: remove resources when port is closed

2019-05-27 Thread Allain Legacy
individual rx/tx queue is now freed as part of the close() operation therefore making it safe for the rte_eth_dev_close() function to free the device private data without orphaning the rx/tx queue pointers. Cc: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/avp/avp_ethdev.c | 44

[dpdk-dev] [PATCH] net/avp: remove resources when port is closed

2019-05-27 Thread Allain Legacy
RTE_ETH_DEV_CLOSE_REMOVE flag so that rte_eth_dev_close() releases all device related dynamic memory. Cc: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/avp/avp_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c index 09388d05f

[dpdk-dev] [PATCH] net/virtio-user: check negotiated features before set

2018-08-09 Thread Allain Legacy
From: eric zhang This patch checks negotiated features to see if necessary to offload before set the tap device offload capabilities. It also checks if kernel support the TUNSETOFFLOAD operation. Signed-off-by: eric zhang Signed-off-by: Allain Legacy --- drivers/net/virtio/virtio_user

[dpdk-dev] [PATCH v2] net/avp: convert to SPDX license tags

2018-03-28 Thread Allain Legacy
As per the following commit the AVP files maintained by Wind River are converted to use the SPDX license tag format. commit a4862c9e1a98 ("license: introduce SPDX identifiers") Signed-off-by: Allain Legacy --- drivers/net/avp/Makefile | 33 ++- drive

[dpdk-dev] [PATCH] net/avp: convert to SPDX license tags

2018-03-28 Thread Allain Legacy
As per the following commit the AVP files maintained by Wind River are converted to use the SPDX license tag format. commit a4862c9e1a98 ("license: introduce SPDX identifiers") Signed-off-by: Allain Legacy --- drivers/net/avp/avp_ethdev.c | 33 ++- drive

[dpdk-dev] [PATCH] net/mlx5: setup RSS regardless of queue count

2018-03-19 Thread Allain Legacy
threads, secondary processes, or even virtual machines if the application is a virtual switch. This change to the mlx5 driver aligns with how other drivers in the Intel family work. Signed-off-by: Allain Legacy --- drivers/net/mlx5/mlx5_rxq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[dpdk-dev] [PATCH v2] ip_frag: fix double free of chained mbufs

2018-03-19 Thread Allain Legacy
embly table destroy") Signed-off-by: Allain Legacy --- lib/librte_ip_frag/rte_ipv4_reassembly.c | 2 ++ lib/librte_ip_frag/rte_ipv6_reassembly.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/librte_ip_frag/rte_ipv4_reassembly.c b/lib/librte_ip_frag/rte_ipv4_reassembly.c index

[dpdk-dev] [PATCH] ip_frag: fix double free of chained mbufs

2018-03-19 Thread Allain Legacy
fs on reassembly table destroy") Signed-off-by: Allain Legacy --- lib/librte_ip_frag/rte_ipv4_reassembly.c | 4 +++- lib/librte_ip_frag/rte_ipv6_reassembly.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_ip_frag/rte_ipv4_reassembly.c b/lib/librte_ip_frag/rte_ipv4_re

[dpdk-dev] [PATCH] net/avp: conforming to new ethdev offload API

2018-03-19 Thread Allain Legacy
This change updates the AVP driver to conform with the new ethdev offload API. As per these commits: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")' commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")' Signed-off-by: Allai

[dpdk-dev] [PATCH] net/virtio-user: fix crash when detaching device

2017-06-23 Thread Allain Legacy
> port close 2 testpmd> port detach 2 Fixes: ce2eabdd43ec ("net/virtio-user: add virtual device") Signed-off-by: Allain Legacy --- drivers/net/virtio/virtio_user_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/virtio/virtio_user_ethdev.c

[dpdk-dev] [PATCH v2] ip_frag: free mbufs on reassembly table destroy

2017-06-05 Thread Allain Legacy
free each one individually. Fixes: 416707812c03 ("ip_frag: refactor reassembly code into a proper library") Reported-by: Matt Peters Signed-off-by: Allain Legacy --- lib/librte_ip_frag/ip_frag_common.h | 20 lib/librte_ip_frag/rte_ip_frag.h | 7 ++

[dpdk-dev] [PATCH] ip_frag: free mbufs on reassembly table destroy

2017-04-25 Thread Allain Legacy
free each one individually. Reported-by: Matt Peters Signed-off-by: Allain Legacy --- lib/librte_ip_frag/ip_frag_common.h | 20 lib/librte_ip_frag/rte_ip_frag.h | 7 ++- lib/librte_ip_frag/rte_ip_frag_common.c | 12 lib/librte_ip_frag

[dpdk-dev] [PATCH v3] net/i40e: mbuf alloc failed counter not incremented

2017-04-25 Thread Allain Legacy
-by: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/i40e/i40e_rxtx.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index e5471b143..74055bb04 100644 --- a/drivers/net/i40e

[dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter not incremented

2017-04-21 Thread Allain Legacy
-by: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/i40e/i40e_rxtx.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index e5471b143..4131902a9 100644 --- a/drivers/net/i40e

[dpdk-dev] [PATCH v2] config: compile avp driver only on intel 64 bit

2017-04-04 Thread Allain Legacy
The AVP devices are only supported on Intel 64-bit architectures so adjusting the defconfig attributes accordingly. Fixes: 0485859868a9 ("net/avp: support driver registration") Signed-off-by: Allain Legacy --- config/defconfig_arm-armv7a-linuxapp-gcc| 1 + config/defconfig_ar

[dpdk-dev] [PATCH] config: compile avp driver only on intel 64 bit

2017-04-04 Thread Allain Legacy
The AVP devices are only supported on Intel 64-bit architectures so adjusting the defconfig attributes accordingly. Fixes: c5ab4707ba97 ("net/avp: support driver registration") Signed-off-by: Allain Legacy --- config/common_linuxapp| 1 - config/defconfig_i

[dpdk-dev] [PATCH 1/2] app/testpmd: load cmdline commands from file at startup

2017-03-31 Thread Allain Legacy
/somefile.txt Signed-off-by: Allain Legacy --- app/test-pmd/cmdline.c | 21 app/test-pmd/parameters.c | 10 app/test-pmd/testpmd.c | 4 +++ app/test-pmd/testpmd.h | 2 ++ doc/guides

[dpdk-dev] [PATCH 2/2] app/testpmd: load cmdline commands from file at runtime

2017-03-31 Thread Allain Legacy
Adds support to testpmd to load a set of cmdline CLI commands at runtime. This can be helpful when needing to cut-n-paste many commands where cut-n-paste may not be practical. testpmd> load /home/ubuntu/somefile.txt Signed-off-by: Allain Legacy --- app/test-pmd/cmdlin

[dpdk-dev] [PATCH 0/2] testpmd load cmdline commands from file

2017-03-31 Thread Allain Legacy
;) I thought of removing the startup command support since the same could be accomplished by using the new "load" command once the process starts up, but then I realized that it may be useful for someone using non-interactive mode. I am open to the idea of squashing both commits together

[dpdk-dev] [PATCH v5 6/6] cfgfile: add support for empty value string

2017-03-31 Thread Allain Legacy
ctionality. Signed-off-by: Allain Legacy Acked-by: Cristian Dumitrescu --- lib/librte_cfgfile/rte_cfgfile.c| 23 -- lib/librte_cfgfile/rte_cfgfile.h| 6 + test/test/test_cfgfile.c| 32 +

[dpdk-dev] [PATCH v5 5/6] cfgfile: increase local buffer size for max name and value

2017-03-31 Thread Allain Legacy
h fields. This commit updates the local array to be sized to hold the max name, max value, " = ", and the nul terminator. Signed-off-by: Allain Legacy Acked-by: Keith Wiles Acked-by: Cristian Dumitrescu --- lib/librte_cfgfile/rte_cfgfile.c | 2 +- 1 file changed, 1 insertion(

[dpdk-dev] [PATCH v5 3/6] cfgfile: add support for configurable comment character

2017-03-31 Thread Allain Legacy
onal arguments to be introduced in the future. Signed-off-by: Allain Legacy Acked-by: Cristian Dumitrescu --- lib/librte_cfgfile/rte_cfgfile.c | 61 +- lib/librte_cfgfile/rte_cfgfile.h | 25 lib/librte_cfgfile/rte_cfgfile_version.map

[dpdk-dev] [PATCH v5 4/6] cfgfile: use strnlen to constrain memchr search

2017-03-31 Thread Allain Legacy
27; variable to be updated and the subsequent search for the '=' character to potentially find one beyond the first newline character. Since this bug relies on ';' and '=' characters appearing in random places in the 'buffer' variable it is intermittently r

[dpdk-dev] [PATCH v5 2/6] cfgfile: add support for global properties section

2017-03-31 Thread Allain Legacy
=value pairs from such an unnamed section. The CFG_FLAG_GLOBAL_SECTION flag must be passed to the rte_cfgfile_load() API to enable this functionality. Any key=value pairs found before the first section can be accessed in the section named "GLOBAL". Signed-off-by: Allain Legacy Acked-by

[dpdk-dev] [PATCH v5 1/6] test: basic unit tests for cfgfile

2017-03-31 Thread Allain Legacy
This commit adds the basic infrastructure for the cfgfile library unit tests. It includes success path tests for the most commonly used APIs. More unit tests will be added later. Acked-by: Cristian Dumitrescu Signed-off-by: Allain Legacy --- MAINTAINERS

[dpdk-dev] [PATCH v5 0/6] librte_cfgfile enhancements

2017-03-31 Thread Allain Legacy
rom the implementation * Moved field comments to above definition instead of below in the rte_cfgfile_parameters definition v5: * Removed stray @param notation in rte_cfgfile.h file * Updated rte_cfgfile_version.map file to add new public API Allain Legacy (5): test: basic unit tests for cfgf

[dpdk-dev] [PATCH v4 6/6] cfgfile: add support for empty value string

2017-03-30 Thread Allain Legacy
ctionality. Signed-off-by: Allain Legacy --- lib/librte_cfgfile/rte_cfgfile.c| 23 -- lib/librte_cfgfile/rte_cfgfile.h| 6 + test/test/test_cfgfile.c| 32 + test/test/test_cfgfiles/etc/empty_key

[dpdk-dev] [PATCH v4 5/6] cfgfile: increase local buffer size for max name and value

2017-03-30 Thread Allain Legacy
h fields. This commit updates the local array to be sized to hold the max name, max value, " = ", and the nul terminator. Signed-off-by: Allain Legacy Acked-by: Keith Wiles --- lib/librte_cfgfile/rte_cfgfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib

[dpdk-dev] [PATCH v4 3/6] cfgfile: add support for configurable comment character

2017-03-30 Thread Allain Legacy
onal arguments to be introduced in the future. Signed-off-by: Allain Legacy --- lib/librte_cfgfile/rte_cfgfile.c| 61 - lib/librte_cfgfile/rte_cfgfile.h| 28 +++ test/test/test_cfgfile.c| 47 + test/te

[dpdk-dev] [PATCH v4 4/6] cfgfile: use strnlen to constrain memchr search

2017-03-30 Thread Allain Legacy
27; variable to be updated and the subsequent search for the '=' character to potentially find one beyond the first newline character. Since this bug relies on ';' and '=' characters appearing in random places in the 'buffer' variable it is interm

[dpdk-dev] [PATCH v4 2/6] cfgfile: add support for global properties section

2017-03-30 Thread Allain Legacy
=value pairs from such an unnamed section. The CFG_FLAG_GLOBAL_SECTION flag must be passed to the rte_cfgfile_load() API to enable this functionality. Any key=value pairs found before the first section can be accessed in the section named "GLOBAL". Signed-off-by: Allain Legacy

[dpdk-dev] [PATCH v4 1/6] test: basic unit tests for cfgfile

2017-03-30 Thread Allain Legacy
This commit adds the basic infrastructure for the cfgfile library unit tests. It includes success path tests for the most commonly used APIs. More unit tests will be added later. Signed-off-by: Allain Legacy --- MAINTAINERS | 1 + test/test/Makefile

[dpdk-dev] [PATCH v4 0/6] librte_cfgfile enhancements

2017-03-30 Thread Allain Legacy
rom the implementation * Moved field comments to above definition instead of below in the rte_cfgfile_parameters definition Allain Legacy (5): test: basic unit tests for cfgfile cfgfile: add support for global properties section cfgfile: add support for configurable comment character cfg

[dpdk-dev] [PATCH v3 5/6] cfgfile: increase local buffer size for max name and value

2017-03-28 Thread Allain Legacy
h fields. This commit updates the local array to be sized to hold the max name, max value, " = ", and the nul terminator. Signed-off-by: Allain Legacy Acked-by: Keith Wiles --- lib/librte_cfgfile/rte_cfgfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib

[dpdk-dev] [PATCH v3 3/6] cfgfile: add support for configurable comment character

2017-03-28 Thread Allain Legacy
onal arguments to be introduced in the future. Signed-off-by: Allain Legacy --- lib/librte_cfgfile/rte_cfgfile.c| 61 - lib/librte_cfgfile/rte_cfgfile.h| 29 test/test/test_cfgfile.c| 47 + test/te

[dpdk-dev] [PATCH v3 1/6] test: basic unit tests for cfgfile

2017-03-28 Thread Allain Legacy
This commit adds the basic infrastructure for the cfgfile library unit tests. It includes success path tests for the most commonly used APIs. More unit tests will be added later. Signed-off-by: Allain Legacy --- MAINTAINERS | 1 + test/test/Makefile

[dpdk-dev] [PATCH v3 6/6] cfgfile: add support for empty value string

2017-03-28 Thread Allain Legacy
ctionality. Signed-off-by: Allain Legacy --- lib/librte_cfgfile/rte_cfgfile.c| 23 -- lib/librte_cfgfile/rte_cfgfile.h| 6 + test/test/test_cfgfile.c| 32 + test/test/test_cfgfiles/etc/empty_key

[dpdk-dev] [PATCH v3 4/6] cfgfile: use strnlen to constrain memchr search

2017-03-28 Thread Allain Legacy
27; variable to be updated and the subsequent search for the '=' character to potentially find one beyond the first newline character. Since this bug relies on ';' and '=' characters appearing in random places in the 'buffer' variable it is interm

[dpdk-dev] [PATCH v3 3/6] cfgfile: add support for configurable comment character

2017-03-28 Thread Allain Legacy
onal arguments to be introduced in the future. Signed-off-by: Allain Legacy --- lib/librte_cfgfile/rte_cfgfile.c| 61 - lib/librte_cfgfile/rte_cfgfile.h| 29 test/test/test_cfgfile.c| 47 + test/te

[dpdk-dev] [PATCH v3 1/6] test: basic unit tests for cfgfile

2017-03-28 Thread Allain Legacy
This commit adds the basic infrastructure for the cfgfile library unit tests. It includes success path tests for the most commonly used APIs. More unit tests will be added later. Signed-off-by: Allain Legacy --- MAINTAINERS | 1 + test/test/Makefile

[dpdk-dev] [PATCH v3 0/6] librte_cfgfile enhancements

2017-03-28 Thread Allain Legacy
modate above changes. * Reworded commit title to fix typo Allain Legacy (5): test: basic unit tests for cfgfile cfgfile: add support for global properties section cfgfile: add support for configurable comment character cfgfile: use strnlen to constrain memchr search cfgfile: add support fo

[dpdk-dev] [PATCH v6 14/14] doc: adds information related to the AVP PMD

2017-03-28 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters Acked-by: John McNamara --- MAINTAINERS| 1 + doc/guides/nics/avp.rst| 111 + doc/guides

[dpdk-dev] [PATCH v6 13/14] net/avp: migration interrupt handling

2017-03-28 Thread Allain Legacy
the interrupts are maintained outside of the start/stop functions because they must be enabled for the lifetime of the device. This is so that host interrupts are serviced and acked even in cases where the app may have stopped the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters

[dpdk-dev] [PATCH v6 12/14] net/avp: device start and stop operations

2017-03-28 Thread Allain Legacy
Adds support for device start and stop functions. This allows an application to control the administrative state of an AVP device. Stopping the device will notify the host application to stop sending packets on that device's receive queues. Signed-off-by: Allain Legacy Signed-off-by:

[dpdk-dev] [PATCH v6 11/14] net/avp: device promiscuous functions

2017-03-28 Thread Allain Legacy
Adds support for setting and clearing promiscuous mode on an AVP device. When enabled the _mac_filter function will allow packets destined to any MAC address to be processed by the receive functions. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini

[dpdk-dev] [PATCH v6 10/14] net/avp: device statistics operations

2017-03-28 Thread Allain Legacy
Adds device functions to query and reset statistics. Signed-off-by: Allain Legacy --- doc/guides/nics/features/avp.ini | 2 ++ drivers/net/avp/avp_ethdev.c | 67 2 files changed, 69 insertions(+) diff --git a/doc/guides/nics/features/avp.ini b/doc

[dpdk-dev] [PATCH v6 06/14] net/avp: device configuration

2017-03-28 Thread Allain Legacy
Adds support for "dev_configure" operations to allow an application to configure the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini | 4 + drivers/net/avp/avp_ethdev.c | 241 +++ 2 fil

[dpdk-dev] [PATCH v6 05/14] net/avp: device initialization

2017-03-28 Thread Allain Legacy
Adds support for initialization newly probed AVP PCI devices. Initial queue translations are setup in preparation for device configuration. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 315 +++ 1 file

[dpdk-dev] [PATCH v6 08/14] net/avp: packet receive functions

2017-03-28 Thread Allain Legacy
Adds function required for receiving packets from the host application via AVP device queues. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini | 3 + drivers/net/avp/avp_ethdev.c | 451

[dpdk-dev] [PATCH v6 09/14] net/avp: packet transmit functions

2017-03-28 Thread Allain Legacy
Adds support for packet transmit functions so that an application can send packets to the host application via an AVP device queue. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 335

[dpdk-dev] [PATCH v6 07/14] net/avp: queue setup and release

2017-03-28 Thread Allain Legacy
Adds queue management operations so that an appliation can setup and release the transmit and receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 180 ++- 1 file changed, 179 insertions(+), 1

[dpdk-dev] [PATCH v6 04/14] net/avp: driver registration

2017-03-28 Thread Allain Legacy
Adds the initial framework for registering the driver against the support PCI device identifiers. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_linuxapp | 1 + config/defconfig_i686-native-linuxapp-gcc| 5 + config/defconfig_i686-native

[dpdk-dev] [PATCH v6 03/14] net/avp: debug log macros

2017-03-28 Thread Allain Legacy
Adds a header file with log macros for the AVP PMD Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 4 drivers/net/avp/avp_logs.h | 59 ++ 2 files changed, 63 insertions(+) create mode 100644 drivers/net

[dpdk-dev] [PATCH v6 02/14] net/avp: public header files

2017-03-28 Thread Allain Legacy
and updates to both the hypervisor DPDK application and the PMD. The hypervisor DPDK application is a Wind River Systems proprietary virtual switch. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/Makefile | 5 + drivers/net/avp/rte_avp_common.h | 416

[dpdk-dev] [PATCH v6 01/14] drivers/net: adds AVP PMD base files

2017-03-28 Thread Allain Legacy
This commit introduces the AVP PMD file structure without adding any actual driver functionality. Functional blocks will be added in later patches. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 5 config/common_base

[dpdk-dev] [PATCH v6 00/14] Wind River Systems AVP PMD

2017-03-28 Thread Allain Legacy
umentation to indicate that virtio is the default device type on Wind River Systems virtualization platforms and that AVP devices are specialized devices available for applications looking for increased performance * Adjusted makefile DEPDIRS based on recent commits in master. Allain

[dpdk-dev] [PATCH] net/i40e: mbuf alloc failed counter not incremented

2017-03-27 Thread Allain Legacy
-by: Matt Peters Signed-off-by: Allain Legacy --- drivers/net/i40e/i40e_rxtx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index ec64a20eb..794d8717e 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers/net/i40e/i40e_rxtx.c

[dpdk-dev] [PATCH] vhost: change mbuf allocation logs to debug

2017-03-27 Thread Allain Legacy
logs to ensure they are not emitted unless the CONFIG_RTE_LIBRTE_VHOST_DEBUG option is enabled. Signed-off-by: Matt Peters Signed-off-by: Allain Legacy --- lib/librte_vhost/virtio_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib

[dpdk-dev] [PATCH v5 08/14] net/avp: packet receive functions

2017-03-23 Thread Allain Legacy
Adds function required for receiving packets from the host application via AVP device queues. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini | 3 + drivers/net/avp/Makefile | 1

[dpdk-dev] [PATCH v5 14/14] doc: adds information related to the AVP PMD

2017-03-23 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters Acked-by: John McNamara --- MAINTAINERS| 1 + doc/guides/nics/avp.rst| 107 + doc/guides

[dpdk-dev] [PATCH v5 13/14] net/avp: migration interrupt handling

2017-03-23 Thread Allain Legacy
the interrupts are maintained outside of the start/stop functions because they must be enabled for the lifetime of the device. This is so that host interrupts are serviced and acked even in cases where the app may have stopped the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters

[dpdk-dev] [PATCH v5 12/14] net/avp: device start and stop operations

2017-03-23 Thread Allain Legacy
Adds support for device start and stop functions. This allows an application to control the administrative state of an AVP device. Stopping the device will notify the host application to stop sending packets on that device's receive queues. Signed-off-by: Allain Legacy Signed-off-by:

[dpdk-dev] [PATCH v5 09/14] net/avp: packet transmit functions

2017-03-23 Thread Allain Legacy
Adds support for packet transmit functions so that an application can send packets to the host application via an AVP device queue. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 335

[dpdk-dev] [PATCH v5 11/14] net/avp: device promiscuous functions

2017-03-23 Thread Allain Legacy
Adds support for setting and clearing promiscuous mode on an AVP device. When enabled the _mac_filter function will allow packets destined to any MAC address to be processed by the receive functions. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini

[dpdk-dev] [PATCH v5 10/14] net/avp: device statistics operations

2017-03-23 Thread Allain Legacy
Adds device functions to query and reset statistics. Signed-off-by: Allain Legacy --- doc/guides/nics/features/avp.ini | 2 ++ drivers/net/avp/avp_ethdev.c | 67 2 files changed, 69 insertions(+) diff --git a/doc/guides/nics/features/avp.ini b/doc

[dpdk-dev] [PATCH v5 01/14] drivers/net: adds AVP PMD base files

2017-03-23 Thread Allain Legacy
This commit introduces the AVP PMD file structure without adding any actual driver functionality. Functional blocks will be added in later patches. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 5 config/common_base

[dpdk-dev] [PATCH v5 07/14] net/avp: queue setup and release

2017-03-23 Thread Allain Legacy
Adds queue management operations so that an appliation can setup and release the transmit and receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 180 ++- 1 file changed, 179 insertions(+), 1

[dpdk-dev] [PATCH v5 05/14] net/avp: device initialization

2017-03-23 Thread Allain Legacy
Adds support for initialization newly probed AVP PCI devices. Initial queue translations are setup in preparation for device configuration. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 315 +++ 1 file

[dpdk-dev] [PATCH v5 06/14] net/avp: device configuration

2017-03-23 Thread Allain Legacy
Adds support for "dev_configure" operations to allow an application to configure the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- doc/guides/nics/features/avp.ini | 4 + drivers/net/avp/avp_ethdev.c | 241 +++ 2 fil

[dpdk-dev] [PATCH v5 02/14] net/avp: public header files

2017-03-23 Thread Allain Legacy
and updates to both the hypervisor DPDK application and the PMD. The hypervisor DPDK application is a Wind River Systems proprietary virtual switch. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/Makefile | 5 + drivers/net/avp/rte_avp_common.h | 416

[dpdk-dev] [PATCH v5 04/14] net/avp: driver registration

2017-03-23 Thread Allain Legacy
Adds the initial framework for registering the driver against the support PCI device identifiers. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_linuxapp | 1 + config/defconfig_i686-native-linuxapp-gcc| 5 + config/defconfig_i686-native

[dpdk-dev] [PATCH v5 03/14] net/avp: debug log macros

2017-03-23 Thread Allain Legacy
Adds a header file with log macros for the AVP PMD Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 4 drivers/net/avp/avp_logs.h | 59 ++ 2 files changed, 63 insertions(+) create mode 100644 drivers/net

[dpdk-dev] [PATCH v5 00/14] Wind River Systems AVP PMD

2017-03-23 Thread Allain Legacy
nit/uninit functions in avp_ethdev.c * Moved MAC addresses init to the device initialization patch because it is setup by the avp_dev_create() function. * Split the changes to the avp.ini features file so that features are marked as enabled in the patch that actually enables them. Allain

[dpdk-dev] [PATCH] igb_uio: support devices with at least 1 bar defined

2017-03-14 Thread Allain Legacy
R=1 offset= PBA: BAR=1 offset=0800 Signed-off-by: Matt Peters Signed-off-by: Allain Legacy --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxa

[dpdk-dev] [PATCH] ip_frag: handle MTU sizes not aligned to 8 bytes

2017-03-14 Thread Allain Legacy
o pass a suitable value to the fragmentation API this change modifies the fragmentation API to handle cases where the "mtu" argument is not divisible by 8 and automatically adjust the internal "frag_size". Signed-off-by: Allain Legacy --- lib/librte_ip_frag/rte_ipv4_fragm

[dpdk-dev] [PATCH v4 17/17] doc: adds information related to the AVP PMD

2017-03-13 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters Acked-by: John McNamara --- MAINTAINERS| 1 + doc/guides/nics/avp.rst| 112 + doc/guides

[dpdk-dev] [PATCH v4 16/17] net/avp: migration interrupt handling

2017-03-13 Thread Allain Legacy
the interrupts are maintained outside of the start/stop functions because they must be enabled for the lifetime of the device. This is so that host interrupts are serviced and acked even in cases where the app may have stopped the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters

[dpdk-dev] [PATCH v4 14/17] net/avp: device promiscuous functions

2017-03-13 Thread Allain Legacy
Adds support for setting and clearing promiscuous mode on an AVP device. When enabled the _mac_filter function will allow packets destined to any MAC address to be processed by the receive functions. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 28

[dpdk-dev] [PATCH v4 15/17] net/avp: device start and stop operations

2017-03-13 Thread Allain Legacy
Adds support for device start and stop functions. This allows an application to control the administrative state of an AVP device. Stopping the device will notify the host application to stop sending packets on that device's receive queues. Signed-off-by: Allain Legacy Signed-off-by:

[dpdk-dev] [PATCH v4 13/17] net/avp: device statistics operations

2017-03-13 Thread Allain Legacy
Adds device functions to query and reset statistics. Signed-off-by: Allain Legacy --- drivers/net/avp/avp_ethdev.c | 67 1 file changed, 67 insertions(+) diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c index 78018f5..c5039e2

[dpdk-dev] [PATCH v4 10/17] net/avp: queue setup and release

2017-03-13 Thread Allain Legacy
Adds queue management operations so that an appliation can setup and release the transmit and receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 180 ++- 1 file changed, 179 insertions(+), 1

[dpdk-dev] [PATCH v4 11/17] net/avp: packet receive functions

2017-03-13 Thread Allain Legacy
Adds function required for receiving packets from the host application via AVP device queues. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/Makefile | 1 + drivers/net/avp/avp_ethdev.c | 451

[dpdk-dev] [PATCH v4 12/17] net/avp: packet transmit functions

2017-03-13 Thread Allain Legacy
Adds support for packet transmit functions so that an application can send packets to the host application via an AVP device queue. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 335

[dpdk-dev] [PATCH v4 09/17] net/avp: device configuration

2017-03-13 Thread Allain Legacy
Adds support for "dev_configure" operations to allow an application to configure the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 240 +++ 1 file changed, 240 insertions(+) diff --git a/d

[dpdk-dev] [PATCH v4 08/17] net/avp: device initialization

2017-03-13 Thread Allain Legacy
Adds support for initialization newly probed AVP PCI devices. Initial queue translations are setup in preparation for device configuration. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 299 +++ 1 file

[dpdk-dev] [PATCH v4 07/17] net/avp: driver registration

2017-03-13 Thread Allain Legacy
Adds the initial framework for registering the driver against the support PCI device identifiers. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_linuxapp | 1 + config/defconfig_i686-native-linuxapp-gcc| 5 + config/defconfig_i686-native

[dpdk-dev] [PATCH v4 06/17] drivers/net: adds driver makefiles for AVP PMD

2017-03-13 Thread Allain Legacy
Adds a default Makefile to the driver directory but does not include any source files. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/Makefile | 1 + drivers/net/avp/Makefile | 52 2 files changed, 53 insertions

[dpdk-dev] [PATCH v4 04/17] net/avp: add PMD version map file

2017-03-13 Thread Allain Legacy
Adds a default ABI version file for the AVP PMD. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/rte_pmd_avp_version.map | 4 1 file changed, 4 insertions(+) create mode 100644 drivers/net/avp/rte_pmd_avp_version.map diff --git a/drivers/net/avp

[dpdk-dev] [PATCH v4 05/17] net/avp: debug log macros

2017-03-13 Thread Allain Legacy
Adds a header file with log macros for the AVP PMD Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 4 drivers/net/avp/avp_logs.h | 59 ++ 2 files changed, 63 insertions(+) create mode 100644 drivers/net

[dpdk-dev] [PATCH v4 01/17] config: adds attributes for the AVP PMD

2017-03-13 Thread Allain Legacy
Updates the common base configuration file to include a top level config attribute for the AVP PMD. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 5 + 1 file changed, 5 insertions(+) diff --git a/config/common_base b/config/common_base index aeee13e

[dpdk-dev] [PATCH v4 03/17] maintainers: claim responsibility for AVP PMD

2017-03-13 Thread Allain Legacy
Updating the maintainers file to claim the AVP PMD driver on behalf of Wind River Systems, Inc. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5030c1c..fef23a0 100644 --- a

[dpdk-dev] [PATCH v4 02/17] net/avp: public header files

2017-03-13 Thread Allain Legacy
and updates to both the hypervisor DPDK application and the PMD. The hypervisor DPDK application is a Wind River Systems proprietary virtual switch. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/rte_avp_common.h | 416 +++ drivers

[dpdk-dev] [PATCH v4 00/17] Wind River Systems AVP PMD

2017-03-13 Thread Allain Legacy
ween the goto and the end of the function. * Re-tested with pktgen and found that rte_eth_tx_burst() is being called with 0 packets even before starting traffic which resulted in incrementing oerrors; fixed in transmit patch. Allain Legacy (17): config: added attributes for the AVP PMD

[dpdk-dev] [PATCH] net/e1000: advertise offload capabilities for the EM PMD

2017-03-10 Thread Allain Legacy
request to enable VLAN stripping it is not expecting these packets so they are not processed as VLAN packets. Regardless of the Virtual Box issue, the driver should be advertising supported capabilities as is done in other drivers. Signed-off-by: Allain Legacy --- drivers/net/e1000/em_ethdev.c

  1   2   >