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)
commitcdaff1854f32ac9ddb4733530f617d32188665ed
tree5d1e7b5bcf656d0071840431f1f3cbc94b828e21
parent7eb9855d68faabe0004ed18c2af1f0974d3c2c63
qlcnic: add loopback diagnostic test

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>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_hw.c
drivers/net/qlcnic/qlcnic_init.c
drivers/net/qlcnic/qlcnic_main.c