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

Function pfe_eth_close_cdev

dpdk/drivers/net/pfe/pfe_ethdev.c:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353static void
354pfe_eth_close_cdev(struct pfe_eth_priv_s *priv)
355{
356 if (priv == NULL)
357 return;
358
359 if (priv->link_fd != PFE_CDEV_INVALID_FD) {
360 close(priv->link_fd);
361 priv->link_fd = PFE_CDEV_INVALID_FD;
362 }
363}
364
365static int
366pfe_eth_stop(struct rte_eth_dev *dev/*, int wake*/)

Callers 1

pfe_eth_closeFunction · 0.85

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected