[PATCH net-next 0/2] Don't receive packets when the napi budget == 0
From: Eric W. Biederman <hidden>
Date: 2014-03-11 21:30:18
From: Eric W. Biederman <hidden>
Date: 2014-03-11 21:30:18
To the best of understanding processing any received packets when the
napi budget == 0 is broken driver behavior. At the same time I don't
think we have ever cared before so there are a handful of drivers that
need fixes.
I care now as I will shortly be using htis in netpoll to get the
tx queue processing without the rx queue processing.
Drivers that need fixes are few and far between, and so far I have only
found two of them. More similar patches later if I find more drivers
that need fixes.
Eric W. Biederman (2):
bnx2: Don't receive packets when the napi budget == 0
8139cp: Don't receive packets when the napi budget == 0
drivers/net/ethernet/broadcom/bnx2.c | 3 +++
drivers/net/ethernet/realtek/8139cp.c | 5 +----
2 files changed, 4 insertions(+), 4 deletions(-)
Eric