summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2010-03-28 22:07:34 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-29 16:57:20 -0700
commit18dec74c16abaa92d663dfef64ee6503e085be89 (patch)
tree88c03fb3ec663cb4b1c2d2ed4ae7d6ac180ae32b /include
parent7905e357ebe67a26d9dc8caa1a0b8346431b5f0d (diff)
downloadlinux-3.10-18dec74c16abaa92d663dfef64ee6503e085be89.tar.gz
linux-3.10-18dec74c16abaa92d663dfef64ee6503e085be89.tar.bz2
linux-3.10-18dec74c16abaa92d663dfef64ee6503e085be89.zip
vxge: Fix a receive stall due to driver being out of synch with chip.
- Fix a receive stall due to driver being out of synch with chip. In a corner case scenario the adapter's ring controller may return a RxD with transfer code of 0xC, while the host ownership bit is still set to the adapter. The driver needs to assume that this case where (host_ownership == 1 or adapter) and (transfer_code == 0xC) is valid, that is, this RxD has been returned by the receive ring controller but no frame data is associated with the rxd. - Restore the transfer code field of each newly replenished RxD to 0x0. - Code cleanup. Removed usage of magic numbers. Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions