From 756214e20b1bc6e94bd2e96981cb07af9919555d Mon Sep 17 00:00:00 2001 From: Michael Axtmann Date: Thu, 15 Aug 2024 19:25:32 +0000 Subject: [PATCH] platform: Set RDMA protocol as default for trn1/trn1n platforms With switching to this plugin implementation, we want to take advantage of the RDMA protocol on trn1/trn1n platforms without setting environment variables. This commit sets RDMA protocol as default for trn1/trn1n platforms. Signed-off-by: Michael Axtmann --- src/platform-aws.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform-aws.c b/src/platform-aws.c index f980efd0a..b8d6fa80a 100644 --- a/src/platform-aws.c +++ b/src/platform-aws.c @@ -95,14 +95,14 @@ struct ec2_platform_data { }, { .name = "trn1.32xlarge", - .default_protocol = "SENDRECV", + .default_protocol = "RDMA", .gdr_required = true, .net_flush_required = true, .domain_per_thread = 1, }, { .name = "trn1n.32xlarge", - .default_protocol = "SENDRECV", + .default_protocol = "RDMA", .gdr_required = true, .net_flush_required = true, .domain_per_thread = 1,