summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAjay Sharma <sharmaajay@microsoft.com>2022-11-03 12:16:27 -0700
committerLeon Romanovsky <leonro@nvidia.com>2022-11-10 07:57:27 +0200
commitde372f2a9ca7ada2698ecac7df8f02407cd98fa0 (patch)
tree3add0d611ee62ee2786030269e1aadcc3991a752 /include
parentaa56549792fb348892fbbae67f6f0c71bb750b65 (diff)
net: mana: Define and process GDMA response code GDMA_STATUS_MORE_ENTRIES
When doing memory registration, the PF may respond with GDMA_STATUS_MORE_ENTRIES to indicate a follow request is needed. This is not an error and should be processed as expected. Signed-off-by: Ajay Sharma <sharmaajay@microsoft.com> Reviewed-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: Long Li <longli@microsoft.com> Link: https://lore.kernel.org/r/1667502990-2559-10-git-send-email-longli@linuxonhyperv.com Acked-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mana/gdma.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mana/gdma.h b/include/net/mana/gdma.h
index 0b0c0cd0b6bd..a9b7930dfbf8 100644
--- a/include/net/mana/gdma.h
+++ b/include/net/mana/gdma.h
@@ -9,6 +9,8 @@
#include "shm_channel.h"
+#define GDMA_STATUS_MORE_ENTRIES 0x00000105
+
/* Structures labeled with "HW DATA" are exchanged with the hardware. All of
* them are naturally aligned and hence don't need __packed.
*/