Skip to content

Commit

Permalink
event/dsw: remove unnecessary read barrier
Browse files Browse the repository at this point in the history
[ upstream commit cea7bc6 ]

Remove unnecessary read barrier (and misleading comment) on control
message dequeue.

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 ed67955 commit 5d54a4d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/event/dsw/dsw_event.c
Expand Up @@ -930,11 +930,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:
Expand Down

0 comments on commit 5d54a4d

Please sign in to comment.