]> git.baikalelectronics.ru Git - kernel.git/commit
enic: workaround A0 erratum
authorScott Feldman <scofeldm@cisco.com>
Thu, 3 Sep 2009 17:01:58 +0000 (17:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:19:10 +0000 (20:19 -0700)
commitc52098281e3a755c11ed912a3c11fad4fd5d8fb4
tree5edf87f3240b4ad5c999e025c47d379f09f91296
parent933d4f9da017044f01a60fe4b70139bd89ba2e0d
enic: workaround A0 erratum

A0 revision ASIC has an erratum on the RQ desc cache on chip where the
cache can become corrupted causing pkt buf writes to wrong locations.  The s/w
workaround is to post a dummy RQ desc in the ring every 32 descs, causing a
flush of the cache.  A0 parts are not production, but there are enough of
these parts in the wild in test setups to warrant including workaround.  A1
revision ASIC parts fix erratum.

Signed-off-by: Scott Feldman <scofeldm@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic_main.c
drivers/net/enic/vnic_dev.c
drivers/net/enic/vnic_dev.h
drivers/net/enic/vnic_rq.h