]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/cxgb4vf: Use fl capacity to check if fl needs to be replenished
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 1 Mar 2016 11:49:32 +0000 (17:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:46:29 +0000 (14:46 -0500)
commitbf677b3f3a538675bd1017ad0bbad61c38e3834c
tree7835d99ed010169d150aa9647425725f55367441
parent623938cba73456b5654623ad2d7a5f3952fb6141
cxgb4/cxgb4vf: Use fl capacity to check if fl needs to be replenished

Use freelist capacity instead of freelist size while checking, if
freelist needs to be refilled

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