net/hns3: modify return value of enable MSI-X
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Sat, 21 Dec 2019 10:32:47 +0000 (18:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit28f2e6357662e14643ad156e14d0e35b1d4cea7c
tree6f05a6cb82669a5fe50e3cee0999461acf96d7a7
parent109e4dd1bd7a5f7e0400be974f2b9e18d10cb3a6
net/hns3: modify return value of enable MSI-X

This patch replaces the return value "-1" with "-ENXIO".

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev_vf.c