diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2014-02-27 16:08:35 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-03-07 17:37:08 (GMT) |
commit | 23ecb71068ce6970ee5c400d66da5b95c68fc83b (patch) | |
tree | 147634c38b9456fc3cc702d8442b1c62cd78d695 /drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h | |
parent | 3e85be4841806abc76ad5dba74c0454202a0c3ec (diff) | |
download | linux-fsl-qoriq-23ecb71068ce6970ee5c400d66da5b95c68fc83b.tar.xz |
fmd: fix flow id classification to work after PCD re-init"
For KG & Policer:
Renamed pointedOwners --> RequiredActionFlag
changed from counter to flag
added flag clear at delete
Change-Id: I55dd4125202d59e7659a3ffb8e39f56eaac7cd62
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/9261
Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Tested-by: Jose Rivera <German.Rivera@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/9449
Diffstat (limited to 'drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h b/drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h index d693a51..c9c963a 100644 --- a/drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h +++ b/drivers/net/ethernet/freescale/fman/Peripherals/FM/inc/fm_common.h @@ -670,8 +670,6 @@ bool FmPcdLockTryLockAll(t_Handle h_FmPcd); void FmPcdLockUnlockAll(t_Handle h_FmPcd); t_Error FmPcdHcSync(t_Handle h_FmPcd); t_Handle FmGetPcd(t_Handle h_Fm); - - /***********************************************************************/ /* Common API for FM-PCD KG module */ /***********************************************************************/ @@ -699,7 +697,7 @@ bool FmPcdKgIsSchemeValidSw(t_Handle h_Scheme); t_Error FmPcdKgBindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_SchemeBind); t_Error FmPcdKgUnbindPortToSchemes(t_Handle h_FmPcd , t_FmPcdKgInterModuleBindPortToSchemes *p_SchemeBind); uint32_t FmPcdKgGetRequiredAction(t_Handle h_FmPcd, uint8_t schemeId); -uint32_t FmPcdKgGetPointedOwners(t_Handle h_FmPcd, uint8_t schemeId); +uint32_t FmPcdKgGetRequiredActionFlag(t_Handle h_FmPcd, uint8_t schemeId); e_FmPcdDoneAction FmPcdKgGetDoneAction(t_Handle h_FmPcd, uint8_t schemeId); e_FmPcdEngine FmPcdKgGetNextEngine(t_Handle h_FmPcd, uint8_t schemeId); void FmPcdKgUpdateRequiredAction(t_Handle h_Scheme, uint32_t requiredAction); @@ -737,8 +735,7 @@ void FmPcdPlcrInvalidateProfileSw(t_Handle h_FmPcd, uint16_t absoluteProf void FmPcdPlcrValidateProfileSw(t_Handle h_FmPcd, uint16_t absoluteProfileId); bool FmPcdPlcrHwProfileIsValid(uint32_t profileModeReg); uint32_t FmPcdPlcrGetRequiredAction(t_Handle h_FmPcd, uint16_t absoluteProfileId); -uint32_t FmPcdPlcrGetPointedOwners(t_Handle h_FmPcd, uint16_t absoluteProfileId); -void FmPcdPlcrUpatePointedOwner(t_Handle h_FmPcd, uint16_t absoluteProfileId, bool add); +uint32_t FmPcdPlcrGetRequiredActionFlag(t_Handle h_FmPcd, uint16_t absoluteProfileId); uint32_t FmPcdPlcrBuildNiaProfileReg(bool green, bool yellow, bool red); void FmPcdPlcrUpdateRequiredAction(t_Handle h_FmPcd, uint16_t absoluteProfileId, uint32_t requiredAction); t_Error FmPcdPlcrCcGetSetParams(t_Handle h_FmPcd, uint16_t profileIndx,uint32_t requiredAction); @@ -765,7 +762,6 @@ t_Error FmPcdCcUnbindTree(t_Handle h_FmPcd, t_Handle h_CcTree); /* Common API for FM-PCD Manip module */ /***********************************************************************/ t_Error FmPcdManipUpdate(t_Handle h_FmPcd, t_Handle h_PcdParams, t_Handle h_FmPort, t_Handle h_Manip, t_Handle h_Ad, bool validate, int level, t_Handle h_FmTree, bool modify); -uint32_t FmPcdManipGetRequiredAction (t_Handle h_Manip); /***********************************************************************/ /* Common API for FM-Port module */ |