]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: fix internal loopback test
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Mon, 4 Oct 2010 04:20:09 +0000 (04:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 05:46:48 +0000 (22:46 -0700)
commit417ceb8c203dfe42600beaf664f7772daab9dc2a
tree10e544e30a4dfe906282b8ddfaf7a9f379bd9535
parent17bf4c8b38ca4018b4781bdab42470149cd313ee
qlcnic: fix internal loopback test

o Loop 10 times with delay of 1 ms to rcv packet.
o Print garbage packet.
o Try send/receive MAX(16) packet, instead of exit from test,
  if a packet is not received.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ethtool.c
drivers/net/qlcnic/qlcnic_init.c