net/hns3: use new opcode for clearing hardware resource
authorHongbo Zheng <zhenghongbo3@huawei.com>
Thu, 14 Jan 2021 13:33:33 +0000 (21:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:32 +0000 (03:30 +0100)
commite5d179078b611035395317c80a9285c8a2de18a2
tree5e9feb763746c32b5ec5298f5b56e11511f16f6e
parentde63cf0d90a05edf911b2c7013d2651f5f6a92eb
net/hns3: use new opcode for clearing hardware resource

The original command opcode '0x700A' may cause firmware error,
so '0x700A' is deserted, now use '0x700B' to replace it.

Fixes: 223d9eceaeee ("net/hns3: clear residual hardware configurations on init")
Cc: stable@dpdk.org
Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_cmd.h