vhost: improve vDPA registration failure log
This patch adds name of the device failing vDPA registration. Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
parent
2d1c05c9ac
commit
843d8e3fde
@ -82,8 +82,8 @@ rte_vdpa_register_device(struct rte_device *rte_dev,
|
||||
!ops->get_protocol_features || !ops->dev_conf ||
|
||||
!ops->dev_close || !ops->set_vring_state ||
|
||||
!ops->set_features) {
|
||||
VHOST_LOG_CONFIG(ERR,
|
||||
"Some mandatory vDPA ops aren't implemented\n");
|
||||
VHOST_LOG_CONFIG(ERR, "(%s) Some mandatory vDPA ops aren't implemented\n",
|
||||
rte_dev->name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user