sfc: Run event/IRQ self-test asynchronously when interface is brought up
Generate a test event on each event queue whenever the interface is brought up, then after 1 second check that we have either handled a test event or handled another IRQ for each event queue. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
@@ -48,5 +48,8 @@ extern void efx_loopback_rx_packet(struct efx_nic *efx,
|
||||
extern int efx_selftest(struct efx_nic *efx,
|
||||
struct efx_self_tests *tests,
|
||||
unsigned flags);
|
||||
extern void efx_selftest_async_start(struct efx_nic *efx);
|
||||
extern void efx_selftest_async_cancel(struct efx_nic *efx);
|
||||
extern void efx_selftest_async_work(struct work_struct *data);
|
||||
|
||||
#endif /* EFX_SELFTEST_H */
|
||||
|
Reference in New Issue
Block a user