Skip to content

Commit

Permalink
event/dsw: remove redundant control ring poll
Browse files Browse the repository at this point in the history
[ upstream commit 6538832 ]

On dequeue, polling the control ring once is enough.

Fixes: f6257b2 ("event/dsw: add load balancing")

Suggested-by: Ola Liljedahl <ola.liljedahl@arm.com>
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
  • Loading branch information
m-ronnblom authored and kevintraynor committed May 27, 2020
1 parent 6528f3c commit ed67955
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/event/dsw/dsw_event.c
Expand Up @@ -1194,11 +1194,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);

Expand Down

0 comments on commit ed67955

Please sign in to comment.