bus/fslmc: align object name log to real resource name
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 11 Jul 2017 14:55:57 +0000 (20:25 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 14 Jul 2017 13:56:39 +0000 (15:56 +0200)
the DPAA2 resources are named with ".", so changing
"-" with "."

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
drivers/bus/fslmc/portal/dpaa2_hw_dpci.c
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c
drivers/event/dpaa2/dpaa2_hw_dpcon.c

index daec414..33f9eed 100644 (file)
@@ -98,7 +98,7 @@ dpaa2_create_dpbp_device(struct fslmc_vfio_device *vdev __rte_unused,
 
        TAILQ_INSERT_TAIL(&dpbp_dev_list, dpbp_node, next);
 
-       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpbp-%d]", dpbp_id);
+       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpbp.%d]", dpbp_id);
 
        return 0;
 }
index d222f26..478e4f7 100644 (file)
@@ -140,7 +140,7 @@ rte_dpaa2_create_dpci_device(struct fslmc_vfio_device *vdev __rte_unused,
 
        TAILQ_INSERT_TAIL(&dpci_dev_list, dpci_node, next);
 
-       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpci-%d]", dpci_id);
+       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpci.%d]", dpci_id);
 
        return 0;
 }
index 5cf5cfe..ffe9396 100644 (file)
@@ -503,7 +503,7 @@ dpaa2_create_dpio_device(struct fslmc_vfio_device *vdev,
        io_space_count++;
        dpio_dev->index = io_space_count;
        TAILQ_INSERT_TAIL(&dpio_dev_list, dpio_dev, next);
-       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpio-%d]", object_id);
+       PMD_INIT_LOG(DEBUG, "DPAA2: Added [dpio.%d]", object_id);
 
        return 0;
 }
index 27f5bcb..d3e73f9 100644 (file)
@@ -100,7 +100,7 @@ rte_dpaa2_create_dpcon_device(struct fslmc_vfio_device *vdev __rte_unused,
 
        TAILQ_INSERT_TAIL(&dpcon_dev_list, dpcon_node, next);
 
-       PMD_DRV_LOG(DEBUG, "DPAA2: Added [dpcon-%d]", dpcon_id);
+       PMD_DRV_LOG(DEBUG, "DPAA2: Added [dpcon.%d]", dpcon_id);
 
        return 0;
 }