The hns3_dev_handle_mbx_msg() could be called under both PF and VF,
but the error messages show VF.
Fixes:
109e4dd1bd7a ("net/hns3: get link state change through mailbox")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
hns3_handle_promisc_info(hw, req->msg[1]);
break;
default:
- hns3_err(hw,
- "VF received unsupported(%u) mbx msg from PF",
+ hns3_err(hw, "received unsupported(%u) mbx msg",
req->msg[0]);
break;
}