>+static void
>+event_port_setup_generic(void)
>+{
>+      struct eventdev_resources *eventdev_rsrc = get_eventdev_rsrc();
>+      uint8_t event_d_id = eventdev_rsrc->event_d_id;
>+      struct rte_event_port_conf event_p_conf = {
>+              .dequeue_depth = 32,
>+              .enqueue_depth = 32,
>+              .new_event_threshold = 4096
>+      };
>+      struct rte_event_port_conf def_p_conf;
>+      uint8_t event_p_id;
>+      int32_t ret;
>+
>+      /* Service cores are not used to run worker thread */
>+      eventdev_rsrc->evp.nb_ports = eventdev_rsrc->evp.nb_ports;
Is this line needed ?

Reply via email to