Defines
CPPI Low Level Driver Symbols Defined
CPPI

Defines

#define CPPI_MONOLITHIC_DESC_EPIB_SIZE   20
#define CPPI_HOST_DESC_EPIB_SIZE   16
#define CPPI_PARAM_NOT_SPECIFIED   -1
#define CPPI_SOK   0
#define CPPI_LLD_EBASE   (-128)
#define CPPI_CPDMA_NOT_INITIALIZED   CPPI_LLD_EBASE-1
#define CPPI_INVALID_PARAM   CPPI_LLD_EBASE-2
#define CPPI_CHANNEL_NOT_OPEN   CPPI_LLD_EBASE-3
#define CPPI_FLOW_NOT_OPEN   CPPI_LLD_EBASE-4
#define CPPI_TX_CHANNELS_NOT_CLOSED   CPPI_LLD_EBASE-5
#define CPPI_RX_CHANNELS_NOT_CLOSED   CPPI_LLD_EBASE-6
#define CPPI_RX_FLOWS_NOT_CLOSED   CPPI_LLD_EBASE-7
#define CPPI_QMSS_MEMREGION_NOT_INITIALIZED   CPPI_LLD_EBASE-8
#define CPPI_QUEUE_OPEN_ERROR   CPPI_LLD_EBASE-9
#define CPPI_EPIB_NOT_PRESENT   CPPI_LLD_EBASE-10
#define CPPI_PSDATA_NOT_PRESENT   CPPI_LLD_EBASE-11
#define CPPI_CPDMA_NOT_CLOSED   CPPI_LLD_EBASE-12
#define CPPI_RM_ERR_FREEING_RESOURCE   CPPI_LLD_EBASE-13
#define CPPI_RM_RESOURCE_NAME_MAX_CHARS   32
#define CPPI_MAX_CPDMA   15

Detailed Description

Introduction

Overview

References

  1. CPPI Functional Specification
  2. Queue Manager Subsystem Specification

Assumptions


Define Documentation

CPPI Rx/Tx channel not yet enabled

CPPI CPDMA instances are still open. All CPDMA instances should be closed before calling CPPI_exit

CPPI CPDMA not yet initialized

CPPI extended packet information block not present in descriptor

CPPI Rx flow not yet enabled

#define CPPI_HOST_DESC_EPIB_SIZE   16

Host descriptor extended packet information block size

CPPI invalid parameter

#define CPPI_LLD_EBASE   (-128)

CPPI Error Base

#define CPPI_MAX_CPDMA   15

CPPI maximum number of CPDMAs (cppi_device.c needs this many defined)

Monolithic descriptor extended packet information block size

#define CPPI_PARAM_NOT_SPECIFIED   -1

Used as input parameter when queue number is not known and not specified

CPPI protocol specific data not present in descriptor

Queue Manager subsystem memory region not enabled

Queue open error

CPPI RM free of resource failed

CPPI RM resource name maximum characters

CPPI Rx channels are still open. All Rx channels should be closed before calling CPPI_close

CPPI Rx flows are still open. All Rx flows should be closed before calling CPPI_close

#define CPPI_SOK   0

CPPI Low level Driver return and Error Codes CPPI successful return code

CPPI Tx channels are still open. All Tx channels should be closed before calling CPPI_close


Copyright 2014, Texas Instruments Incorporated