commit | 375dd5e432128ee071227e3ab0071ca11d01ac8c | [log] [tgz] |
---|---|---|
author | Jian Shen <shenjian15@huawei.com> | Fri Aug 03 10:56:31 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 03 09:53:24 2018 -0700 |
tree | 07f508e55176a24b1c4411d97db0e430d3850d67 | |
parent | 07acf909ee33983fe22334446dd5c2adf0fdca26 [diff] |
net: hns3: Refine the MSIX allocation for PF The offset of msix number for roce is different between different revision id. We should get it from firmware, instead of a fix value. This patch refines the msix allocation, make it compatible. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>