diff options
author | Sathya Perla <sathyap@serverengines.com> | 2009-03-20 07:56:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-20 07:56:20 +0100 |
commit | ea1dae11e0baca5d633207fe50fc3cd30a5d68ee (patch) | |
tree | e87606f10432ab66dd5d486939f49e1bce299f61 /drivers/net/benet/be.h | |
parent | bas_gigaset: correctly allocate USB interrupt transfer buffer (diff) | |
download | linux-ea1dae11e0baca5d633207fe50fc3cd30a5d68ee.tar.xz linux-ea1dae11e0baca5d633207fe50fc3cd30a5d68ee.zip |
be2net: replenish when posting to rx-queue is starved in out of mem conditions
This is a patch to replenish the rx-queue when it is in a starved
state (due to out-of-mem conditions)
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 63d593d53153..f327be57ca96 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -194,6 +194,7 @@ struct be_adapter { struct be_eq_obj rx_eq; struct be_rx_obj rx_obj; u32 big_page_size; /* Compounded page size shared by rx wrbs */ + bool rx_post_starved; /* Zero rx frags have been posted to BE */ struct vlan_group *vlan_grp; u16 num_vlans; |