diff options
author | Sathya Perla <sathyap@serverengines.com> | 2009-03-19 23:56:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-19 23:56:20 -0700 |
commit | ea1dae11e0baca5d633207fe50fc3cd30a5d68ee (patch) | |
tree | e87606f10432ab66dd5d486939f49e1bce299f61 /drivers/net/benet/be.h | |
parent | 170ebf85160dd128e1c4206cc197cce7d1424705 (diff) |
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 63d593d5315..f327be57ca9 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; |