X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Ffslmc%2Fportal%2Fdpaa2_hw_dpio.c;h=283441b4f607647e22ecef382138c8c7712f2732;hb=b4d75d98f5696d6b4aab01c368a558f1e24e5c1f;hp=ffe9396dddbd845a32f5b83f1b2c94a6035bbb12;hpb=d62d95bcb6a698cd9df601318a99a93c22f8c1f2;p=dpdk.git diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index ffe9396ddd..283441b4f6 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -57,7 +57,6 @@ #include #include #include -#include #include #include @@ -470,16 +469,6 @@ dpaa2_create_dpio_device(struct fslmc_vfio_device *vdev, PROT_WRITE | PROT_READ, MAP_SHARED, vfio_dev_fd, reg_info.offset); - /* Create Mapping for QBMan Cache Enabled area. This is a fix for - * SMMU fault for DQRR statshing transaction. - */ - if (vfio_dmamap_mem_region(dpio_dev->qbman_portal_ce_paddr, - reg_info.offset, reg_info.size)) { - PMD_INIT_LOG(ERR, "DMAMAP for Portal CE area failed.\n"); - rte_free(dpio_dev); - return -1; - } - reg_info.index = 1; if (ioctl(vfio_dev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { PMD_INIT_LOG(ERR, "vfio: error getting region info\n");