]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4vf: FL Starvation Threshold needs to be larger than the SGE's Egress Congestion...
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 7 Nov 2014 11:36:31 +0000 (17:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Nov 2014 19:15:03 +0000 (14:15 -0500)
commitf25b91e512ae8c18b04756e255d0fb69b68c1539
tree956e58dcfd859b2aa5f3a9e6f152b44ba5f7e2f8
parente5200122f6fb470c24b71db25ef94dc692804794
cxgb4vf: FL Starvation Threshold needs to be larger than the SGE's Egress Congestion Threshold

Free List Starvation Threshold needs to be larger than the SGE's Egress
Congestion Threshold or we'll end up in a mutual stall where the driver waits
for Ingress Packets to drive replacing Free List Pointers and the SGE waits for
Free List Pointers before pushing Ingress Packets to the host.

Based on original work by Casey Leedom <leedom@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h
drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c