]> git.baikalelectronics.ru Git - kernel.git/commit
bna: TxRx and datapath fix
authorRasesh Mody <rmody@brocade.com>
Thu, 23 Dec 2010 21:45:01 +0000 (21:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:15:59 +0000 (19:15 -0800)
commite1cc6779a7a3dd852032ee04ad0718dced0731e8
tree758dca8183d4d5643dd23547bc470b38a15a8579
parentbe0d960edfc3b1f22e7cfb59988842c88e3e80ad
bna: TxRx and datapath fix

Change Details:
- Check HW ready condition before accessing h/w register in data-path
- Postpone clean-up of data buffers to the data-path restart path and
wait in the cleanup routines for in-flight DMA to complete
- Separate out Tx completion processing from Rx poll routine

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bnad.c
drivers/net/bna/bnad.h