[dpdk-dev] maintainers: resign from maintainership of link bonding

2019-01-28 Thread Declan Doherty
I've been unable to dedicate enough time to actively help in the maintainership of the link bonding PMD, and as Chas is now actively maintaining this PMD, I'm removing my name against it in the MAINTAINERS file. Signed-off-by: Declan Doherty --- MAINTAINERS | 1 - 1 file changed,

[dpdk-dev] net/bonding: fix possible null pointer reference

2019-01-08 Thread Declan Doherty
In function check_for_bonded_ethdev the driver name is used without validating the pointer references in the passed ethdev object. Fixes: 740feaf349b1 ("ethdev: remove driver name from device private data") Cc: sta...@dpdk.org Signed-off-by: Declan Doherty --- drivers/n

[dpdk-dev] [dpdk-dev 2/3][PATCH v2] net/ixgbe: default eth_da parameter

2018-05-02 Thread Declan Doherty
Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index e49319a14..a05527a91 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers

[dpdk-dev] [dpdk-dev 1/3][PATCH v2] net/ixgbe: revert default PF PMD device name

2018-05-02 Thread Declan Doherty
Changes introduced by cf80ba6e2038 modified the default name generated for the IXGBE PF PMD, this patch reverts the default name to the original PCI BDBF. Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_et

[dpdk-dev] [dpdk-dev 3/3][PATCH v2] net/ixgbe: add null pointer check for pf_ethdev

2018-05-02 Thread Declan Doherty
Add NULL parameter check for rte_eth_dev_allocated() API call to eth_ixgbe_pci_probe(). Coverity Issue: 277216 Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- 1 file changed, 3 insert

[dpdk-dev] [PATCH 3/3] net/ixgbe: add null pointer check for pf_ethdev

2018-04-30 Thread Declan Doherty
Add NULL parameter check for rte_eth_dev_allocated() API call to eth_ixgbe_pci_probe(). Coverity Issue: 277216 Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ 1 file changed, 3 insertion

[dpdk-dev] [PATCH 2/3] net/ixgbe: initialise nb_representor_ports value

2018-04-30 Thread Declan Doherty
ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 0ccf55dc8..283dd7e49 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/d

[dpdk-dev] [PATCH 1/3] net/ixgbe: revert default PF PMD device name

2018-04-30 Thread Declan Doherty
Changes introduced by cf80ba6e2038 modified the default name generated for the IXGBE PF PMD, this patch reverts the default name to the original PCI BDBF. Fixes: cf80ba6e2038 ("net/ixgbe: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/ixgbe/ixgbe_et

[dpdk-dev] [PATCH] net/i40e: revert default PF PMD device name

2018-04-30 Thread Declan Doherty
Changes introduced by e0cb96204b71 modified the default name generated for the i40e PF PMD, this patch reverts the default name to the original PCI BDBF. Fixes: e0cb96204b71 ("net/i40e: add support for representor ports") Signed-off-by: Declan Doherty --- drivers/net/i40e/i40e_et

[dpdk-dev] [PATCH v7 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Declan Doherty
, failsafe and mlx5 PMDs and testpmd application which are affected by this API change. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 6 ++-- app/test-pmd/config.c | 19 ++- app/test-pmd/testpmd.h | 2 +- doc/guides/prog_guide

[dpdk-dev] [PATCH v7 0/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Declan Doherty
pe = RTE_FLOW_ACTION_TYPE_COUNT, .conf = &count } }, { .type = RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { port_id } }, { .type = RTE_FLOW_ACTION_TYPE_END } ; Declan Doherty (4): ethdev: Add tunnel encap/decap

[dpdk-dev] [PATCH v7 2/4] ethdev: Add group JUMP action

2018-04-26 Thread Declan Doherty
ordering of the rte_flow_action_type enumeration): - rte_flow_copy() - rte_flow_create() - rte_flow_query() - rte_flow_validate() Add support for specification of new JUMP action to testpmd's flow cli, and update the testpmd documentation to describe this new action. Signed-off-by: Declan Do

[dpdk-dev] [PATCH v7 3/4] ethdev: add mark flow item to rte_flow_item_types

2018-04-26 Thread Declan Doherty
stpmd documentation to describe new MARK flow item support. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 22 + doc/guides/prog_guide/rte_flow.rst | 30 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4

[dpdk-dev] [PATCH v7 1/4] ethdev: Add tunnel encap/decap actions

2018-04-26 Thread Declan Doherty
[vxlan/nvgre]_encap action data. The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all headers associated with the outer most tunnel endpoint of the specified type for the matching flows. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 107

[dpdk-dev] [PATCH v6 4/4] ethdev: add shared counter support to rte_flow

2018-04-26 Thread Declan Doherty
failsafe PMDs and testpmd application which are affected by this API change. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 6 ++-- app/test-pmd/config.c | 15 + app/test-pmd/testpmd.h | 2 +- doc/guides/prog_guide

[dpdk-dev] [PATCH v6 3/4] ethdev: add mark flow item to rte_flow_item_types

2018-04-26 Thread Declan Doherty
stpmd documentation to describe new MARK flow item support. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 22 + doc/guides/prog_guide/rte_flow.rst | 30 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4

[dpdk-dev] [PATCH v6 2/4] ethdev: Add group JUMP action

2018-04-26 Thread Declan Doherty
ordering of the rte_flow_action_type enumeration): - rte_flow_copy() - rte_flow_create() - rte_flow_query() - rte_flow_validate() Add support for specification of new JUMP action to testpmd's flow cli, and update the testpmd documentation to describe this new action. Signed-off-by: Declan Do

[dpdk-dev] [PATCH v6 1/4] ethdev: Add tunnel encap/decap actions

2018-04-26 Thread Declan Doherty
[vxlan/nvgre]_encap action data. The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all headers associated with the outer most tunnel endpoint of the specified type for the matching flows. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 107

[dpdk-dev] [PATCH v6 0/4] additions to support tunnel encap/decap

2018-04-26 Thread Declan Doherty
{ .type = RTE_FLOW_ACTION_TYPE_COUNT, .conf = &count } }, { .type = RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { port_id } }, { .type = RTE_F

[dpdk-dev] [PATCH v8 9/9] net/ixgbe: add support for representor ports

2018-04-26 Thread Declan Doherty
ports that representors are to be created for. An example of the devargs which would create VF representor for virtual functions 0,2,4,5,6 and 7 is: -w DBDF,representor=[0,2,4-7] Signed-off-by: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- doc/guides/nics

[dpdk-dev] [PATCH v8 8/9] net/i40e: add support for representor ports

2018-04-26 Thread Declan Doherty
: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- doc/guides/nics/i40e.rst | 15 ++ drivers/net/i40e/Makefile | 3 + drivers/net/i40e/i40e_ethdev.c | 82 ++- drivers/net/i40e/i40e_ethdev.h | 16 ++ drivers/net/i40e

[dpdk-dev] [PATCH v8 5/9] app/testpmd: add port name to device info

2018-04-26 Thread Declan Doherty
Add the port name to information printed by show port info Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 26f416100..57853e58f 100644 --- a/app/test-pmd/config.c +++ b/app/test

[dpdk-dev] [PATCH v8 4/9] ethdev: Add port representor device flag

2018-04-26 Thread Declan Doherty
Add new device flag to specify that an ethdev port is a port representor. Extend rte_eth_dev_info structure to expose device flags to the user which enables applications to discover if a port is a representor port. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 2 ++ lib

[dpdk-dev] [PATCH v8 3/9] ethdev: add generic create/destroy ethdev APIs

2018-04-26 Thread Declan Doherty
Add new bus generic ethdev create/destroy APIs which are bus independent and provide hooks for bus specific initialisation. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 93 + lib/librte_ether/rte_ethdev_driver.h| 57

[dpdk-dev] [PATCH v8 6/9] ethdev: add common devargs parser

2018-04-26 Thread Declan Doherty
=[1,2,5,6,10] # create representor ports in list -w BDF,representor=[0-31] # create representor ports in range Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- doc/guides/prog_guide/poll_mode_drv.rst | 19 lib/Makefile| 1 + lib/librte_ether

[dpdk-dev] [PATCH v8 7/9] ethdev: add switch domain allocator

2018-04-26 Thread Declan Doherty
Add switch domain allocate and free API to enable NET devices to synchronise switch domain allocation. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 54 + lib/librte_ether/rte_ethdev_driver.h| 39 lib

[dpdk-dev] [dpdk=-dev][PATCH v8 0/9] switching devices representation

2018-04-26 Thread Declan Doherty
rsing code. Declan Doherty (8): doc: add switch representation documentation ethdev: add switch identifier parameter to port ethdev: add generic create/destroy ethdev APIs ethdev: Add port representor device flag app/testpmd: add port name to device info ethdev: add switch domain alloc

[dpdk-dev] [PATCH v8 2/9] ethdev: add switch identifier parameter to port

2018-04-26 Thread Declan Doherty
domain id. Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 12 lib/librte_ether/rte_ethdev.h | 27 +++ 2 files changed, 39 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 216a7eb4e..26f416100 100644 --- a/app/test-pm

[dpdk-dev] [PATCH v8 1/9] doc: add switch representation documentation

2018-04-26 Thread Declan Doherty
. Signed-off-by: Adrien Mazarguil Signed-off-by: Declan Doherty Reviewed-by: Marko Kovacevic --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/switch_representation.rst | 837 2 files changed, 838 insertions(+) create mode 100644 doc/guides

[dpdk-dev] [PATCH v5 4/4] ethdev: add shared counter support to rte_flow

2018-04-23 Thread Declan Doherty
and testpmd application which are affected by this API change. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 6 ++-- app/test-pmd/config.c| 15 - app/test-pmd/testpmd.h | 2 +- doc/guides/prog_guide/rte_flow.rst | 59

[dpdk-dev] [PATCH v5 3/4] ethdev: add mark flow item to rte_flow_item_types

2018-04-23 Thread Declan Doherty
stpmd documentation to describe new MARK flow item support. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 22 + doc/guides/prog_guide/rte_flow.rst | 30 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4

[dpdk-dev] [PATCH v5 0/4] ethdev additions to support tunnel encap/decap

2018-04-23 Thread Declan Doherty
= RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP, .conf = &vxlan_encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { port_id } }, { .type = RTE_FLOW_ACTION_TYPE_END } }; Declan Doherty (4): ethdev: Add tunnel encap/decap

[dpdk-dev] [PATCH v5 1/4] ethdev: Add tunnel encap/decap actions

2018-04-23 Thread Declan Doherty
[vxlan/nvgre]_encap action data. The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all headers associated with the outer most tunnel endpoint of the specified type for the matching flows. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 107

[dpdk-dev] [PATCH v5 2/4] ethdev: Add group JUMP action

2018-04-23 Thread Declan Doherty
ordering of the rte_flow_action_type enumeration): - rte_flow_copy() - rte_flow_create() - rte_flow_query() - rte_flow_validate() Add support for specification of new JUMP action to testpmd's flow cli, and update the testpmd documentation to describe this new action. Signed-off-by: Declan Do

[dpdk-dev] [PATCH v4 4/6] ethdev: add mark flow item to flow item types

2018-04-18 Thread Declan Doherty
Introduces a new action type RTE_FLOW_ITEM_TYPE_MARK which enables flow patterns to specify arbitrary integer values to match aginst which are set by the RTE_FLOW_ACTION_TYPE_MARK action in a previously matched flow from a higher prioriry group. Signed-off-by: Declan Doherty --- doc/guides

[dpdk-dev] [PATCH v4 6/6] ethdev: add shared counter support to rte_flow

2018-04-18 Thread Declan Doherty
testpmd application which are affected by this API change. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 6 ++--- app/test-pmd/config.c| 15 ++- app/test-pmd/testpmd.h | 2 +- doc/guides/prog_guide/rte_flow.rst | 52

[dpdk-dev] [PATCH v4 5/6] testpmd: add support for MARK flow item

2018-04-18 Thread Declan Doherty
Add support for specificaiton of new MARK flow item in testpmd's cli, and update testpmd documentation to describe new MARK flow item support. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 22 ++ doc/guides/testpmd_app_ug/testpmd_func

[dpdk-dev] [PATCH v4 3/6] testpmd: add jump action

2018-04-18 Thread Declan Doherty
Add support for specificaiton of new JUMP action to testpmd's flow cli, and update the testpmd documentation to describe this new action. Signed-off-by: Declan Doherty --- app/test-pmd/cmdline_flow.c | 23 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst

[dpdk-dev] [PATCH v4 2/6] ethdev: Add jump action type to rte_flow

2018-04-18 Thread Declan Doherty
Add jump action type which defines an action which allows a matched flow to be redirect to the specified group. This allows physical and logical flow table/group hierarchies to be managed through rte_flow. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 26

[dpdk-dev] [PATCH v4 1/6] ethdev: Add tunnel encap/decap actions

2018-04-18 Thread Declan Doherty
overlay defined in the rte_flow_action_tunnel_encap action definition. The RTE_FLOW_ACTION_TYPE_VXLAN_DECAP and RTE_FLOW_ACTION_TYPE_NVGRE_DECAP actions will cause all headers associated with the outermost VXLAN/NVGRE tunnel overlay to be decapsulated from the matching flow. Signed-off-by: Declan

[dpdk-dev] [PATCH v4 0/6] additions to support tunnel encap/decap

2018-04-18 Thread Declan Doherty
CAP, .conf = &vxlan_encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { port_id } }, { .type = RTE_FLOW_ACTION_TYPE_END } }; Declan Doherty (6): ethdev: Add tunnel encap/decap actions ethdev: Add group action typ

[dpdk-dev] [PATCH v7 9/9] net/ixgbe: add support for representor ports

2018-04-16 Thread Declan Doherty
ports that representors are to be created for. An example of the devargs which would create VF representor for virtual functions 0,2,4,5,6 and 7 is: -w pci:D:B:D.F,representor=[0,2,4-7] Signed-off-by: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- drivers

[dpdk-dev] [PATCH v7 6/9] ethdev: add common devargs parser

2018-04-16 Thread Declan Doherty
From: Remy Horton Introduces a new structure, rte_eth_devargs, to support generic ethdev arguments common across NET PMDs, with a new API rte_eth_devargs_parse API to support PMD parsing these arguments. Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- lib/Makefile

[dpdk-dev] [PATCH v7 8/9] net/i40e: add support for representor ports

2018-04-16 Thread Declan Doherty
that representors are to be created for. An example of the devargs which would create VF representor for virtual functions 0,2,4,5,6 and 7 is: -w pci:D:B:D.F,representor=[0,2,4-7] Signed-off-by: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- drivers/net/i40e

[dpdk-dev] [PATCH v7 7/9] ethdev: add switch domain allocator

2018-04-16 Thread Declan Doherty
Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 53 + lib/librte_ether/rte_ethdev_driver.h| 39 lib/librte_ether/rte_ethdev_version.map | 3 ++ 3 files changed, 95 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH v7 4/9] ethdev: Add port representor device flag

2018-04-16 Thread Declan Doherty
Add new device flag to specify that an ethdev port is a port representor. Extend rte_eth_dev_info structure to expose device flags to the user which enables applications to discover if a port is a representor port. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 2 ++ lib

[dpdk-dev] [PATCH v7 5/9] app/testpmd: add port name to device info

2018-04-16 Thread Declan Doherty
Add the port name to information printed by show port info Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 884bcb3b6..1b985056a 100644 --- a/app/test-pmd/config.c +++ b/app/test

[dpdk-dev] [PATCH v7 2/9] ethdev: add switch identifier parameter to port

2018-04-16 Thread Declan Doherty
domain id. Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 12 lib/librte_ether/rte_ethdev.h | 17 + 2 files changed, 29 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index dd051f5ca..884bcb3b6 100644 --- a/app/test-pmd/config.c

[dpdk-dev] [PATCH v7 3/9] ethdev: add generic create/destroy ethdev APIs

2018-04-16 Thread Declan Doherty
Add new bus generic ethdev create/destroy APIs which are bus independent and provide hooks for bus specific initialisation. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 95 - lib/librte_ether/rte_ethdev_driver.h| 57

[dpdk-dev] [PATCH v7 1/9] doc: add switch representation documentation

2018-04-16 Thread Declan Doherty
. Signed-off-by: Adrien Mazarguil Signed-off-by: Declan Doherty --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/switch_representation.rst | 837 2 files changed, 838 insertions(+) create mode 100644 doc/guides/prog_guide

[dpdk-dev] [PATCH v7 0/9] switching devices representation

2018-04-16 Thread Declan Doherty
devices. - bug fix in ethdev args parsing code. Declan Doherty (8): doc: add switch representation documentation ethdev: add switch identifier parameter to port ethdev: add generic create/destroy ethdev APIs ethdev: Add port representor device flag app/testpmd: add port name to device inf

[dpdk-dev] [PATCH v3 4/4] ethdev: Add metadata flow and action items support

2018-04-06 Thread Declan Doherty
also introduces a new flow item type which enables flow patterns to specify a specific metadata container as a matching criteria for a flow rule. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 85 ++ lib/librte_ether/rte_flow.h

[dpdk-dev] [PATCH v3 0/4] ethdev: Additions to support tunnel encap/decap offload

2018-04-06 Thread Declan Doherty
ount } }, { .type = RTE_FLOW_ACTION_TYPE_TUNNEL_ENCAP, .conf = &encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { port_id } }, { .type = RTE_FLOW_ACTION_TYPE_END } }; Declan Doherty (4): ethdev: ad

[dpdk-dev] [PATCH v3 1/4] ethdev: add group counter support to rte_flow

2018-04-06 Thread Declan Doherty
Add new RTE_FLOW_ACTION_TYPE_GROUP_COUNT action type to enable shared counters across multiple flows on a single port or across multiple flows on multiple ports within the same switch domain. Introduce new API rte_flow_query_group_count to allow querying of group counters. Signed-off-by: Declan

[dpdk-dev] [PATCH v3 3/4] ethdev: Add group action type to rte_flow

2018-04-06 Thread Declan Doherty
Add group action type which defines a terminating action which allows a matched flow to be redirect to a group. This allows logical flow table hierarchies to be managed through rte_flow. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 23 +++ lib

[dpdk-dev] [PATCH v3 2/4] ethdev: Add tunnel encap/decap actions

2018-04-06 Thread Declan Doherty
tunnel_encap action data. The RTE_FLOW_ACTION_TYPE_TUNNEL_DECAP action will cause all virtual tunnel endpoint overlays up to and including the first instance of the flow item type defined in the tunnel_decap action data for the matching flows. Signed-off-by: Declan Doherty --- doc/guides/prog_guide

[dpdk-dev] [PATCH v2 4/4] ethdev: Add metadata flow and action items support

2018-04-05 Thread Declan Doherty
also introduces a new flow item type which enables flow patterns to specify a specific metadata container as a matching criteria for a flow rule. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 85 ++ lib/librte_ether/rte_flow.h

[dpdk-dev] [PATCH v2 1/4] ethdev: add group counter support to rte_flow

2018-04-05 Thread Declan Doherty
Add new RTE_FLOW_ACTION_TYPE_GROUP_COUNT action type to enable shared counters across multiple flows on a single port or across multiple flows on multiple ports within the same switch domain. Introduce new API rte_flow_query_group_count to allow querying of group counters. Signed-off-by: Declan

[dpdk-dev] [PATCH v2 2/4] ethdev: Add vTEP encap/decap actions

2018-04-05 Thread Declan Doherty
vtep_encap action data. The RTE_FLOW_ACTION_TYPE_VTEP_DECAP action will cause all virtual tunnel endpoint overlays up to and including the first instance of the flow item type defined in the vtep_decap action data for the matching flows. Signed-off-by: Declan Doherty --- doc/guides/prog_guide

[dpdk-dev] [PATCH v2 3/4] ethdev: Add group action type to rte_flow

2018-04-05 Thread Declan Doherty
Add group action type which defines a terminating action which allows a matched flow to be redirect to a group. This allows logical flow table hierarchies to be managed through rte_flow. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/rte_flow.rst | 23 +++ lib

[dpdk-dev] [PATCH v2 0/4] ethdev: Additions to support vTEP encap/decap offload

2018-04-05 Thread Declan Doherty
{ .type=vxlan, .item = {} } } }; struct rte_flow_action actions[] = { { .type = RTE_FLOW_ACTION_TYPE_GROUP_COUNT, .conf = &group_count } }, { .type = RTE_FLOW_ACTION_TYPE_VTEP_ENCAP, .conf = &encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT_ID, .conf = &port_id_action = { por

[dpdk-dev] [PATCH v6 5/8] app/testpmd: add port name to device info

2018-03-28 Thread Declan Doherty
Add the port name to information printed by show port info Signed-off-by: Declan Doherty --- app/test-pmd/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index e12f8c515..0fbdfdcdd 100644 --- a/app/test-pmd/config.c +++ b/app/test

[dpdk-dev] [PATCH v6 8/8] net/ixgbe: add support for representor ports

2018-03-28 Thread Declan Doherty
ports that representors are to be created for. An example of the devargs which would create VF representor for virtual functions 0,2,4,5,6 and 7 is: -w pci:D:B:D.F,representor=[0,2,4-7] Signed-off-by: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- drivers/net

[dpdk-dev] [PATCH v6 7/8] net/i40e: add support for representor ports

2018-03-28 Thread Declan Doherty
ports that representors are to be created for. An example of the devargs which would create VF representor for virtual functions 0,2,4,5,6 and 7 is: -w pci:D:B:D.F,representor=[0,2,4-7] Signed-off-by: Declan Doherty Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton --- drivers/net

[dpdk-dev] [PATCH v6 6/8] ethdev: add common devargs parser

2018-03-28 Thread Declan Doherty
From: Remy Horton Introduces a new structure, rte_eth_devargs, to support generic ethdev arguments common across NET PMDs, with a new API rte_eth_devargs_parse API to support PMD parsing these arguments. Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- lib/Makefile

[dpdk-dev] [PATCH v6 4/8] ethdev: Add port representor device flag

2018-03-28 Thread Declan Doherty
Add new device flag to specify that ethdev port is a port representor. Extend rte_eth_dev_info structure to expose device flags to user which enable applications to discover if a port is a representor port. Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ethdev.c | 1 + lib

[dpdk-dev] [PATCH v6 3/8] ethdev: add generic create/destroy ethdev APIs

2018-03-28 Thread Declan Doherty
Add new bus generic ethdev create/destroy APIs which are bus independent and provide hooks for bus specific initialisation. Signed-off-by: Declan Doherty --- lib/librte_ether/Makefile | 1 + lib/librte_ether/meson.build | 1 + lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH v6 1/8] doc: add switch representation documentation

2018-03-28 Thread Declan Doherty
example use cases. Signed-off-by: Declan Doherty --- doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/switch_representation.rst | 829 2 files changed, 830 insertions(+) create mode 100644 doc/guides/prog_guide/switch_representation.rst

[dpdk-dev] [PATCH v6 2/8] ethdev: add switch identifier parameter to port

2018-03-28 Thread Declan Doherty
Introduces a new port attribute to ethdev port's which denotes the switch domain a port belongs to. By default all port's switch identifiers are the their port_id. Ports which share a common switch domain are configured with the same switch id. Signed-off-by: Declan Doherty --- ap

[dpdk-dev] [PATCH v6 0/7] switching device representation

2018-03-28 Thread Declan Doherty
unt of the changes in (http://dpdk.org/ml/archives/dev/2018-March/092513.html) This patchset also includes the enablement of port representor for ixgbe and i40e PF devices. Adrien Mazarguil (1): doc: add switch representation documentation Declan Doherty (6): ethdev: add switch identifier pa

[dpdk-dev] [PATCH] ethdev: Additions to rte_flows to support vTEP encap/decap offload

2018-03-09 Thread Declan Doherty
onf = &encap_action } }, { .type = RTE_FLOW_ACTION_TYPE_PORT, .conf = &port_action = { port_id } }, { .type = RTE_FLOW_ACTION_TYPE_END } } Signed-off-by: Declan Doherty --- lib/librte_ether/rte_flow.h | 166 +++- 1 file changed, 1

[dpdk-dev] [PATCH v2] net/bond: burst mode hash calculation

2018-01-09 Thread Declan Doherty
change the xmit_hash functions to handle bursts of packet instead of single packets at a time, and update the affected tx_burst functions. Signed-off-by: Declan Doherty Signed-off-by: Keith Wiles --- V2: rebased to HEAD of next-net drivers/net/bonding/rte_eth_bond_api.c | 3 - drivers

Re: [dpdk-dev] [PATCH] net/ixgbe: removed ipsec keys from private data

2017-12-13 Thread Declan Doherty
On 22/11/17 11:19, Radu Nicolau wrote: Signed-off-by: Radu Nicolau --- ... Acked-by: Declan Doherty

[dpdk-dev] [PATCH] net/bond: burst mode hash calculation

2017-11-30 Thread Declan Doherty
change the xmit_hash functions to handle bursts of packet instead of packet at a time. Updating effect tx_burst functions. Signed-off-by: Declan Doherty Signed-off-by: Keith Wiles --- drivers/net/bonding/rte_eth_bond_api.c | 3 - drivers/net/bonding/rte_eth_bond_pmd.c | 582

[dpdk-dev] [PATCH] net/bond: don't drop lacpdu's on slaves tx failure

2017-11-30 Thread Declan Doherty
be made in subsequent tx_burst() calls on the bonded device. Signed-off-by: Declan Doherty --- drivers/net/bonding/rte_eth_bond_pmd.c | 35 ++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/n

[dpdk-dev] [PATCH v2 3/3] cryptodev: break dependency on PCI device bus

2017-10-25 Thread Declan Doherty
: Declan Doherty --- doc/guides/rel_notes/release_17_11.rst | 7 ++ drivers/crypto/qat/qat_crypto.c| 3 +- drivers/crypto/qat/rte_qat_cryptodev.c | 55 +++ lib/librte_cryptodev/Makefile | 1 - lib/librte_cryptodev/rte_cryptodev_pci.h

[dpdk-dev] [PATCH v2 0/3] Break cryptodev dependency on bus infrastructure

2017-10-25 Thread Declan Doherty
Declan Doherty (3): cryptodev: add new APIs to assist PMD initialisation cryptodev: break dependency on virtual device bus cryptodev: break dependency on PCI device bus doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_17_11.rst | 20 +++ drivers/crypto

[dpdk-dev] [PATCH v2 2/3] cryptodev: break dependency on virtual device bus

2017-10-25 Thread Declan Doherty
-by: Declan Doherty --- doc/guides/rel_notes/deprecation.rst | 5 -- doc/guides/rel_notes/release_17_11.rst | 7 ++ drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 56 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 73 +++ drivers/crypto/armv8

[dpdk-dev] [PATCH v2 1/3] cryptodev: add new APIs to assist PMD initialisation

2017-10-25 Thread Declan Doherty
Adds new PMD assist functions which are bus independent for driver to create and destroy new device instances. Also includes function to parse parameters which can be passed to driver on device initialisation. Signed-off-by: Declan Doherty --- doc/guides/rel_notes/release_17_11.rst

[dpdk-dev] [PATCH 3/3] cryptodev: break dependency on rte_pci.h

2017-10-20 Thread Declan Doherty
: Declan Doherty --- doc/guides/rel_notes/deprecation.rst | 6 ++ drivers/crypto/qat/qat_crypto.c| 3 +- drivers/crypto/qat/rte_qat_cryptodev.c | 55 +++ lib/librte_cryptodev/Makefile | 1 - lib/librte_cryptodev/rte_cryptodev_pci.h

[dpdk-dev] [PATCH 0/3] Break dependency on bus infrastructure*

2017-10-20 Thread Declan Doherty
calls to the bus dependent functions and updates all crypto PMDs to use the newly introduced device independent functions. Declan Doherty (3): cryptodev: add new APIs to assist PMD initialisation cryptodev: break dependency on virtual device bus cryptodev: break dependency on rte_pci.h doc

[dpdk-dev] [PATCH 1/3] cryptodev: add new APIs to assist PMD initialisation

2017-10-20 Thread Declan Doherty
Adds new PMD assist functions which are bus independent for driver to create and destroy new device instances. Also includes function to parse parameters which can be passed to driver on device initialisation. Signed-off-by: Declan Doherty --- lib/librte_cryptodev/rte_cryptodev.h

[dpdk-dev] [PATCH 2/3] cryptodev: break dependency on virtual device bus

2017-10-20 Thread Declan Doherty
-by: Declan Doherty --- drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 55 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 72 +++ drivers/crypto/armv8/rte_armv8_pmd.c | 41 +++-- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c| 11 +-- drivers/crypto

[dpdk-dev] [PATCH] net/bond: lacp slave deactivate slave behavioural fix

2017-10-06 Thread Declan Doherty
: 46fb43683679 ("bond: add mode 4") Signed-off-by: Declan Doherty --- drivers/net/bonding/rte_eth_bond_8023ad.c | 37 +-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/n

Re: [dpdk-dev] [RFC 0/5] Port Representor for control and monitoring of VF devices

2017-09-07 Thread Declan Doherty
hich wish to support this functionality. On Thu, Sep 7, 2017 at 9:35 AM, Mohammad Abdul Awal < mohammad.abdul.a...@intel.com> wrote: Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- This RFC introduces a port representor based model for t

Re: [dpdk-dev] [PATCH] cryptodev: deprecate rte_cryptodev_create_vdev()

2017-07-27 Thread Declan Doherty
On 12/07/2017 9:15 PM, Jan Blunck wrote: This function is an alias for rte_vdev_init() which is scheduled to move out of the rte_eal library. Lets deprecate this function to be able to remove it from the cryptodev library in 17.11. Signed-off-by: Jan Blunck --- ... Acked-by: Declan

Re: [dpdk-dev] [PATCH 1/3] crypto/aesni_mb: fix HMAC supported key sizes

2017-07-27 Thread Declan Doherty
lo de Lara --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH 2/3] crypto/openssl: fix HMAC supported key sizes

2017-07-27 Thread Declan Doherty
: Pablo de Lara --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] bonding: fix link status interrupt when down

2017-07-26 Thread Declan Doherty
lsc_flag = 1; + /* Update primary id, take first active slave from list or if none * available set to -1 */ if (port_id == internals->current_primary_port) { Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] test: fix bonded device name

2017-07-26 Thread Declan Doherty
BONDING_MODE_ACTIVE_BACKUP, rte_socket_id()); TEST_ASSERT(bonded_port_id > 0, "failed to create bonded device"); Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] test: fix virtual device name not set

2017-07-26 Thread Declan Doherty
top(struct rte_eth_dev *eth_dev __rte_unused) goto err; pci_dev->device.numa_node = socket_id; + pci_dev->device.name = eth_dev->data->name; pci_drv->driver.name = virtual_ethdev_driver_name; pci_drv->id_table = id_table; Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] bonding: fix segfault when primary slave set

2017-07-26 Thread Declan Doherty
te; + if (valid_slave_port_id(slave_port_id, internals->mode) != 0) return -1; - internals->user_defined_primary_port = 1; internals->primary_port = slave_port_id; Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] test/bonding: fix namespace of the rss tests

2017-07-26 Thread Declan Doherty
_RING_SIZE 1024 #define RXTX_QUEUE_COUNT 4 -#define BONDED_DEV_NAME ("rssconf_bond_dev") +#define BONDED_DEV_NAME ("net_bonding_rss") #define SLAVE_DEV_NAME_FMT ("net_null%d") #define SLAVE_RXTX_QUEUE_FMT ("rssconf_slave%d_q%d") Acked-by: Declan Doherty

Re: [dpdk-dev] [RFC PATCH 0/1] IPSec Inline and look aside crypto offload

2017-07-26 Thread Declan Doherty
Hey Akhil, I like the proposal of allowing the rte_secruity API to be supported on both NIC and crypto devices as I think it allows us to cover all the protocol offload scenarios in a consist manner. The main concern I have is in regards to the device identification in a consistent manner betw

Re: [dpdk-dev] [PATCH] test: fix the parameter issue of test case

2017-07-25 Thread Declan Doherty
static int test_balance_l23_tx_burst_ipv4_toggle_ip_addr(void) { - return balance_l23_tx_burst(0, 1, 1, 0); + return balance_l23_tx_burst(0, 1, 0, 1); } static int Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v2 3/3] test/bonding: add test case for agg selection in mode4

2017-07-19 Thread Declan Doherty
On 19/07/2017 3:54 PM, Daniel Mrzyglod wrote: Signed-off-by: Daniel Mrzyglod --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v2 2/3] testpmd: add cmndlines to support different aggregation modes

2017-07-19 Thread Declan Doherty
On 19/07/2017 3:46 PM, Daniel Mrzyglod wrote: This patch add support for different aggregator modes in similar manner that is provided in linux kernel. testpmd> set bonding agg_mode testpmd> show bonding config Signed-off-by: Daniel Mrzyglod --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v2 1/3] drivers/bonding: add other agg selection modes

2017-07-19 Thread Declan Doherty
changed, 274 insertions(+), 14 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net/bonding/rte_eth_bond_8023ad.c index a2313b327..eb273988a 100644 --- a/drivers/net/bonding/rte_eth_bond_8023ad.c ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v1] crypto/scheduler: fix multicore scheduler reordering

2017-07-19 Thread Declan Doherty
status bit is set. Prior to put this operation to output buffer, scheduler clears this bit, so the application gets unmodified status from crypto pmd. Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") Signed-off-by: Kirill Rybalchenko --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH] cryptodev: remove crypto operation status value

2017-07-19 Thread Declan Doherty
of public API. Signed-off-by: Kirill Rybalchenko --- ... Acked-by: Declan Doherty

  1   2   3   4   5   6   >