event/dsw: remove redundant control ring poll
authorMattias Rönnblom <mattias.ronnblom@ericsson.com>
Mon, 9 Mar 2020 06:51:04 +0000 (07:51 +0100)
committerJerin Jacob <jerinj@marvell.com>
Sat, 4 Apr 2020 14:32:02 +0000 (16:32 +0200)
On dequeue, polling the control ring once is enough.

Fixes: f6257b22e767 ("event/dsw: add load balancing")
Cc: stable@dpdk.org
Suggested-by: Ola Liljedahl <ola.liljedahl@arm.com>
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
drivers/event/dsw/dsw_event.c

index 04f0e9c..c31a4c4 100644 (file)
@@ -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);