The ioctl channel open/close/handshake and DMA map helpers, and the
memory event callback, are used only inside the sxe2 common code.
The sxe2 net driver uses the higher level interfaces.

Signed-off-by: Stephen Hemminger <[email protected]>
---
 drivers/common/sxe2/sxe2_common.c          | 1 -
 drivers/common/sxe2/sxe2_common.h          | 1 -
 drivers/common/sxe2/sxe2_ioctl_chnl.c      | 5 -----
 drivers/common/sxe2/sxe2_ioctl_chnl_func.h | 5 -----
 4 files changed, 12 deletions(-)

diff --git a/drivers/common/sxe2/sxe2_common.c 
b/drivers/common/sxe2/sxe2_common.c
index 6e387a8a73..6670f3d814 100644
--- a/drivers/common/sxe2/sxe2_common.c
+++ b/drivers/common/sxe2/sxe2_common.c
@@ -246,7 +246,6 @@ static int32_t sxe2_dma_mem_map(struct sxe2_common_device 
*cdev,
        return ret;
 }
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_common_mem_event_cb)
 void
 sxe2_common_mem_event_cb(enum rte_mem_event type,
                const void *addr, size_t size, void *arg __rte_unused)
diff --git a/drivers/common/sxe2/sxe2_common.h 
b/drivers/common/sxe2/sxe2_common.h
index efc8d3585a..3d97470e7d 100644
--- a/drivers/common/sxe2/sxe2_common.h
+++ b/drivers/common/sxe2/sxe2_common.h
@@ -68,7 +68,6 @@ struct sxe2_class_driver {
        uint32_t intr_rmv;
 };
 
-__rte_internal
 void
 sxe2_common_mem_event_cb(enum rte_mem_event type,
                const void *addr, size_t size, void *arg __rte_unused);
diff --git a/drivers/common/sxe2/sxe2_ioctl_chnl.c 
b/drivers/common/sxe2/sxe2_ioctl_chnl.c
index 9f455bd8d5..4ddeb7a5d7 100644
--- a/drivers/common/sxe2/sxe2_ioctl_chnl.c
+++ b/drivers/common/sxe2/sxe2_ioctl_chnl.c
@@ -68,7 +68,6 @@ sxe2_drv_cmd_exec(struct sxe2_common_device *cdev,
 }
 
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_open)
 int32_t
 sxe2_drv_dev_open(struct sxe2_common_device *cdev, struct rte_pci_device 
*pci_dev)
 {
@@ -101,7 +100,6 @@ sxe2_drv_dev_open(struct sxe2_common_device *cdev, struct 
rte_pci_device *pci_de
        return ret;
 }
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_close)
 void
 sxe2_drv_dev_close(struct sxe2_common_device *cdev)
 {
@@ -115,7 +113,6 @@ sxe2_drv_dev_close(struct sxe2_common_device *cdev)
        SXE2_CDEV_TO_CMD_FD(cdev) = SXE2_CMD_FD_INVALID;
 }
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_handshake)
 int32_t
 sxe2_drv_dev_handshake(struct sxe2_common_device *cdev)
 {
@@ -389,7 +386,6 @@ sxe2_drv_dev_munmap(struct sxe2_common_device *cdev 
__rte_unused, void *virt, ui
        return ret;
 }
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_dma_map)
 int32_t
 sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, uint64_t vaddr,
                     uint64_t iova, uint64_t size)
@@ -447,7 +443,6 @@ sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, 
uint64_t vaddr,
        return ret;
 }
 
-RTE_EXPORT_INTERNAL_SYMBOL(sxe2_drv_dev_dma_unmap)
 int32_t
 sxe2_drv_dev_dma_unmap(struct sxe2_common_device *cdev, uint64_t iova)
 {
diff --git a/drivers/common/sxe2/sxe2_ioctl_chnl_func.h 
b/drivers/common/sxe2/sxe2_ioctl_chnl_func.h
index 368be16d4f..c6d204fffe 100644
--- a/drivers/common/sxe2/sxe2_ioctl_chnl_func.h
+++ b/drivers/common/sxe2/sxe2_ioctl_chnl_func.h
@@ -24,17 +24,14 @@ int32_t
 sxe2_drv_cmd_exec(struct sxe2_common_device *cdev,
                struct sxe2_drv_cmd_params *cmd_params);
 
-__rte_internal
 int32_t
 sxe2_drv_dev_open(struct sxe2_common_device *cdev,
                struct rte_pci_device *pci_dev);
 
 
-__rte_internal
 void
 sxe2_drv_dev_close(struct sxe2_common_device *cdev);
 
-__rte_internal
 int32_t
 sxe2_drv_dev_handshake(struct sxe2_common_device *cdev);
 
@@ -64,12 +61,10 @@ __rte_internal
 int32_t
 sxe2_drv_dev_munmap(struct sxe2_common_device *cdev, void *virt, uint64_t len);
 
-__rte_internal
 int32_t
 sxe2_drv_dev_dma_map(struct sxe2_common_device *cdev, uint64_t vaddr,
                uint64_t iova, uint64_t size);
 
-__rte_internal
 int32_t
 sxe2_drv_dev_dma_unmap(struct sxe2_common_device *cdev, uint64_t iova);
 
-- 
2.53.0

Reply via email to