X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fvhost%2Fvdpa.c;h=6df2230a671149fe2189a690c9d7b45842d28853;hb=6e858b4d9244cf53505589673755ab18ac2a4a83;hp=6dd91859ac55883e4f2b32e59b4c94b5a6bdeed9;hpb=f1f6ebc0eaf68a825c6175f5e6a436f7d91660c3;p=dpdk.git diff --git a/lib/vhost/vdpa.c b/lib/vhost/vdpa.c index 6dd91859ac..6df2230a67 100644 --- a/lib/vhost/vdpa.c +++ b/lib/vhost/vdpa.c @@ -17,7 +17,7 @@ #include #include "rte_vdpa.h" -#include "rte_vdpa_dev.h" +#include "vdpa_driver.h" #include "vhost.h" /** Double linked list of vDPA devices. */ @@ -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; }