net/hns3: fix mailbox error message
authorChengwen Feng <fengchengwen@huawei.com>
Thu, 22 Apr 2021 01:55:49 +0000 (09:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 26 Apr 2021 12:50:33 +0000 (14:50 +0200)
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>
drivers/net/hns3/hns3_mbx.c

index eb202dd..3b35c02 100644 (file)
@@ -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;
                }