We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94bfabc + 22ca0b5 commit f9a68cdCopy full SHA for f9a68cd
opal/mca/btl/usnic/btl_usnic_cagent.c
@@ -877,9 +877,8 @@ static void agent_thread_cmd_ping(agent_ipc_listener_t *ipc_listener)
877
all IP options are enabled, which is 60 bytes), and then also
878
subtract off the UDP header (which is 8 bytes). So we need to
879
subtract off 68 bytes from the MTU, and that's the largest ping
880
- payload we can send.
881
- max_msg_size allows for minimal UDP header, be more conservative */
882
- ap->sizes[1] = cmd.max_msg_size - (68 - 42);
+ payload we can send. */
+ ap->sizes[1] = cmd.max_msg_size - 68;
883
884
/* Allocate a buffer for each size. Make sure the smallest size
885
is at least sizeof(agent_udp_message_t). */
0 commit comments