From f8e354c48d87d16d6a30520690c0609c1d382e59 Mon Sep 17 00:00:00 2001 From: Sergey Yakubov <sergey.yakubov@desy.de> Date: Mon, 10 May 2021 10:36:55 +0200 Subject: [PATCH] fix opcode position --- common/cpp/include/asapo/common/networking.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/cpp/include/asapo/common/networking.h b/common/cpp/include/asapo/common/networking.h index bc8cae313..a52c437c2 100644 --- a/common/cpp/include/asapo/common/networking.h +++ b/common/cpp/include/asapo/common/networking.h @@ -18,16 +18,18 @@ enum class NetworkConnectionType : uint32_t { kFabric, // Fabric connection (Primarily used for InfiniBand verbs) }; + +// do not forget to add new codes to the end! enum Opcode : uint8_t { kOpcodeUnknownOp = 1, kOpcodeTransferData, kOpcodeTransferDatasetData, kOpcodeStreamInfo, - kOpcodeDeleteStream, kOpcodeLastStream, kOpcodeGetBufferData, kOpcodeAuthorize, kOpcodeTransferMetaData, + kOpcodeDeleteStream, kOpcodeCount, }; -- GitLab