]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/fslmc/fslmc_vfio.h
net/qede/base: catch an init command write failure
[dpdk.git] / drivers / bus / fslmc / fslmc_vfio.h
index 60a57434f01167b781fe2171d48db7ff8270b1ae..edb86d04da48e367e1a98bc8e0c5fb453904d42f 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "eal_vfio.h"
 
 
 #include "eal_vfio.h"
 
-#define DPAA2_VENDOR_ID                0x1957
 #define DPAA2_MC_DPNI_DEVID    7
 #define DPAA2_MC_DPSECI_DEVID  3
 #define DPAA2_MC_DPCON_DEVID   5
 #define DPAA2_MC_DPNI_DEVID    7
 #define DPAA2_MC_DPSECI_DEVID  3
 #define DPAA2_MC_DPCON_DEVID   5
@@ -44,7 +43,6 @@
 #define DPAA2_MC_DPBP_DEVID    10
 #define DPAA2_MC_DPCI_DEVID    11
 
 #define DPAA2_MC_DPBP_DEVID    10
 #define DPAA2_MC_DPCI_DEVID    11
 
-
 typedef struct fslmc_vfio_device {
        int fd; /* fslmc root container device ?? */
        int index; /*index of child object */
 typedef struct fslmc_vfio_device {
        int fd; /* fslmc root container device ?? */
        int index; /*index of child object */
@@ -71,6 +69,8 @@ int rte_dpaa2_intr_enable(struct rte_intr_handle *intr_handle,
 
 int fslmc_vfio_setup_group(void);
 int fslmc_vfio_process_group(void);
 
 int fslmc_vfio_setup_group(void);
 int fslmc_vfio_process_group(void);
+char *fslmc_get_container(void);
+int fslmc_get_container_group(int *gropuid);
 int rte_fslmc_vfio_dmamap(void);
 
 #endif /* _FSLMC_VFIO_H_ */
 int rte_fslmc_vfio_dmamap(void);
 
 #endif /* _FSLMC_VFIO_H_ */