event/octeontx: add driver name in info get
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 2 Jun 2017 09:26:06 +0000 (14:56 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 21 Jun 2017 13:33:22 +0000 (15:33 +0200)
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/event/octeontx/ssovf_evdev.c

index c80a443..f1b7eee 100644 (file)
@@ -170,6 +170,7 @@ ssovf_info_get(struct rte_eventdev *dev, struct rte_event_dev_info *dev_info)
 {
        struct ssovf_evdev *edev = ssovf_pmd_priv(dev);
 
+       dev_info->driver_name = RTE_STR(EVENTDEV_NAME_OCTEONTX_PMD);
        dev_info->min_dequeue_timeout_ns = edev->min_deq_timeout_ns;
        dev_info->max_dequeue_timeout_ns = edev->max_deq_timeout_ns;
        dev_info->max_event_queues = edev->max_event_queues;