MCPcopy Create free account
hub / github.com/F-Stack/f-stack / has_meter

Function has_meter

dpdk/app/test-flow-perf/main.c:1081–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1079}
1080
1081static inline int
1082has_meter(void)
1083{
1084 int i;
1085
1086 for (i = 0; i < MAX_ACTIONS_NUM; i++) {
1087 if (flow_actions[i] == 0)
1088 break;
1089 if (flow_actions[i]
1090 & FLOW_ACTION_MASK(RTE_FLOW_ACTION_TYPE_METER))
1091 return 1;
1092 }
1093 return 0;
1094}
1095
1096static void
1097create_meter_policy(void)

Callers 3

flows_handlerFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected