From: "McDaniel, Timothy" <timothy.mcdan...@intel.com> Change-Id: I7dc1b4c03a222b40d629705946d00f3800dbe63d 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 e601a0e..0eb0cf5 100644 --- a/drivers/event/dlb/dlb.c +++ b/drivers/event/dlb/dlb.c @@ -2476,6 +2476,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, @@ -2554,8 +2577,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