-
Hello, Consider the following sequence:
At this point, I expect 2 notif CQEs for each of the two bufs. My question: is there any ordering guaranteed for the notif CQEs? i.e. is the following sequence guaranteed?:
i.e. could notif CQE for buf2 arrive BEFORE notif CQE for buf1? Many Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
CC @isilence |
Beta Was this translation helpful? Give feedback.
-
If you have both buffers ready to be sent, then submit them linked or use single vector write |
Beta Was this translation helpful? Give feedback.
-
@bnbajwa, there is no ordering guarantee for zc notification CQEs.
And it wouldn't change it for notifications, because there is no ordering b/w notification and linked requests. |
Beta Was this translation helpful? Give feedback.
-
But it's likely to be ordered, so it can still be used as an optimisation if you handle corner cases in the userspace. |
Beta Was this translation helpful? Give feedback.
@bnbajwa, there is no ordering guarantee for zc notification CQEs.
And it wouldn't change it for notifications, because there is no ordering b/w notification and linked requests.
E.g. with
sendzc -> nop
you can likely a completion ordering as this:sendzc - nop - notif