commit | 0d3e6631de9a56a56e06435f3a2c6196014a059d | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Fri Mar 09 10:37:01 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 09 11:33:14 2018 -0500 |
tree | 3acc5548000f5d3859c994096cb31fa133e68cdd | |
parent | ec77789032c0d5ab77c32abd762f5a8e65198e1b [diff] |
net: hns3: refactor the get/put_vector function There is a get_vector function, which allocate the vectors for a client, but there is not a put_vector to free the vector. This patch introduces the put_vector function in order to fix the coalesce configuration lost problem during reset process. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>