Commit 4b06843d authored by Firas Jahjah's avatar Firas Jahjah Committed by Doug Ledford

RDMA/efa: Print address on AH creation failure

For debugging purposes, print destination address if failed to create AH.
Signed-off-by: default avatarFiras Jahjah <firasj@amazon.com>
Reviewed-by: default avatarYossi Leybovich <sleybo@amazon.com>
Signed-off-by: default avatarGal Pressman <galpress@amazon.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b41f7572
...@@ -300,7 +300,8 @@ int efa_com_create_ah(struct efa_com_dev *edev, ...@@ -300,7 +300,8 @@ int efa_com_create_ah(struct efa_com_dev *edev,
(struct efa_admin_acq_entry *)&cmd_completion, (struct efa_admin_acq_entry *)&cmd_completion,
sizeof(cmd_completion)); sizeof(cmd_completion));
if (err) { if (err) {
ibdev_err(edev->efa_dev, "Failed to create ah [%d]\n", err); ibdev_err(edev->efa_dev, "Failed to create ah for %pI6 [%d]\n",
ah_cmd.dest_addr, err);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment