Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • drivers
  • net
  • sfc
  • selftest.c
Find file Blame History Permalink
  • Ben Hutchings's avatar
    sfc: Speed up loopback self-test · b9aafb0e
    Ben Hutchings authored Sep 01, 2008
    
    
    Add efx_poll_loopback() function to test for successful completion of test.
    Change efx_test_loopback() to end the test after 1 ms if
    efx_poll_loopback() indicates success, and otherwise to wait for 100 ms
    as before.
    
    While we're here, rename efx_{rx,tx}_loopback() to
    efx_{begin,end}_loopback() which more accurately reflect their
    purpose.
    
    Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    b9aafb0e