]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sfc: Don't receive packets when the napi budget == 0
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 01:11:22 +0000 (18:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Mar 2014 02:52:48 +0000 (22:52 -0400)
commit75363a4676cdb046242d06dca6e8a9c0a20d6c4a
treef8ae35945d4100401117f32d27d776c16c0cd086
parentc7b82cc8d95e69afe2dc1038fb73abc048a3bca5
sfc: Don't receive packets when the napi budget == 0

Processing any incoming packets with a with a napi budget of 0
is incorrect driver behavior.

This matters as netpoll will shortly call drivers with a budget of 0
to avoid receive packet processing happening in hard irq context.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/farch.c