Re: [PATCH 1/2] forcedeth: add recv cache make nic work steadily

2019-07-09 Thread Yanjun Zhu
On 2019/7/9 4:52, Jakub Kicinski wrote: On Fri, 5 Jul 2019 02:19:27 -0400, Zhu Yanjun wrote: A recv cache is added. The size of recv cache is 1000Mb / skb_length. When the system memory is not enough, this recv cache can make nic work steadily. When nic is up, this recv cache and work queue a

Re: [PATCH 1/2] forcedeth: add recv cache make nic work steadily

2019-07-08 Thread Jakub Kicinski
On Fri, 5 Jul 2019 02:19:27 -0400, Zhu Yanjun wrote: > A recv cache is added. The size of recv cache is 1000Mb / skb_length. > When the system memory is not enough, this recv cache can make nic work > steadily. > When nic is up, this recv cache and work queue are created. When nic > is down, this

Re: [PATCH 1/2] forcedeth: add recv cache make nic work steadily

2019-07-05 Thread Zhu Yanjun
Add Nan He is interested this commit. 在 2019/7/5 14:19, Zhu Yanjun 写道: A recv cache is added. The size of recv cache is 1000Mb / skb_length. When the system memory is not enough, this recv cache can make nic work steadily. When nic is up, this recv cache and work queue are created. When nic is

[PATCH 1/2] forcedeth: add recv cache make nic work steadily

2019-07-04 Thread Zhu Yanjun
A recv cache is added. The size of recv cache is 1000Mb / skb_length. When the system memory is not enough, this recv cache can make nic work steadily. When nic is up, this recv cache and work queue are created. When nic is down, this recv cache will be destroyed and delayed workqueue is canceled.