]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_cmd.c
net/hns3: add RSS hash offload to capabilities
[dpdk.git] / drivers / net / hns3 / hns3_cmd.c
index c85168b31930a0fed9648b60dde6af266e2fbbd6..c7993634e35c271d1bac90fe6f00a8eff825ecba 100644 (file)
@@ -529,7 +529,7 @@ hns3_cmd_init(struct hns3_hw *hw)
        return 0;
 
 err_cmd_init:
-       hns3_cmd_uninit(hw);
+       rte_atomic16_set(&hw->reset.disable_cmd, 1);
        return ret;
 }