summaryrefslogtreecommitdiff
path: root/firmware/keyspan/usa28xb.HEX
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2012-12-17 19:38:51 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-12-19 00:18:39 (GMT)
commitd23e946cb67e5011226bcbd1597a632ac7a48c35 (patch)
tree6c2089b3af7d3d142fb83137b5490628e38a1fd0 /firmware/keyspan/usa28xb.HEX
parenta323d9bf835e27d5e72eae86b5a41747d98bd9d2 (diff)
downloadlinux-fsl-qoriq-d23e946cb67e5011226bcbd1597a632ac7a48c35.tar.xz
be2net: fix wrong frag_idx reported by RX CQ
The RX CQ can report completions with invalid frag_idx when the RXQ that was *previously* using it, was not cleaned up properly. This hits a BUG_ON() in be2net. When completion coalescing is enabled on a CQ, an explicit CQ-notify (with rearm) is needed for each compl, to flush partially coalesced CQ entries that are pending DMA. In be_close(), this fix now notifies CQ for each compl, waits explicitly for the flush compl to arrive and complains if it doesn't arrive. Also renaming be_crit_error() to be_hw_error() as it's the more appropriate name and to convey that we don't wait for the flush compl only when a HW error has occurred. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/keyspan/usa28xb.HEX')
0 files changed, 0 insertions, 0 deletions