summaryrefslogtreecommitdiffstats
path: root/utils/src/hiperf.cc
diff options
context:
space:
mode:
authorOlivier Roques <oroques+fdio@cisco.com>2020-03-27 18:23:59 +0100
committerOlivier Roques <oroques+fdio@cisco.com>2020-03-27 18:23:59 +0100
commitd46e59824bd3fc67abe7bd725965aa454942d640 (patch)
tree58792a32169b6a16b4b3777983c006446ddcaa1c /utils/src/hiperf.cc
parent09fb1366d42de04a428d6a2b0607d4cca878eee7 (diff)
[HICN-583] Remove obsolete code from hiperf
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: If8bea63ccb026be54293512d371d3a269e11385e
Diffstat (limited to 'utils/src/hiperf.cc')
-rw-r--r--utils/src/hiperf.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc
index 008bd0c55..fee2b34c9 100644
--- a/utils/src/hiperf.cc
+++ b/utils/src/hiperf.cc
@@ -925,13 +925,6 @@ class HIperfServer {
}
if (producer_socket_->setSocketOption(
- GeneralTransportOptions::DATA_PACKET_SIZE,
- (uint32_t)(configuration_.payload_size_)) ==
- SOCKET_OPTION_NOT_SET) {
- return ERROR_SETUP;
- }
-
- if (producer_socket_->setSocketOption(
GeneralTransportOptions::OUTPUT_BUFFER_SIZE, 200000U) ==
SOCKET_OPTION_NOT_SET) {
return ERROR_SETUP;