From: Chengwen Feng Date: Thu, 22 Apr 2021 01:55:49 +0000 (+0800) Subject: net/hns3: fix mailbox error message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=871aa63542cedab7b920f2dd54fc3dc8ef82f3ca;p=dpdk.git net/hns3: fix mailbox error message 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 Signed-off-by: Min Hu (Connor) --- diff --git a/drivers/net/hns3/hns3_mbx.c b/drivers/net/hns3/hns3_mbx.c index eb202dd60e..3b35c0277f 100644 --- a/drivers/net/hns3/hns3_mbx.c +++ b/drivers/net/hns3/hns3_mbx.c @@ -528,8 +528,7 @@ hns3_dev_handle_mbx_msg(struct hns3_hw *hw) 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; }