aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/traffic_mngr.h
AgeCommit message (Collapse)Author
2017-06-16api: tm: add additional doxygen documentationBill Fischofer
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2952 by adding additional field documentation to avoid problems with doxygen 1.8.13 and higher. Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2017-01-12linux-generic: moving the visibility files one step upChristophe Milard
include/odp/api/visibility_begin.h and include/odp/api/visibility_end.h move one step up (in include/odp/) and can therefore be used on other interfaces. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-07-27api: tm: resolve todoBarry Spinney
This todo just asks a question which is no longer important. Signed-off-by: Barry Spinney <spinney@mellanox.com> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-07-27api: traffic_mngr: Add pktio interface to odp_tm_egress_t structBalasubramanian Manoharan
Replaces pktio interface as input to TM system instead of odp_pktout_queue_t.This creates an 1 to 1 mapping between a TM system and pktio interface. Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-05-03api: tm: changes to split TOS marking into two separate callsBarry Spinney
This patch adds a new marking_colors_supported and marking_colors_needed arrays. Also splits the TOS marking function - which previously could specify ECN or DSCP marking into two separate calls. Also improved the documentation. Also this patch updates the linux-generic odp_traffic_mngr.c implementation to this latest API. In addition a few bugs were fixed in the marking implementations. Signed-off-by: Barry Spinney <spinney@mellanox.com> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-28api: doc: fix typosMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-25api: tm: define and implement revised api definitionsBarry Spinney
Normally we would split this into four separate parts, but because they are interdependent, they need to be in the same patch for bisectability. API changes: 1) Add VLAN and IP TOS marking functions. 2) Added the requirements and capabilities architecture. Added separate record types for describing ODP application requirements vs TM implementation capabilities. This also involved adding per level requirements and capabilities. 3) Egress parameters are now separate from the requirements 4) Doxygen formatting cleanup. 5) Added _destroy functions for all of the profiles. 6) Added odp_tm_node_disconnect and odp_tm_queue_disconnect fcns. 7) Added odp_tm_node_info, odp_tm_queue_info and odp_tm_node_fanin_info functions and associated record types. 8) Removed the odp_tm_periodic_update fcn. linux-generic implementation changes: Only changes were implementing the new and revised API changes. validation test changes: 1) Replaced the printf with test_debug.h LOG_ERR. 2) Added a lot more LOG_ERR calls for debugging - especially for errors in test termination code. 3) Changed create_tm_system to use the new capabilities and requirements API architecture. 4) Added lots of code to destroy tm_queues, tm_nodes and profiles. example changes: 1) Changed create_tm_system to use the new capabilities and requirements API architecture. 2) Renamed Kbps and Mbps to KBPS MBPS. Signed-off-by: Barry Spinney <spinney@mellanox.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-20api: make only the API visibleAnders Roxell
Internal functions should not be part of symbols that are visible outside the library. Using -fvisibility=hidden hides all internal functions from the public ABI. Suggested-by: Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-15Revert "api: make only the API visible"Maxim Uvarov
Patch is not ready to be included. This reverts commit f562a886695fc8eb3832f4e7a13d4bff80db529a. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-15api: make only the API visibleAnders Roxell
Internal functions should not be part of symbols that are visible outside the library. Using -fvisibility=hidden hides all internal functions from the public ABI. Suggested-by: Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-02-26api: tm: replace pktio with pktout_queue in odp_tm_egress_structBarry Spinney
Signed-off-by: Barry Spinney <spinney@ezchip.com> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-02-11api and linux-generic: make room for new apiChristophe Milard
This is about making the current structure clearer so that other interfaces can be added to ODP: The ODP API specification (platform agnostic) is moved from include/odp/api to include/odp/api/spec. The ODP API platform definition (for linux generic) is moved from platform/linux-generic/include/odp to platform/linux-generic/include/odp/api Include statements are adjusted accordinaly. This patch has been done by a script which is given with the cover-letter of this patch series. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>