From nobody Sun Oct 30 19:12:45 2022 X-Original-To: dev-commits-src-main@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 4N0mBj5S47z4gMFd; Sun, 30 Oct 2022 19:12:45 +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 4N0mBj4vM8z3Txx; Sun, 30 Oct 2022 19:12:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667157165; 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=SOxY624xbhLVzh7uFCJVsdjiDoPUZbFNNJ/4NGz9Xn4=; b=faDzSqWnqgNIgNhCXfC6YsAcN0nhaZaV28j5Bpx1NO9B6/L0KHB5/qjaDjnq5YeRU6R6Jy owq6tHasRxQ+C62mDF7L/rZp0iU8MBdIz9qsUaAO70XftyOWyQ4Lct2tI1BQkABPTjhuVl hmFCY/nHQgbHU/FdtbTzyKLMqD4LnP4MwDfVKMVmOULz+Z105IkkZWrDTzkmXwOtBgJD+X V6uYMxhjnZs3Yz6lVb5MjNT6roWfAnw8mvm34XAz8O48eoKoi6/dhxAzL281olKfJ5h/Wd Nt/8E/qWXYw0BYbN2v7gMVIuyzd87MoVRVnkkPniNJyI45x5hWXEH3xATKiIsw== 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 4N0mBj3wrBz177B; Sun, 30 Oct 2022 19:12:45 +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 29UJCjt0040094; Sun, 30 Oct 2022 19:12:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29UJCjhP040093; Sun, 30 Oct 2022 19:12:45 GMT (envelope-from git) Date: Sun, 30 Oct 2022 19:12:45 GMT Message-Id: <202210301912.29UJCjhP040093@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Piotr Kubaj Subject: git: 35c87c070a2d - main - ofed: allow using IPv6 address in rc_pingpong server List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 35c87c070a2d04f06c56578b0a4b2e9c13f62be5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667157165; 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=SOxY624xbhLVzh7uFCJVsdjiDoPUZbFNNJ/4NGz9Xn4=; b=LdAHpOUr0hvl3dmvRXqZ8YGmtiegIbVH9jXflpDC8r/tQ1qIco75JWXR2XeBuksFgsZiom 21gQhmd5jRo7onON3O9nXAqd1c2hSufhTGyJWSt5N4yscxNoDHrzphiKSN1UQFltfsUenB tPkrjPa7dCpoo1U9O2T1IJVBy3U+lJbru4g92aDDnU8F9wt/LOq7fh/jtJOa+vrEZ/tQZ3 ojg+aApBq0fYrlZv3v4Ml/csA4dCma1tSxPBLUQsiEnFp+DKMeUE1uH4l0CTKJB7ctSZpt meaNd5IA9Ccw443y8NL2hw4G2yTh7G8r/Ipa9t14Gzo/NWRx0H23E34vc3c5Eg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667157165; a=rsa-sha256; cv=none; b=usg5H+uQaXZuN97nwdxXb2jOkmUh46jCcNIuhY48ZHjbiNPcDuZ6mBSsovUxvHi6aR6Ngf PMnwWkWx58b7Gl3cfw5cnA6VMwb6wtHiiYpCH0oPhY/j8aJsK6aOivFdqVcrxLR3uhyTX6 OfuaYgc2CrYH8Rz7rZI2Z/tw27F0fG5T28wKFWmWGPVY+TAn16J3T+YNs2gWrBWS33XEM1 qYLcFw4afHMa+b9uf+H6w01ZOSkDQMeapZJXnuFUPVEbJ2exHxk6l6O3pGXHCtptN1Sy91 Q+f3SEMHNl9cz+ZZ8RqJzCQBLs2mGFOQXV711WIKgPhTAxgQg+vYMatfOzQ1uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=35c87c070a2d04f06c56578b0a4b2e9c13f62be5 commit 35c87c070a2d04f06c56578b0a4b2e9c13f62be5 Author: Piotr Kubaj AuthorDate: 2022-10-28 09:59:05 +0000 Commit: Piotr Kubaj CommitDate: 2022-10-30 19:11:41 +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 --- 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 };