kib
9538d0f44b
mlx5en: Avoid SFENCe on x86
...
The IA32 memory model guarantees that all writes are seen in the program
order. Also, any access to the uncacheable memory flushes the store
buffers. As the consequence, SFENCE instruction is (almost) never needed,
in particular, it is not needed to ensure the correct order of updates as
seen by a PCIe device.
Use atomic_thread_fence_rel() instead of wb() to only emit compiler barriers
on x86 there. Other architectures get the right barrier instruction as
well.
Reviewed by: hselasky
Sponsored by: Mellanox Technologies
MFC after: 1 week
2017-12-19 14:11:41 +00:00
..
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-19 02:49:11 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-09-14 15:34:45 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-30 07:24:33 +00:00
2017-12-08 15:57:29 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-12-16 05:22:16 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-05 21:00:31 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-15 04:51:47 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-12-12 20:22:09 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-08-08 13:27:32 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-12-14 04:41:07 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-09-26 23:23:58 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-23 10:34:38 +00:00
2017-11-09 13:38:17 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:25:22 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-08-19 17:18:27 +00:00
2017-11-30 15:48:35 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-06 23:03:34 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-06 23:05:22 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-12-10 18:55:42 +00:00
2017-11-27 14:52:40 +00:00
2017-09-14 15:34:45 +00:00
2017-11-27 14:52:40 +00:00
2017-12-05 18:48:58 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-09 15:34:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-23 14:28:14 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-10-09 15:48:56 +00:00
2017-11-20 19:36:21 +00:00
2017-11-20 19:36:21 +00:00
2017-09-27 05:59:54 +00:00
2017-09-13 13:03:29 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-30 20:33:45 +00:00
2017-11-18 14:26:50 +00:00
2017-10-25 17:49:17 +00:00
2017-12-06 23:03:34 +00:00
2017-11-27 14:52:40 +00:00
2017-11-30 15:48:35 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-07 19:57:51 +00:00
2017-12-19 14:11:41 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-07-09 17:02:47 +00:00
2017-11-30 20:33:45 +00:00
2017-11-10 17:01:51 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-09-28 19:57:46 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-10-01 09:48:31 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-18 20:11:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-28 06:31:39 +00:00
2017-07-29 17:00:23 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-10-21 07:23:45 +00:00
2017-11-27 14:52:40 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 14:52:40 +00:00
2017-10-19 16:40:17 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-10-18 19:28:28 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-10-07 19:02:03 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-03 22:02:30 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-12-06 23:03:34 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-11 22:55:51 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-12-08 10:05:23 +00:00
2017-11-27 14:52:40 +00:00
2017-12-13 16:13:17 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-28 06:21:37 +00:00
2017-12-05 22:02:46 +00:00
2017-11-18 14:26:50 +00:00
2017-12-06 02:06:14 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-20 19:36:21 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 14:52:40 +00:00
2017-07-01 05:35:29 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00
2017-11-27 14:52:40 +00:00