diff options
author | Luca Muscariello <muscariello@ieee.org> | 2023-01-10 16:48:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2023-01-10 16:48:16 +0000 |
commit | 8adfb21bf73bdb4c77d04a9c8005bd9008dd52ca (patch) | |
tree | f3625410471076ae07e0cfb4c8b5209459609918 /libtransport | |
parent | c31c2eab0ef33df0bf1d46238b7509d1429b110e (diff) | |
parent | 55d06ad1cd4f64fc7382bcaf14dc57c1f16db8fe (diff) |
Merge "feat: upgrade to VPP 22.10"
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/io_modules/memif/vpp_forwarder_module.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtransport/src/io_modules/memif/vpp_forwarder_module.cc b/libtransport/src/io_modules/memif/vpp_forwarder_module.cc index ab11828ec..d04c60893 100644 --- a/libtransport/src/io_modules/memif/vpp_forwarder_module.cc +++ b/libtransport/src/io_modules/memif/vpp_forwarder_module.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Cisco and/or its affiliates. + * Copyright (c) 2021-2023 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -157,7 +157,8 @@ void VPPForwarderModule::connect(bool is_consumer) { vapi_error_e ret = vapi_connect_safe(&sock_, 0); while (ret != VAPI_OK && retry > 0) { - LOG(ERROR) << "Error connecting to VPP through vapi. Retrying.."; + LOG(ERROR) << "Error connecting to VPP through vapi (error: " << ret + << "). Retrying.."; --retry; ret = vapi_connect_safe(&sock_, 0); } @@ -255,7 +256,6 @@ void VPPForwarderModule::closeConnection() { LOG(ERROR) << "Error deleting memif with sw idx " << sw_if_index_; } } - vapi_disconnect_safe(); VPPForwarderModule::sock_ = nullptr; } |