commit | 7df7dad633e2c6d43ee9b39c267ee0add9798384 | [log] [tgz] |
---|---|---|
author | Lipeng <lipeng321@huawei.com> | Thu Nov 02 20:45:15 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 02 21:28:35 2017 +0900 |
tree | cbc14b604997c671c7d7efb6ba4345d827e78235 | |
parent | 9691cea91c9d35f09d6b31a5e8dbfc631d40903a [diff] |
net: hns3: Refactor the mapping of tqp to vport This patch refactor the mapping of tqp to vport, making the maping function can be used both in the reset process and initialization process. 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>