ALT Linux Bugzilla
– Attachment 10314 Details for
Bug 41801
[e2k] проблема настройки iSER/RoCE на Mellanox ConnectX-4 Lx
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
rdma-core-e2k.patch
rdma-core-e2k.patch (text/plain), 1.30 KB, created by
Michael Shigorin
on 2022-02-17 15:14:15 MSK
(
hide
)
Description:
rdma-core-e2k.patch
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2022-02-17 15:14:15 MSK
Size:
1.30 KB
patch
obsolete
>diff --git a/util/udma_barrier.h b/util/udma_barrier.h >index 5730576..05281cf 100644 >--- a/util/udma_barrier.h >+++ b/util/udma_barrier.h >@@ -84,6 +84,9 @@ > #define udma_to_device_barrier() asm volatile("" ::: "memory") > #elif defined(__x86_64__) > #define udma_to_device_barrier() asm volatile("" ::: "memory") >+#elif defined(__e2k__) >+#include <x86intrin.h> >+#define udma_to_device_barrier() __builtin_ia32_mfence() > #elif defined(__PPC64__) > #define udma_to_device_barrier() asm volatile("sync" ::: "memory") > #elif defined(__PPC__) >@@ -118,6 +121,8 @@ > #define udma_from_device_barrier() asm volatile("lock; addl $0,0(%%esp) " ::: "memory") > #elif defined(__x86_64__) > #define udma_from_device_barrier() asm volatile("lfence" ::: "memory") >+#elif defined(__e2k__) >+#define udma_from_device_barrier() __builtin_ia32_lfence() > #elif defined(__PPC64__) > #define udma_from_device_barrier() asm volatile("lwsync" ::: "memory") > #elif defined(__PPC__) >@@ -184,6 +189,8 @@ > #define mmio_flush_writes() asm volatile("lock; addl $0,0(%%esp) " ::: "memory") > #elif defined(__x86_64__) > #define mmio_flush_writes() asm volatile("sfence" ::: "memory") >+#elif defined(__e2k__) >+#define mmio_flush_writes() __builtin_ia32_sfence() > #elif defined(__PPC64__) > #define mmio_flush_writes() asm volatile("sync" ::: "memory") > #elif defined(__PPC__)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41801
: 10314