commit | b204bc74840080136bf11643e998dc83afc2c11e | [log] [tgz] |
---|---|---|
author | Peng Li <lipeng321@huawei.com> | Thu Jun 28 12:12:19 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 29 11:06:34 2018 +0900 |
tree | c90df4dd6d3b7668db838025d06ca38c1c0f2a15 | |
parent | 16c0cd074f2fde76541395c6b269dd3a44d7425b [diff] |
net: hns3: remove hclge_get_vector_index from hclge_bind_ring_with_vector In hclge_unmap_ring_frm_vector, there are 2 steps: step 1: get vector index. step 2 unbind ring with vector. But it gets vector id again in step 2 interface. This patch removes hclge_get_vector_index from hclge_bind_ring_with_vector, and make the step the same with hns3 PF driver. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>