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

Function nfp_flow_table_delete

dpdk/drivers/net/nfp/nfp_flow.c:369–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static int
370nfp_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
384static struct rte_flow *
385nfp_flow_table_search(struct nfp_flow_priv *priv,

Callers 1

Calls 1

rte_hash_del_keyFunction · 0.85

Tested by

no test coverage detected