net: hns3: add trace event in hclge_gen_resp_to_vf()
Add a trace to get the info of pf responds to the mailbox message of vf. Signed-off-by: Yufeng Mo <moyufeng@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
49b99da2c9
Коммит
0fc36e37d5
|
@ -66,6 +66,8 @@ static int hclge_gen_resp_to_vf(struct hclge_vport *vport,
|
|||
memcpy(resp_pf_to_vf->msg.resp_data, resp_msg->data,
|
||||
resp_msg->len);
|
||||
|
||||
trace_hclge_pf_mbx_send(hdev, resp_pf_to_vf);
|
||||
|
||||
status = hclge_cmd_send(&hdev->hw, &desc, 1);
|
||||
if (status)
|
||||
dev_err(&hdev->pdev->dev,
|
||||
|
|
Загрузка…
Ссылка в новой задаче