bus/dpaa: support interrupt portal based fd
[dpdk.git] / drivers / bus / dpaa / base / fman / netcfg_layer.c
index 24186c9..031c6f1 100644 (file)
 #include <rte_dpaa_logs.h>
 #include <netcfg.h>
 
-/* Structure contains information about all the interfaces given by user
- * on command line.
- */
-struct netcfg_interface *netcfg_interface;
-
 /* This data structure contaings all configurations information
  * related to usages of DPA devices.
  */
@@ -76,22 +71,6 @@ dump_netcfg(struct netcfg_info *cfg_ptr)
 }
 #endif /* RTE_LIBRTE_DPAA_DEBUG_DRIVER */
 
-static inline int
-get_num_netcfg_interfaces(char *str)
-{
-       char *pch;
-       uint8_t count = 0;
-
-       if (str == NULL)
-               return -EINVAL;
-       pch = strtok(str, ",");
-       while (pch != NULL) {
-               count++;
-               pch = strtok(NULL, ",");
-       }
-       return count;
-}
-
 struct netcfg_info *
 netcfg_acquire(void)
 {