| 351 | } |
| 352 | |
| 353 | static void |
| 354 | pfe_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 | |
| 365 | static int |
| 366 | pfe_eth_stop(struct rte_eth_dev *dev/*, int wake*/) |
no test coverage detected