| 2222 | } |
| 2223 | |
| 2224 | static void |
| 2225 | cpfl_vport_map_uninit(struct cpfl_adapter_ext *adapter) |
| 2226 | { |
| 2227 | const void *key = NULL; |
| 2228 | struct cpfl_vport_map_info *info; |
| 2229 | uint32_t iter = 0; |
| 2230 | |
| 2231 | while (rte_hash_iterate(adapter->vport_map_hash, &key, (void **)&info, &iter) >= 0) |
| 2232 | rte_free(info); |
| 2233 | |
| 2234 | rte_hash_free(adapter->vport_map_hash); |
| 2235 | } |
| 2236 | |
| 2237 | static int |
| 2238 | cpfl_repr_allowlist_init(struct cpfl_adapter_ext *adapter) |
no test coverage detected