diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-03-14 20:47:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-17 15:47:22 -0400 |
commit | e97dc3fcf98a32a5eda1e942a36044b95bc58099 (patch) | |
tree | 871bfc6c4394a8aaad8b28ac4243a8e417307d99 /include | |
parent | eb8143b469e5e11e05487648d27e176e907fec1f (diff) | |
download | lwn-e97dc3fcf98a32a5eda1e942a36044b95bc58099.tar.gz lwn-e97dc3fcf98a32a5eda1e942a36044b95bc58099.zip |
netpoll: Warn if more packets are processed than are budgeted
There is already a warning for this case in the normal netpoll path,
but put a copy here in case how netpoll calls the poll functions
causes a differenet result.
netpoll will shortly call the napi poll routine with a budget 0 to
avoid any rx packets being processed. As nothing does that today
we may encounter drivers that have problems so a netpoll specific
warning seems desirable.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions