| 1077 | } |
| 1078 | |
| 1079 | static void |
| 1080 | cpfl_flow_free(struct cpfl_vport *vport) |
| 1081 | { |
| 1082 | struct rte_flow *p_flow; |
| 1083 | |
| 1084 | while ((p_flow = TAILQ_FIRST(&vport->itf.flow_list))) { |
| 1085 | TAILQ_REMOVE(&vport->itf.flow_list, p_flow, next); |
| 1086 | if (p_flow->engine->free) |
| 1087 | p_flow->engine->free(p_flow); |
| 1088 | rte_free(p_flow); |
| 1089 | } |
| 1090 | } |
| 1091 | |
| 1092 | static int |
| 1093 | cpfl_p2p_queue_grps_del(struct idpf_vport *vport) |
no test coverage detected