Re: [PATCH net-next 3/9] net: hns3: Refactor the initialization of command queue

2017-11-01 Thread Yunsheng Lin
Hi, Lipeng On 2017/11/1 22:47, Lipeng wrote: > From: qumingguang > > There is no necessary to reallocate the descriptor and remap the descriptor > memory in reset process, But there is still some other action exit in both exit -> exist > reset process and initialization process. > > To reuse

[PATCH net-next 3/9] net: hns3: Refactor the initialization of command queue

2017-11-01 Thread Lipeng
From: qumingguang There is no necessary to reallocate the descriptor and remap the descriptor memory in reset process, But there is still some other action exit in both reset process and initialization process. To reuse the common interface of reset process and initialization process, This patch