Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Macros | Functions
openapi_cos.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Macros

#define OPEN_COS_ALL_INTERFACES   0
 

Functions

open_error_t openapiCosQueueIntfShapingPercentageIncrementGet (openapiClientHandle_t *client_handle, uint32_t *increment)
 Get the minimum increment allowed when percentage of link speed is used to express rates. More...
 
open_error_t openapiCosQueueIntfShapingRateGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *rate)
 Get the COS egress shaping rate for an interface. More...
 
open_error_t openapiCosQueueIntfShapingRateSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t rate)
 Set the COS egress shaping rate for an interface. More...
 
open_error_t openapiCosQueueIntfShapingRateUnitsGet (openapiClientHandle_t *client_handle, OPEN_RATE_UNIT_t *rateUnit)
 Get the units used to express rates. More...
 
open_error_t openapiCosQueueWredDropParamsReset (openapiClientHandle_t *client_handle, uint32_t intfNum, uint8_t queueNum)
 Reset WRED and ECN drop configuration on a given queue for a given or all interfaces. More...
 
open_error_t openapiCosQueueWredDropParamsSet (openapiClientHandle_t *client_handle, uint32_t intfNum, uint8_t queueNum, uint8_t dropPrecedence, uint8_t ecnEnabled, int16_t wredMinThreshold, int16_t wredMaxThreshold, int16_t wredDropProbability)
 Set WRED and ECN drop configuration on a given queue for a given or all interfaces. More...
 
open_error_t openapiCosQueueWredSet (openapiClientHandle_t *client_handle, uint32_t intfNum, uint8_t queueNum, uint8_t enableWred)
 Enable or disable WRED for a given queue and for a given or all interfaces. More...
 
open_error_t openapiCosQueueWredStatsClear (openapiClientHandle_t *client_handle, uint32_t intfNum, uint8_t queueNum)
 Clear WRED and ECN counters for a given queue and for a given or all interfaces. More...
 
open_error_t openapiCosQueueWredStatsGet (openapiClientHandle_t *client_handle, uint32_t intfNum, uint8_t queueNum, uint64_t *dropCount, uint64_t *ecnMarked)
 Get WRED drop and ECN marked counters for a given queue and for a given or all interfaces. More...