From nobody Wed Nov 02 16:08:31 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N2Wyl3K7pz4gGMN; Wed, 2 Nov 2022 16:08:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N2Wyl2Qn3z3jrb; Wed, 2 Nov 2022 16:08:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667405311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dnGL14fn/30VVyLNlkPLnkHxtGSeiam7UxdGTPjCZXo=; b=Tl7a0A3ENp8oSaeD5bxOFeugf11xm6FEduL7aRZ1JRxLs9UKbG9J+yZDdggq29pYGoOg5F 9aWblwZNIioJn0U+DqPEEKps1Tv4M4FHgOkmsYymhU+Mt8FhtueKmC8l/OXR0URAtMoNs/ 9VLTtqjlcKa0RqG08lUBb2EspkydkFm4ndpvGlSyPWIro7eknA3ExqYK+5W2Ghc7DA5XSl 0XIOaiX+2VE1VPVjghc0ZPsrlG0BJyl6rVp1vtPbT8m/Ddi7HV3MVte2bQeUcJYgnizfY+ U+LDKFQVuG2cxSDkWCAydzEtZ3fyu5/7WBgXO3zMWosclTqcifgnyKTtWXaF4w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N2Wyl1TPwz12XR; Wed, 2 Nov 2022 16:08:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A2G8V5C080726; Wed, 2 Nov 2022 16:08:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A2G8V6v080725; Wed, 2 Nov 2022 16:08:31 GMT (envelope-from git) Date: Wed, 2 Nov 2022 16:08:31 GMT Message-Id: <202211021608.2A2G8V6v080725@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Piotr Kubaj Subject: git: a8c06a9de066 - stable/13 - ofed: allow using IPv6 address in rc_pingpong server List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a8c06a9de066902599e93b857ecf4d70c007e3c9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667405311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dnGL14fn/30VVyLNlkPLnkHxtGSeiam7UxdGTPjCZXo=; b=NJxAo15v5jOh+ubJX5xt2pXsjlYHYoSR+8EwJEZkskgI31sS5hENsgkEVO8BthJiMwWhz+ xm0JhOBKR/ITIyDelrfd7WR4nWMIaLqF1K3nCxhl2EF5nw2Tpse3qxffDW1RyvA+eeEGta 1Ae2v4AiCNNTdio8mKQEFX13JUwtMdfEKwdwefSd85s3bim5Y4URB4OgluciuDqeg0PHel udDChlMf15LwmtiKRAClx7PWP34+CGqACym4uEgZpKfm4cHXh6KihHljGRlHlSNyhdrc94 TzXN7lyZnlA4YYBat3g08nWQAhyTvpUqIGhzUi5d0pAuPMsQsawmCM9PyvKAOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667405311; a=rsa-sha256; cv=none; b=mdTwuDueecGFTiEOdf0q2G1NVA9ss6pAEKEmPeCYykah6Lod4uzBjcz0ayx1pVU7pcsj0n euCXOeBkBk6GkCErJ4i34USfGHDgSKfwyEgWz/vDkOQ0a9iyfB13rukVWxMRmcsyBjuifz 41v80o5rmzumi13y5JKYoOgJd7Z4flKQY+rIFiBLKo+G4JCOWSCb6KOuFSOtyUcBf4ww03 w5hNA9MSurTdv//ISMdAgiAiqcj71K476+7ZYZcV63Pa3D1tQrrg8tmKb4NDS0Uw7a+OCm gotDd687cXsmR9/YbyqgoZz8EMJpTZ6l9Rn6H6ukqPVkfW/MKRIJHUH+/qMREQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by pkubaj (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=a8c06a9de066902599e93b857ecf4d70c007e3c9 commit a8c06a9de066902599e93b857ecf4d70c007e3c9 Author: Piotr Kubaj AuthorDate: 2022-10-28 09:59:05 +0000 Commit: Piotr Kubaj CommitDate: 2022-11-02 15:58:53 +0000 ofed: allow using IPv6 address in rc_pingpong server Summary: The current OFED code allows binding server to IPv6 address. It was added back in https://github.com/linux-rdma/rdma-core/commit/91fc39561d04903cd5b1665d9215a184baa66ba9 Sponsored by: Intel Corporation MFC after: 3 days Reviewers: hselasky Subscribers: imp Differential Revision: https://reviews.freebsd.org/D37196 (cherry picked from commit 35c87c070a2d04f06c56578b0a4b2e9c13f62be5) --- contrib/ofed/libibverbs/examples/rc_pingpong.c | 2 +- contrib/ofed/libibverbs/examples/srq_pingpong.c | 2 +- contrib/ofed/libibverbs/examples/uc_pingpong.c | 2 +- contrib/ofed/libibverbs/examples/ud_pingpong.c | 2 +- contrib/ofed/libibverbs/examples/xsrq_pingpong.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/ofed/libibverbs/examples/rc_pingpong.c b/contrib/ofed/libibverbs/examples/rc_pingpong.c index 12e427d6bd5e..2c86be2550e9 100644 --- a/contrib/ofed/libibverbs/examples/rc_pingpong.c +++ b/contrib/ofed/libibverbs/examples/rc_pingpong.c @@ -230,7 +230,7 @@ static struct pingpong_dest *pp_server_exch_dest(struct pingpong_context *ctx, struct addrinfo *res, *t; struct addrinfo hints = { .ai_flags = AI_PASSIVE, - .ai_family = AF_INET, + .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM }; char *service; diff --git a/contrib/ofed/libibverbs/examples/srq_pingpong.c b/contrib/ofed/libibverbs/examples/srq_pingpong.c index 703ebd6077c5..36373cebe8f5 100644 --- a/contrib/ofed/libibverbs/examples/srq_pingpong.c +++ b/contrib/ofed/libibverbs/examples/srq_pingpong.c @@ -238,7 +238,7 @@ static struct pingpong_dest *pp_server_exch_dest(struct pingpong_context *ctx, struct addrinfo *res, *t; struct addrinfo hints = { .ai_flags = AI_PASSIVE, - .ai_family = AF_INET, + .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM }; char *service; diff --git a/contrib/ofed/libibverbs/examples/uc_pingpong.c b/contrib/ofed/libibverbs/examples/uc_pingpong.c index 5eed25a2c25f..0f362a424fe1 100644 --- a/contrib/ofed/libibverbs/examples/uc_pingpong.c +++ b/contrib/ofed/libibverbs/examples/uc_pingpong.c @@ -204,7 +204,7 @@ static struct pingpong_dest *pp_server_exch_dest(struct pingpong_context *ctx, struct addrinfo *res, *t; struct addrinfo hints = { .ai_flags = AI_PASSIVE, - .ai_family = AF_INET, + .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM }; char *service; diff --git a/contrib/ofed/libibverbs/examples/ud_pingpong.c b/contrib/ofed/libibverbs/examples/ud_pingpong.c index 0dec9a34980c..07d14ccef718 100644 --- a/contrib/ofed/libibverbs/examples/ud_pingpong.c +++ b/contrib/ofed/libibverbs/examples/ud_pingpong.c @@ -202,7 +202,7 @@ static struct pingpong_dest *pp_server_exch_dest(struct pingpong_context *ctx, struct addrinfo *res, *t; struct addrinfo hints = { .ai_flags = AI_PASSIVE, - .ai_family = AF_INET, + .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM }; char *service; diff --git a/contrib/ofed/libibverbs/examples/xsrq_pingpong.c b/contrib/ofed/libibverbs/examples/xsrq_pingpong.c index 4247f84ad1b5..c8b8a8ebf34c 100644 --- a/contrib/ofed/libibverbs/examples/xsrq_pingpong.c +++ b/contrib/ofed/libibverbs/examples/xsrq_pingpong.c @@ -596,7 +596,7 @@ static int pp_server_connect(int port) int sockfd = -1, connfd; struct addrinfo hints = { .ai_flags = AI_PASSIVE, - .ai_family = AF_INET, + .ai_family = AF_UNSPEC, .ai_socktype = SOCK_STREAM };