[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 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 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 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 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 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 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 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 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 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 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 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] 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] 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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] 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 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 00/16] Wind River Systems AVP PMD

2017-02-24 Thread Allain Legacy
PMD within a virtual machine running on a Wind River virtualization platform. See: http://www.windriver.com/products/titanium-cloud/ Allain Legacy (16): config: added attributes for the AVP PMD net/avp: added public header files maintainers: claim responsibility for AVP PMD net/avp: added

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

2017-02-24 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 02/16] net/avp: public header files

2017-02-24 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 | 427 +++ drivers

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

2017-02-24 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 03/16] maintainers: claim responsibility for AVP PMD

2017-02-24 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 24e0eff..992ffa5 100644 --- a

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

2017-02-24 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 04/16] net/avp: add PMD version map file

2017-02-24 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 07/16] net/avp: driver registration

2017-02-24 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 12/16] net/avp: packet transmit functions

2017-02-24 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 | 347

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

2017-02-24 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 | 148 ++- 1 file changed, 147 insertions(+), 1

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

2017-02-24 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 | 469

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

2017-02-24 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 | 136 +++ 1 file changed, 136 insertions(+) diff --git a/d

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

2017-02-24 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 | 770 +++ 1 file

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

2017-02-24 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 | 34

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

2017-02-24 Thread Allain Legacy
Adds support for device get/set operations against an AVP device so that an application can query and reset statistics on an AVP device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 1 + drivers/net/avp/avp_ethdev.c | 81

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

2017-02-24 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 16/16] doc: adds information related to the AVP PMD

2017-02-24 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 1 + doc/guides/nics/avp.rst | 99 doc/guides/nics/features/avp.ini | 17

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

2017-02-26 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 v2 03/15] maintainers: claim responsibility for AVP PMD

2017-02-26 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 24e0eff..992ffa5 100644 --- a

[dpdk-dev] [PATCH v2 00/16] Wind River Systems AVP PMD

2017-02-26 Thread Allain Legacy
PMD within a virtual machine running on a Wind River virtualization platform. See: http://www.windriver.com/products/titanium-cloud/ v2: * Fixed coding style violations that slipped in accidentally because of an out of date checkpatch.pl from an older kernel. Allain Legacy (16): config: added

[dpdk-dev] [PATCH v2 02/15] net/avp: public header files

2017-02-26 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 | 424 +++ drivers

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

2017-02-26 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 v2 05/15] net/avp: debug log macros

2017-02-26 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 v2 06/15] drivers/net: adds driver makefiles for AVP PMD

2017-02-26 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 v2 07/15] net/avp: driver registration

2017-02-26 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 v2 08/15] net/avp: device initialization

2017-02-26 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 | 757 +++ 1 file

[dpdk-dev] [PATCH v2 09/15] net/avp: device configuration

2017-02-26 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 | 136 +++ 1 file changed, 136 insertions(+) diff --git a/d

[dpdk-dev] [PATCH v2 10/15] net/avp: queue setup and release

2017-02-26 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 | 148 ++- 1 file changed, 147 insertions(+), 1

[dpdk-dev] [PATCH v2 11/15] net/avp: packet receive functions

2017-02-26 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 | 468

[dpdk-dev] [PATCH v2 13/15] net/avp: device promiscuous functions

2017-02-26 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 | 34

[dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions

2017-02-26 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 | 419

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

2017-02-26 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 1 + doc/guides/nics/avp.rst | 99 doc/guides/nics/features/avp.ini | 17

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

2017-02-26 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] doc: adds information related to the AVP PMD

2017-03-01 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] devtools: add long lines to the list of options

2017-03-01 Thread Allain Legacy
threshold. Signed-off-by: Allain Legacy --- devtools/checkpatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 78e155e..26ff419 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -45,7 +45,7

[dpdk-dev] [PATCH v3 00/16] Wind River Systems AVP PMD

2017-03-01 Thread Allain Legacy
Allain Legacy (16): config: added attributes for the AVP PMD net/avp: added public header files maintainers: claim responsibility for AVP PMD net/avp: added PMD version map file net/avp: added log macros drivers/net: added driver makefiles net/avp: driver registration net/avp: device

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

2017-03-01 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 v3 03/16] maintainers: claim responsibility for AVP PMD

2017-03-01 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 v3 06/16] drivers/net: adds driver makefiles for AVP PMD

2017-03-01 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 v3 08/16] net/avp: device initialization

2017-03-01 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 | 733 +++ 1 file

[dpdk-dev] [PATCH v3 02/16] net/avp: public header files

2017-03-01 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 | 424 +++ drivers

  1   2   >