mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +00:00
55ca6bcd73
Currently the amd-xgbe driver increments the packets processed counter each time a descriptor is processed. Since a packet can be represented by more than one descriptor incrementing the counter in this way is not appropriate. Also, since multiple descriptors cause the budget check to be short circuited, sometimes the returned value from the poll function would be larger than the budget value resulting in a WARN_ONCE being triggered. Update the polling logic to properly account for the number of packets processed and exit when the budget value is reached. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
xgbe | ||
7990.c | ||
7990.h | ||
a2065.c | ||
a2065.h | ||
am79c961a.c | ||
am79c961a.h | ||
amd8111e.c | ||
amd8111e.h | ||
ariadne.c | ||
ariadne.h | ||
atarilance.c | ||
au1000_eth.c | ||
au1000_eth.h | ||
declance.c | ||
hplance.c | ||
hplance.h | ||
Kconfig | ||
lance.c | ||
Makefile | ||
mvme147.c | ||
ni65.c | ||
ni65.h | ||
nmclan_cs.c | ||
pcnet32.c | ||
sun3lance.c | ||
sunlance.c |