projects
/
wrapfs-4.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e7939
)
gve: remove memory barrier around seqno
author
Catherine Sullivan
<csully@google.com>
Thu, 16 Dec 2021 00:46:48 +0000
(16:46 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 16 Dec 2021 10:41:54 +0000
(10:41 +0000)
No longer needed after we introduced the barrier in gve_napi_poll.
Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/google/gve/gve_rx.c
b/drivers/net/ethernet/google/gve/gve_rx.c
index 3d04b5aff331b4daaebb6d1d7d10694289b0af77..9ddcc497f48e616180fd9676e052493c46ca2244 100644
(file)
--- a/
drivers/net/ethernet/google/gve/gve_rx.c
+++ b/
drivers/net/ethernet/google/gve/gve_rx.c
@@
-639,8
+639,6
@@
bool gve_rx_work_pending(struct gve_rx_ring *rx)
desc = rx->desc.desc_ring + next_idx;
flags_seq = desc->flags_seq;
- /* Make sure we have synchronized the seq no with the device */
- smp_rmb();
return (GVE_SEQNO(flags_seq) == rx->desc.seqno);
}