| 341 | } |
| 342 | |
| 343 | static inline int |
| 344 | fs_rxtx_clean(struct sub_device *sdev) |
| 345 | { |
| 346 | uint16_t i; |
| 347 | |
| 348 | for (i = 0; i < ETH(sdev)->data->nb_rx_queues; i++) |
| 349 | if (FS_ATOMIC_RX(sdev, i)) |
| 350 | return 0; |
| 351 | for (i = 0; i < ETH(sdev)->data->nb_tx_queues; i++) |
| 352 | if (FS_ATOMIC_TX(sdev, i)) |
| 353 | return 0; |
| 354 | return 1; |
| 355 | } |
| 356 | |
| 357 | void |
| 358 | failsafe_eth_dev_unregister_callbacks(struct sub_device *sdev) |
no outgoing calls
no test coverage detected