Skip to content

Commit

Permalink
update variable names to match fmlib changes
Browse files Browse the repository at this point in the history
fmlib changes the variable names in commit:
http://sw-stash.freescale.net/projects/DPAAMODULES/repos/fmlib/commits/2a9113a83f6c24997e08227d85d2e76969cdbda1
comittedInfoRate -> committedInfoRate
comittedBurstSize -> committedBurstSize
peakOrAccessiveInfoRate -> peakOrExcessInfoRate
peakOrAccessiveBurstSize -> peakOrExcessBurstSize

Signed-off-by: Ting Liu <ting.liu@freescale.com>
  • Loading branch information
Ting Liu committed Oct 21, 2015
1 parent 44b1f42 commit a079d2c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions source/FMCCModelOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1767,10 +1767,10 @@ CFMCCModelOutput::output_fmc_policer( const CFMCModel& model, fmc_model_t* cmode
EMIT4STR( policer[, index, ].algSelection = , plc.algorithm );
EMIT4STR( policer[, index, ].colorMode = , plc.colorMode );

EMIT4( policer[, index, ].nonPassthroughAlgParams.comittedInfoRate =, plc.comittedInfoRate );
EMIT4( policer[, index, ].nonPassthroughAlgParams.comittedBurstSize =, plc.comittedBurstSize );
EMIT4( policer[, index, ].nonPassthroughAlgParams.peakOrAccessiveInfoRate =, plc.peakOrAccessiveInfoRate );
EMIT4( policer[, index, ].nonPassthroughAlgParams.peakOrAccessiveBurstSize =, plc.peakOrAccessiveBurstSize );
EMIT4( policer[, index, ].nonPassthroughAlgParams.committedInfoRate =, plc.committedInfoRate );
EMIT4( policer[, index, ].nonPassthroughAlgParams.committedBurstSize =, plc.committedBurstSize );
EMIT4( policer[, index, ].nonPassthroughAlgParams.peakOrExcessInfoRate =, plc.peakOrExcessInfoRate );
EMIT4( policer[, index, ].nonPassthroughAlgParams.peakOrExcessBurstSize =, plc.peakOrExcessBurstSize );
EMIT4STR( policer[, index, ].nonPassthroughAlgParams.rateMode =, plc.rateMode );
EMIT3( policer[, index, ].nonPassthroughAlgParams.byteModeParams.frameLengthSelection = e_FM_PCD_PLCR_L2_FRM_LEN );
EMIT3( policer[, index, ].nonPassthroughAlgParams.byteModeParams.rollBackFrameSelection = e_FM_PCD_PLCR_ROLLBACK_FULL_FRM_LEN );
Expand Down
8 changes: 4 additions & 4 deletions source/FMCPCDModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2553,10 +2553,10 @@ CFMCModel::createPolicer( const CTaskDef* pTaskDef, Port& port, const CPolicer&
policer.rateModeStr = "e_FM_PCD_PLCR_BYTE_MODE";
}

policer.comittedInfoRate = xmlPolicer.CIR;
policer.peakOrAccessiveInfoRate = xmlPolicer.EIR;
policer.comittedBurstSize = xmlPolicer.CBS;
policer.peakOrAccessiveBurstSize = xmlPolicer.EBS;
policer.committedInfoRate = xmlPolicer.CIR;
policer.peakOrExcessInfoRate = xmlPolicer.EIR;
policer.committedBurstSize = xmlPolicer.CBS;
policer.peakOrExcessBurstSize = xmlPolicer.EBS;

policer.dfltColor = getPlcrColor( xmlPolicer.dfltColor );
policer.dfltColorStr = getPlcrColorStr( xmlPolicer.dfltColor );
Expand Down
8 changes: 4 additions & 4 deletions source/FMCPCDModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@ class Policer : public FMBlock
e_FmPcdPlcrRateMode rateMode;
std::string rateModeStr;

unsigned int comittedInfoRate;
unsigned int comittedBurstSize;
unsigned int peakOrAccessiveInfoRate;
unsigned int peakOrAccessiveBurstSize;
unsigned int committedInfoRate;
unsigned int committedBurstSize;
unsigned int peakOrExcessInfoRate;
unsigned int peakOrExcessBurstSize;

e_FmPcdEngine nextEngineOnGreen;
std::string nextEngineOnGreenStr;
Expand Down

0 comments on commit a079d2c

Please sign in to comment.