summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLipeng <lipeng321@huawei.com>2017-11-02 15:45:17 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-02 15:28:35 +0300
commit3efb960f056d855d4b1f07095df1f313c05765f4 (patch)
tree07926648c64bc164cf430c6788f266acbd01656e /tools/perf/scripts/python
parentcf9cca2dd903b78d04ea7ad4cde0231988944d0f (diff)
downloadlinux-3efb960f056d855d4b1f07095df1f313c05765f4.tar.xz
net: hns3: Refactor the initialization of command queue
There is no necessary to reallocate the descriptor and remap the descriptor memory in reset process, But there is still some other action exist in both reset process and initialization process. To reuse the common interface in reset process and initialization process, This patch moves out the descriptor allocate and memory maping from interface cmdq_init. Signed-off-by: qumingguang <qumingguang@huawei.com> Signed-off-by: Lipeng <lipeng321@huawei.com> Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions