Re: [PATCHv3 1/1] forcedeth: use per cpu to collect xmit/recv statistics

2019-09-06 Thread David Miller
From: Zhu Yanjun Date: Thu, 5 Sep 2019 05:15:42 -0400 > When testing with a background iperf pushing 1Gbit/sec traffic and running > both ifconfig and netstat to collect statistics, some deadlocks occurred. > > Ifconfig and netstat will call nv_get_stats64 to get software xmit/recv > statistics

[PATCHv3 1/1] forcedeth: use per cpu to collect xmit/recv statistics

2019-09-05 Thread Zhu Yanjun
When testing with a background iperf pushing 1Gbit/sec traffic and running both ifconfig and netstat to collect statistics, some deadlocks occurred. Ifconfig and netstat will call nv_get_stats64 to get software xmit/recv statistics. In the commit f5d827aece36 ("forcedeth: implement ndo_get_stats64