From: Padmanabh Ratnakar Date: Tue, 10 May 2011 05:13:57 +0000 (+0000) Subject: be2net: Fix to prevent flooding of TX queue X-Git-Tag: v3.0-rc1~377^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d586b823acc46c55c889ae1798de236c9d403da;p=pandora-kernel.git be2net: Fix to prevent flooding of TX queue Start/stop TX queue is controlled by TX queue "used" counter. It is incremented while WRBs are posted to TX queue and decremented when TX completions are received. This counter was getting decremented before HW is informed about processing of TX completions. As used counter is decremented, transmit function posts new WRBs and creates completion queue full scenario in HW. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller --- Reading git-diff-tree failed