| 367 | } |
| 368 | |
| 369 | static int |
| 370 | nfp_flow_table_delete(struct nfp_flow_priv *priv, |
| 371 | struct rte_flow *nfp_flow) |
| 372 | { |
| 373 | int ret; |
| 374 | |
| 375 | ret = rte_hash_del_key(priv->flow_table, &nfp_flow->hash_key); |
| 376 | if (ret < 0) { |
| 377 | PMD_DRV_LOG(ERR, "Delete from flow table failed."); |
| 378 | return ret; |
| 379 | } |
| 380 | |
| 381 | return 0; |
| 382 | } |
| 383 | |
| 384 | static struct rte_flow * |
| 385 | nfp_flow_table_search(struct nfp_flow_priv *priv, |
no test coverage detected