| 582 | } |
| 583 | |
| 584 | static void |
| 585 | sw_info_get(struct rte_eventdev *dev, struct rte_event_dev_info *info) |
| 586 | { |
| 587 | RTE_SET_USED(dev); |
| 588 | |
| 589 | static const struct rte_event_dev_info evdev_sw_info = { |
| 590 | .driver_name = SW_PMD_NAME, |
| 591 | .max_event_queues = RTE_EVENT_MAX_QUEUES_PER_DEV, |
| 592 | .max_event_queue_flows = SW_QID_NUM_FIDS, |
| 593 | .max_event_queue_priority_levels = SW_Q_PRIORITY_MAX, |
| 594 | .max_event_priority_levels = SW_IQS_MAX, |
| 595 | .max_event_ports = SW_PORTS_MAX, |
| 596 | .max_event_port_dequeue_depth = MAX_SW_CONS_Q_DEPTH, |
| 597 | .max_event_port_enqueue_depth = MAX_SW_PROD_Q_DEPTH, |
| 598 | .max_num_events = SW_INFLIGHT_EVENTS_TOTAL, |
| 599 | .event_dev_cap = ( |
| 600 | RTE_EVENT_DEV_CAP_QUEUE_QOS | |
| 601 | RTE_EVENT_DEV_CAP_BURST_MODE | |
| 602 | RTE_EVENT_DEV_CAP_EVENT_QOS | |
| 603 | RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE| |
| 604 | RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK | |
| 605 | RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT | |
| 606 | RTE_EVENT_DEV_CAP_NONSEQ_MODE | |
| 607 | RTE_EVENT_DEV_CAP_CARRY_FLOW_ID | |
| 608 | RTE_EVENT_DEV_CAP_MAINTENANCE_FREE), |
| 609 | .max_profiles_per_port = 1, |
| 610 | }; |
| 611 | |
| 612 | *info = evdev_sw_info; |
| 613 | } |
| 614 | |
| 615 | static void |
| 616 | sw_dump(struct rte_eventdev *dev, FILE *f) |