* Destroy all implicit flows. * * @see rte_flow_flush() */
| 1808 | * @see rte_flow_flush() |
| 1809 | */ |
| 1810 | int |
| 1811 | tap_flow_implicit_flush(struct pmd_internals *pmd, struct rte_flow_error *error) |
| 1812 | { |
| 1813 | struct rte_flow *remote_flow; |
| 1814 | |
| 1815 | while (!LIST_EMPTY(&pmd->implicit_flows)) { |
| 1816 | remote_flow = LIST_FIRST(&pmd->implicit_flows); |
| 1817 | if (tap_flow_destroy_pmd(pmd, remote_flow, error) < 0) |
| 1818 | return -1; |
| 1819 | } |
| 1820 | return 0; |
| 1821 | } |
| 1822 | |
| 1823 | #define MAX_RSS_KEYS 256 |
| 1824 | #define KEY_IDX_OFFSET (3 * MAX_RSS_KEYS) |
no test coverage detected