From: Mattias Rönnblom Date: Mon, 9 Mar 2020 06:51:05 +0000 (+0100) Subject: event/dsw: remove unnecessary read barrier X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cea7bc671311e8cf5fbc21dceb15f5f8af8ee36b;p=dpdk.git event/dsw: remove unnecessary read barrier Remove unnecessary read barrier (and misleading comment) on control message dequeue. 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 c31a4c492f..94c8efdbcf 100644 --- a/drivers/event/dsw/dsw_event.c +++ b/drivers/event/dsw/dsw_event.c @@ -1065,11 +1065,6 @@ dsw_port_ctl_process(struct dsw_evdev *dsw, struct dsw_port *port) { struct dsw_ctl_msg msg; - /* So any table loads happens before the ring dequeue, in the - * case of a 'paus' message. - */ - rte_smp_rmb(); - if (dsw_port_ctl_dequeue(port, &msg) == 0) { switch (msg.type) { case DSW_CTL_PAUS_REQ: