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

Function fs_rxtx_clean

dpdk/drivers/net/failsafe/failsafe_ether.c:343–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343static inline int
344fs_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
357void
358failsafe_eth_dev_unregister_callbacks(struct sub_device *sdev)

Callers 1

failsafe_dev_removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected