Currently ehea ndo_get_stats can sleep in two places, in a hcall and in a GFP_KERNEL alloc, which is not correct. This patch creates a delayed workqueue that grabs the information each 1 sec from the hardware, and place it into the device structure, so that, .ndo_get_stats quickly returns the device structure statistics block. Signed-off-by: Breno Leitao <brenohl@br.ibm.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| ehea.h | ||
| ehea_ethtool.c | ||
| ehea_hw.h | ||
| ehea_main.c | ||
| ehea_phyp.c | ||
| ehea_phyp.h | ||
| ehea_qmr.c | ||
| ehea_qmr.h | ||
| Makefile | ||