From nobody Mon Jun 13 21:18:55 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 036C183802D for ; Mon, 13 Jun 2022 21:19:17 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LMPZr1jX3z4dLN for ; Mon, 13 Jun 2022 21:19:16 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-pl1-f172.google.com with SMTP id h1so6109764plf.11 for ; Mon, 13 Jun 2022 14:19:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m2lMjQ5BDN+lKQ69CIHtZYEQntqgaauvSGqzPgyv9fw=; b=SrDCU978LuS7zoCJjWxQiKn4fBomp45JrvaGMN0gzc++p7GITK7/Em0u+lRUdqkpzb hkBbaF/1wxjv8Eggup6OmL98jEkggtmjKG6ZhJ5Mzx5tonWRp1YaF5NO9jUd9+UtbxD+ QB2Cbr/tWLdIvyHvwEhJgCdu332G2HhRInEpxDCA1IaUebCHpHPNW1aTJrfL5hvhTNMw M4xUxhxzNzqVdcK32jWQxMImwlaSmChZyOJ3H8+TycNc7zXg7z2P3mqSHtszhLa0aGOy O3+/tuVyBPZqIyHILPNZh05Q6VkZ/rVNQIm53371tICkFA0aOHLvk717NwpQb0dfIM0Z 7XbA== X-Gm-Message-State: AJIora+/dgJcb8HfrE7XKrvv3sIE4L6FQTPoNrzUL9uwcKay32c5kFAl Sv0X1FfLM4dLTxfF0ezpnNd7YvdVjTo= X-Google-Smtp-Source: AGRyM1v6Fx9UBt+c8IJ8ysxNI5O/CPi6RJcZEXN+INspMHSXEp2nhVHIu73ezBEkIrquMzBzs3QS5w== X-Received: by 2002:a17:903:2281:b0:167:56a9:9359 with SMTP id b1-20020a170903228100b0016756a99359mr897372plh.126.1655155147209; Mon, 13 Jun 2022 14:19:07 -0700 (PDT) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com. [209.85.216.45]) by smtp.gmail.com with ESMTPSA id jf3-20020a170903268300b00168a4ee4dc7sm5589869plb.32.2022.06.13.14.19.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jun 2022 14:19:06 -0700 (PDT) Received: by mail-pj1-f45.google.com with SMTP id mh16-20020a17090b4ad000b001e8313301f1so196565pjb.1 for ; Mon, 13 Jun 2022 14:19:06 -0700 (PDT) X-Received: by 2002:a17:903:234d:b0:167:4b11:aa7 with SMTP id c13-20020a170903234d00b001674b110aa7mr1039619plh.89.1655155145945; Mon, 13 Jun 2022 14:19:05 -0700 (PDT) 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 References: <202205232354.24NNs69N032987@gitrepo.freebsd.org> In-Reply-To: From: Eric Joyner Date: Mon, 13 Jun 2022 14:18:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: cdcd52d41e24 - main - irdma: Add RDMA driver for Intel(R) Ethernet Controller E810 To: John Baldwin Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="00000000000085d1e305e15ad653" X-Rspamd-Queue-Id: 4LMPZr1jX3z4dLN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ricera10@gmail.com designates 209.85.214.172 as permitted sender) smtp.mailfrom=ricera10@gmail.com X-Spamd-Result: default: False [-1.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[dev-commits-src-main@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.09)[0.087]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.214.172:from,209.85.216.45:received]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MLMMJ_DEST(0.00)[dev-commits-src-main]; FORGED_SENDER(0.30)[erj@freebsd.org,ricera10@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.214.172:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[erj@freebsd.org,ricera10@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-ThisMailContainsUnwantedMimeParts: N --00000000000085d1e305e15ad653 Content-Type: text/plain; charset="UTF-8" On Fri, Jun 10, 2022 at 3:29 PM John Baldwin wrote: > On 5/23/22 4:54 PM, Eric Joyner wrote: > > The branch main has been updated by erj: > > > > URL: > https://cgit.FreeBSD.org/src/commit/?id=cdcd52d41e246ba1c0fcfad0769bd691487355ef > > > > commit cdcd52d41e246ba1c0fcfad0769bd691487355ef > > Author: Bartosz Sobczak > > AuthorDate: 2022-05-23 23:39:27 +0000 > > Commit: Eric Joyner > > CommitDate: 2022-05-23 23:52:49 +0000 > > > > irdma: Add RDMA driver for Intel(R) Ethernet Controller E810 > > > > This is an initial commit for RDMA FreeBSD driver for Intel(R) > Ethernet > > Controller E810, called irdma. Supporting both RoCEv2 and iWARP > > protocols in per-PF manner, RoCEv2 being the default. > > > > Testing has been done using krping tool, perftest, ucmatose, rping, > > ud_pingpong, rc_pingpong and others. > > > > Signed-off-by: Eric Joyner > > > > Reviewed by: #manpages (pauamma_gundo.com) [documentation] > > MFC after: 1 week > > Relnotes: yes > > Sponsored by: Intel Corporation > > Differential Revision: https://reviews.freebsd.org/D34690 > > I'm trying to get the tree building again with GCC and ld.bfd does not like > libirdma.map at all complaining with an error: > > duplicate expression '*' in version information > > I looked at the version map, and it seems rather bogus to me and not like > version maps used anywhere else. It seems to be exporting all symbols in > two different versions? That would seem to defeat the point of having > symbol versions? > > /* Export symbols should be added below according to > Documentation/versioning.md document. */ > IRDMA_1.0 { > global: *; > local: *; > }; > > IRDMA_1.1 { > global: *; > } IRDMA_1.0; > > (I'm also not sure why lld accepts such a version map.) > > -- > John Baldwin > Hi, I don't know how to answer this; I'm going to forward this to the FreeBSD RDMA guy and another one (the first guy might still be out on vacation) and see if they can answer this. - Eric --00000000000085d1e305e15ad653 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jun 10, 2022 at 3:29 PM John Bald= win <jhb@freebsd.org> wrote:
On 5/23/22 4:54 PM, Eric Joyner wrote:
> The branch main has been updated by erj:
>
> URL: https://= cgit.FreeBSD.org/src/commit/?id=3Dcdcd52d41e246ba1c0fcfad0769bd691487355ef<= /a>
>
> commit cdcd52d41e246ba1c0fcfad0769bd691487355ef
> Author:=C2=A0 =C2=A0 =C2=A0Bartosz Sobczak <
bartosz.sobczak@intel.com> > AuthorDate: 2022-05-23 23:39:27 +0000
> Commit:=C2=A0 =C2=A0 =C2=A0Eric Joyner <erj@FreeBSD.org>
> CommitDate: 2022-05-23 23:52:49 +0000
>
>=C2=A0 =C2=A0 =C2=A0 irdma: Add RDMA driver for Intel(R) Ethernet Contr= oller E810
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 This is an initial commit for RDMA FreeBSD driver = for Intel(R) Ethernet
>=C2=A0 =C2=A0 =C2=A0 Controller E810, called irdma.=C2=A0 Supporting bo= th RoCEv2 and iWARP
>=C2=A0 =C2=A0 =C2=A0 protocols in per-PF manner, RoCEv2 being the defau= lt.
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 Testing has been done using krping tool, perftest,= ucmatose, rping,
>=C2=A0 =C2=A0 =C2=A0 ud_pingpong, rc_pingpong and others.
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 Signed-off-by: Eric Joyner <erj@FreeBSD.org>=
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 #manpages (pauamma_gundo.= com) [documentation]
>=C2=A0 =C2=A0 =C2=A0 MFC after:=C2=A0 =C2=A0 =C2=A0 1 week
>=C2=A0 =C2=A0 =C2=A0 Relnotes:=C2=A0 =C2=A0 =C2=A0 =C2=A0yes
>=C2=A0 =C2=A0 =C2=A0 Sponsored by:=C2=A0 =C2=A0Intel Corporation
>=C2=A0 =C2=A0 =C2=A0 Differential Revision:=C2=A0 https://revi= ews.freebsd.org/D34690

I'm trying to get the tree building again with GCC and ld.bfd does not = like
libirdma.map at all complaining with an error:

duplicate expression '*' in version information

I looked at the version map, and it seems rather bogus to me and not like version maps used anywhere else.=C2=A0 It seems to be exporting all symbols= in
two different versions?=C2=A0 That would seem to defeat the point of having=
symbol versions?

/* Export symbols should be added below according to
=C2=A0 =C2=A0 Documentation/versioning.md document. */
IRDMA_1.0 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 global: *;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 local: *;
};

IRDMA_1.1 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 global: *;
} IRDMA_1.0;

(I'm also not sure why lld accepts such a version map.)

--
John Baldwin

Hi,

I don't know how to answer this; I'm going to forward this to th= e FreeBSD RDMA guy and another one (the first guy might still be out on vac= ation) and see if they can answer this.

- Eric
--00000000000085d1e305e15ad653--