From nobody Fri Nov 04 15:57:34 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 4N3ldC1rmPz4h6bx; Fri, 4 Nov 2022 15:57:35 +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 4N3ldC1QGsz3Cjk; Fri, 4 Nov 2022 15:57:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667577455; 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=Es2ppEJNVvbhTlFKNHGp5gEJHd1mh/MdDNiQfiHfbu4=; b=ASdDtjcEdL0By/b70arHi3u6CT8414d+0aOoVld2q8NeLgsQyTr01h212tPahOioZCDmWh 2wvIovu/d3MmTUROWm+x67LJ1H7j1iRtmY7njV2Sbgr8vk0sZwA8j3M73SnDpgTUB8aqQU hiK8ObzyBxIelCMhX/T+gzerypgx8zRna1OOIYZJmFDsHzjUl422MNYFH4mAiQDBWdXP2G FRr4ldDyWnvX0vsi6rqjpqsvqd4PJTP44zwuJCYzqbL6Mfll9j2yt3QEuOo63kdAoHHCtY jeuSf2PemYBxOp3dsWBi6zyeNPHLtbxm9y+V09jR2RKl67FvCDAgHFmSC25Ffg== 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 4N3ldC0VBvz1MY9; Fri, 4 Nov 2022 15:57:35 +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 2A4FvYVh038053; Fri, 4 Nov 2022 15:57:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A4FvYhi038052; Fri, 4 Nov 2022 15:57:34 GMT (envelope-from git) Date: Fri, 4 Nov 2022 15:57:34 GMT Message-Id: <202211041557.2A4FvYhi038052@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: 369e3367d66c - releng/12.4 - 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/releng/12.4 X-Git-Reftype: branch X-Git-Commit: 369e3367d66cd6ba3a96d7ab1d02e37099b2bf28 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667577455; 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=Es2ppEJNVvbhTlFKNHGp5gEJHd1mh/MdDNiQfiHfbu4=; b=jnDFcftFzE4wQ1/lNxCJEHilvktWIj4K09ZANPfl/EwW5GzI3291gISX8bifl5W1K6wcn9 l20/Agvxo6PCkIRLQuLbrI57Bmiu1aOaBY0vvLsAG9ADqFQ1zQ+bypoRk22wZGOG2nuDGd tjGPln3KcFHnQ0NNQ8vHj4VVKahoztLrweQpWjZoxG2kffcLqzBrk2zf5gj848WvU+j24t C36DWhZEQm6zeCL70slNmBB75LAtOR5xqWq7l29BqKKmC4UzhkbtJEie8bRGaIblfQr0Zx shQzALRSdmAEmbbfncqAi2QUGtAl71Qw7YR1jWcfZQmSzAXkV6v0QVxd47ws9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667577455; a=rsa-sha256; cv=none; b=ZAGNA43pMq+qb94xdiqnVl99wmIqRcJWWOVhRHZLbTtVMlr8X03CgRWABuzpdLSZ1jvd+e jl3QDywSwmG8AXQQPd23bDsHxAbKTd+RsMizbZ0SxHwI8Rupu/dL5/krlyypRzRVxLdrj9 T3NnbIYqQ/uJEgBkkgcIKwoe6859g0Aah1pEitcJn7lyGwbSBMNpXf+w3eD/Mduqux1f2A dfmzgDCH7gBILgHAPHc//L7MeS+XBxFQvVkmuIu348ctmrMhDTQiN1pLJYeGs+UmyVvZM1 9cQ/vEf5+oc4WuDJzzEGGxvZmo530YKSAFfyTfnS/TlLDQ+41Sv5qhgwESR41A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch releng/12.4 has been updated by pkubaj (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=369e3367d66cd6ba3a96d7ab1d02e37099b2bf28 commit 369e3367d66cd6ba3a96d7ab1d02e37099b2bf28 Author: Piotr Kubaj AuthorDate: 2022-10-28 09:59:05 +0000 Commit: Piotr Kubaj CommitDate: 2022-11-04 15:57:11 +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 Approved by: re (gjb) (cherry picked from commit 35c87c070a2d04f06c56578b0a4b2e9c13f62be5) (cherry picked from commit a8c06a9de066902599e93b857ecf4d70c007e3c9) (cherry picked from commit a43afddd4325cf725c5b0897bfa43e31ac684f29) --- 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 d01bdb80092a..1e2601612742 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 1b40aa6076c0..676572b559c4 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 fb030dc535b8..6225d6cda70c 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 419925ab1d40..266b5964a41b 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 b3c7f703441f..83abaf7780d8 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 };