[RFC 0/1] ring: add callback infrastructire to ring library

2023-03-23 Thread Rory Sexton
queue functions. As such only function declarations are present. If there is a willingness within the community to add callback infrastructure to the ring library I will implement further code. Rory Sexton (1): ring: add infrastructure to allow callbacks within the ring library lib/ring/rte_r

[RFC 1/1] ring: add infrastructure to allow callbacks within the ring library

2023-03-23 Thread Rory Sexton
Adding initial code to give a feel for what it would look like if callbacks were supported by the ring dequeue functions within the ring library. They could be optionally compiled in/out as required. Signed-off-by: Rory Sexton --- lib/ring/rte_ring.h | 133

[dpdk-dev] [PATCH v1] net/i40e: set no drop for traffic class

2016-12-04 Thread Rory Sexton
there are no drops as a result. Signed-off-by: Rory Sexton Signed-off-by: Nemanja Marjanovic --- drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/i40e/i40e_rxtx.c | 12 drivers/net/i40e/i40e_rxtx.h | 1 + lib/librte_ether/rte_ethdev.h | 24 4 files

[dpdk-dev] [PATCH v2] net/i40e: set no drop for traffic class

2017-01-16 Thread rory . sexton
From: Rory Sexton The default traffic class in i40e is set to drop versus on ixgbe it isset to no drop. This means when packets build up in the RX SRAM on the NIC, they are dropped, and they do this when the SW descriptor rings fill up. This patch changes this behaviour and our testing shows

[dpdk-dev] [PATCH v2 1/2] ethdev: add L2TPv3 over IP header to flow API

2019-12-16 Thread Rory Sexton
separate implementation for each. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- app/test-pmd/cmdline_flow.c| 33 ++ doc/guides/prog_guide/rte_flow.rst | 8 lib/librte_ethdev/rte_flow.c | 1 + lib/librte_ethdev/rte_flow.h | 29

[dpdk-dev] [PATCH v2 2/2] net/i40e: support FDIR for L2TPv3 over IP

2019-12-16 Thread Rory Sexton
Adding FDIR support for L2TPv3 over IP header matching and adding a new customized pctype for l2tpv3 over IP. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++ drivers/net/i40e/i40e_ethdev.c | 11 +++- drivers/net/i40e

[dpdk-dev] [PATCH v3 1/2] ethdev: add L2TPv3 over IP header to flow API

2020-01-07 Thread Rory Sexton
separate implementation for each. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- v3 changes: adding testpmd docs updates --- app/test-pmd/cmdline_flow.c | 33 + doc/guides/prog_guide/rte_flow.rst | 8 + doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH v3 2/2] net/i40e: support FDIR for L2TPv3 over IP

2020-01-07 Thread Rory Sexton
Adding FDIR support for L2TPv3 over IP header matching and adding a new customized pctype for l2tpv3 over IP. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- v3 changes: * removing testpmd doc update as this patch focus only on i40e PMD * remove unused structure from i40e_ethdev.h

[dpdk-dev] [PATCH v4 2/3] net/i40e: support FDIR for L2TPv3 over IP

2020-01-13 Thread Rory Sexton
Adding FDIR support for L2TPv3 over IP header matching and adding a new customized pctype for l2tpv3 over IP. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- v3 changes: * removing testpmd doc update as this patch focus only on i40e PMD * remove unused structure from i40e_ethdev.h

[dpdk-dev] [PATCH v4 1/3] ethdev: add L2TPv3 over IP header to flow API

2020-01-13 Thread Rory Sexton
separate implementation for each. Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus Acked-by: Ori Kam --- v3 changes: adding testpmd docs updates v4 changes: none --- --- app/test-pmd/cmdline_flow.c | 33 + doc/guides/prog_guide/rte_flow.rst | 8

[dpdk-dev] [PATCH v4 3/3] doc: add release notes for L2TPv3 over IP flow addition

2020-01-13 Thread Rory Sexton
Release note for L2TPv3 over IP flow addition to rte_flow, net/i40e and testpmd. Signed-off-by: Rory Sexton --- v4 changes: adding release notes update to patchset --- --- doc/guides/rel_notes/release_20_02.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/guides

[dpdk-dev] [PATCH] ethdev: add L2TPv3 header to flow API

2019-12-04 Thread Rory Sexton
- RTE_FLOW_ITEM_TYPE_L2TPV3: matches a L2TPv3 header Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- app/test-pmd/cmdline_flow.c | 28 + doc/guides/prog_guide/rte_flow.rst | 8 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4

[dpdk-dev] [PATCH] net/i40e: Add new customized pctype for l2tpv3

2019-12-04 Thread Rory Sexton
Signed-off-by: Rory Sexton Signed-off-by: Dariusz Jagus --- drivers/net/i40e/i40e_ethdev.c | 11 ++- drivers/net/i40e/i40e_ethdev.h | 9 ++ drivers/net/i40e/i40e_fdir.c | 34 + drivers/net/i40e/i40e_flow.c | 55 ++ 4 files changed

[dpdk-dev] [v3 2/3] examples/vm_power_manager: Allowing power managing of idle cores

2020-07-13 Thread Rory Sexton
This change is required to allow the branch ratio algorithm to power manage cores with no workload running on them. This is useful both when idle cores don't use C-states and for a number of hyperthreading scenarios. Signed-off-by: Rory Sexton Reviewed-by: David Hunt --- exa

[dpdk-dev] [v3 3/3] doc: update vm_power_manager cmdline options in doc

2020-07-13 Thread Rory Sexton
Updating the vm_power_manager docs to reflect changes made in previous patches in set. Signed-off-by: Rory Sexton Reviewed-by: David Hunt --- doc/guides/sample_app_ug/vm_power_management.rst | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/guides

[dpdk-dev] [v3 1/3] examples/vm_power_manager: Make branch ratio threshold per core

2020-07-13 Thread Rory Sexton
This modification allows for the branch ratio threshold to be set per core rather than system wide. This gives greater flexibility to the branch ration monitoring allowing it to manage different workloads with different characteristics on the same system. Signed-off-by: Rory Sexton Reviewed-by

[dpdk-dev] [v4 3/3] doc: update vm_power_manager cmdline options in doc

2020-07-14 Thread Rory Sexton
Updating the vm_power_manager docs to reflect changes made in previous patches in set. Signed-off-by: Rory Sexton Reviewed-by: David Hunt --- v4: no changes --- doc/guides/sample_app_ug/vm_power_management.rst | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

[dpdk-dev] [v4 1/3] examples/vm_power_manager: Make branch ratio threshold per core

2020-07-14 Thread Rory Sexton
This modification allows for the branch ratio threshold to be set per core rather than system wide. This gives greater flexibility to the branch ration monitoring allowing it to manage different workloads with different characteristics on the same system. Signed-off-by: Rory Sexton Reviewed-by

[dpdk-dev] [v4 2/3] examples/vm_power_manager: Allowing power managing of idle cores

2020-07-14 Thread Rory Sexton
This change is required to allow the branch ratio algorithm to power manage cores with no workload running on them. This is useful both when idle cores don't use C-states and for a number of hyperthreading scenarios. Signed-off-by: Rory Sexton Reviewed-by: David Hunt --- v4: no ch

[dpdk-dev] [PATCH 1/1] examples/vm_power_manager: fix resource leak

2020-07-29 Thread Rory Sexton
Fix memory leak where variable oob_enable can go out of scope leaking the storage it points to. Coverity issue: 337674 Fixes: 95f648ff9ee ("examples/vm_power: make branch ratio threshold per core") Signed-off-by: Rory Sexton --- examples/vm_power_manager/main.c | 1 + 1 file