summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_rq.h
Commit message (Collapse)AuthorAgeFilesLines
* enic: organize device initialization/deinit into separate functionsScott Feldman2009-09-031-7/+5
| | | | | | | | | To unclutter probe() a little bit, put all device initialization code in one spot and device deinit code in another spot. Also remove unused rq->buf_index variable/func. Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* enic: workaround A0 erratumScott Feldman2009-09-031-1/+6
| | | | | | | | | | | | 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>
* enic: move wmb closer to where needed: before writing posted_index to hwScott Feldman2008-11-211-1/+8
| | | | | Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* enic: add Cisco 10G Ethernet NIC driverScott Feldman2008-09-181-0/+204
Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
OpenPOWER on IntegriCloud