From: Mattias Rönnblom Date: Mon, 9 Mar 2020 06:51:04 +0000 (+0100) Subject: event/dsw: remove redundant control ring poll X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=65388325f123c9e9a6ef2211804b7d259dc2dfab;p=dpdk.git event/dsw: remove redundant control ring poll On dequeue, polling the control ring once is enough. Fixes: f6257b22e767 ("event/dsw: add load balancing") Cc: stable@dpdk.org Suggested-by: Ola Liljedahl Signed-off-by: Mattias Rönnblom --- diff --git a/drivers/event/dsw/dsw_event.c b/drivers/event/dsw/dsw_event.c index 04f0e9cab6..c31a4c492f 100644 --- a/drivers/event/dsw/dsw_event.c +++ b/drivers/event/dsw/dsw_event.c @@ -1328,11 +1328,6 @@ static uint16_t dsw_port_dequeue_burst(struct dsw_port *port, struct rte_event *events, uint16_t num) { - struct dsw_port *source_port = port; - struct dsw_evdev *dsw = source_port->dsw; - - dsw_port_ctl_process(dsw, source_port); - if (unlikely(port->in_buffer_len > 0)) { uint16_t dequeued = RTE_MIN(num, port->in_buffer_len);