libibverbs: Fix the issue of ibv_ud_pingpong failing in RDMA communication environments across three layers of networks (different subnets)

Fixed the issue where, in an RDMA communication environment across three layers of networks (different subnets), when using a global routing header (GRH) to establish an address handle (AH), the data packet could not be transmitted across the router due to the hard coded setting of ah_ attr. grh. hop limit to 1, resulting in RDMA communication failure across network nodes. Now adjust ah_ attr. grh. hop limit to 64

Co-authored-by: kanyong <kanyong@kylinos.cn>
Co-authored-by: ningjin <ningjin@kylinos.cn>
Co-authored-by: liangchangwei <liangchangwei@kylinos.cn>
Co-authored-by: daiyanlong <daiyanlong@kylinos.cn>

Signed-off-by: daiyanlong <daiyanlong@kylinos.cn>
diff --git a/libibverbs/examples/ud_pingpong.c b/libibverbs/examples/ud_pingpong.c
index 4b0e8af..bd7db31 100644
--- a/libibverbs/examples/ud_pingpong.c
+++ b/libibverbs/examples/ud_pingpong.c
@@ -109,7 +109,7 @@
 
 	if (dest->gid.global.interface_id) {
 		ah_attr.is_global = 1;
-		ah_attr.grh.hop_limit = 1;
+		ah_attr.grh.hop_limit = 64;
 		ah_attr.grh.dgid = dest->gid;
 		ah_attr.grh.sgid_index = sgid_idx;
 	}