qlcnic: add loopback diagnostic test
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Mon, 1 Feb 2010 05:25:00 +0000 (05:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Feb 2010 23:55:46 +0000 (15:55 -0800)
Loopback test (offline) added in ethtool self test.
o Set device in loopback mode
o Send packets
o Process receive packets in qlcnic_process_rcv_ring_diag()
o Compare packets
o Reset device in normal mode.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found