From: "McDaniel, Timothy" <timothy.mcdan...@intel.com> Signed-off-by: McDaniel, Timothy <timothy.mcdan...@intel.com> --- drivers/event/dlb/dlb.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c index 786c252..fb96551 100644 --- a/drivers/event/dlb/dlb.c +++ b/drivers/event/dlb/dlb.c @@ -2470,6 +2470,29 @@ static int dlb_num_dir_queues_setup(struct dlb_eventdev *dlb) return 0; } +static void +dlb_eventdev_port_release(void *port) +{ + RTE_SET_USED(port); + + /* This function intentionally left blank. dlb does not support + * reconfiguring individual queues or ports -- the entire device + * must be reconfigured. + */ +} + +static void +dlb_eventdev_queue_release(struct rte_eventdev *dev, uint8_t id) +{ + RTE_SET_USED(dev); + RTE_SET_USED(id); + + /* This function intentionally left blank. dlb does not support + * reconfiguring individual queues or ports -- the entire device + * must be reconfigured. + */ +} + static int set_dev_id(const char *key __rte_unused, const char *value, @@ -2548,8 +2571,10 @@ static int dlb_num_dir_queues_setup(struct dlb_eventdev *dlb) .dev_configure = dlb_eventdev_configure, .queue_def_conf = dlb_eventdev_queue_default_conf_get, .queue_setup = dlb_eventdev_queue_setup, + .queue_release = dlb_eventdev_queue_release, .port_def_conf = dlb_eventdev_port_default_conf_get, .port_setup = dlb_eventdev_port_setup, + .port_release = dlb_eventdev_port_release, .port_link = dlb_eventdev_port_link, }; -- 1.7.10