Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 16:38:05 -0700
From:      Eric Joyner <erj@erj.cc>
To:        Ed Maste <emaste@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: e0a63d875eeb - main - pciconf: add PCIe 5.0 and PCIe 6.0 link speeds
Message-ID:  <CAKdFRZh0ncXgMFnasC5AO1=bjtiA2vd-J=5GSjZXAZBP6LY1dQ@mail.gmail.com>
In-Reply-To: <202307201739.36KHddue021046@gitrepo.freebsd.org>
References:  <202307201739.36KHddue021046@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006fa3600600f3a421
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sweet! I can't wait to see these speeds reported on devices. :p

- Eric

On Thu, Jul 20, 2023 at 10:39=E2=80=AFAM Ed Maste <emaste@freebsd.org> wrot=
e:

> The branch main has been updated by emaste:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=3De0a63d875eeb630092034808b0795a9=
35d5c0934
>
> commit e0a63d875eeb630092034808b0795a935d5c0934
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2023-06-21 20:23:18 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2023-07-20 17:39:17 +0000
>
>     pciconf: add PCIe 5.0 and PCIe 6.0 link speeds
>
>     Reviewed by:    jhb
>     Sponsored by:   The FreeBSD Foundation
>     Differential Revision:  https://reviews.freebsd.org/D40710
> ---
>  usr.sbin/pciconf/cap.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c
> index 3d28fe9bc331..9cae4bc49e03 100644
> --- a/usr.sbin/pciconf/cap.c
> +++ b/usr.sbin/pciconf/cap.c
> @@ -396,6 +396,10 @@ link_speed_string(uint8_t speed)
>                 return ("8.0");
>         case 4:
>                 return ("16.0");
> +       case 5:
> +               return ("32.0");
> +       case 6:
> +               return ("64.0");
>         default:
>                 return ("undef");
>         }
>

--0000000000006fa3600600f3a421
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Sweet! I can&#39;t wait to see these spee=
ds reported on devices. :p<div><br></div><div>- Eric</div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jul 20, 2=
023 at 10:39=E2=80=AFAM Ed Maste &lt;<a href=3D"mailto:emaste@freebsd.org">=
emaste@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">The branch main has been updated by emaste:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3De0a63d875eeb63009=
2034808b0795a935d5c0934" rel=3D"noreferrer" target=3D"_blank">https://cgit.=
FreeBSD.org/src/commit/?id=3De0a63d875eeb630092034808b0795a935d5c0934</a><b=
r>
<br>
commit e0a63d875eeb630092034808b0795a935d5c0934<br>
Author:=C2=A0 =C2=A0 =C2=A0Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
AuthorDate: 2023-06-21 20:23:18 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Ed Maste &lt;emaste@FreeBSD.org&gt;<br>
CommitDate: 2023-07-20 17:39:17 +0000<br>
<br>
=C2=A0 =C2=A0 pciconf: add PCIe 5.0 and PCIe 6.0 link speeds<br>
<br>
=C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 jhb<br>
=C2=A0 =C2=A0 Sponsored by:=C2=A0 =C2=A0The FreeBSD Foundation<br>
=C2=A0 =C2=A0 Differential Revision:=C2=A0 <a href=3D"https://reviews.freeb=
sd.org/D40710" rel=3D"noreferrer" target=3D"_blank">https://reviews.freebsd=
.org/D40710</a><br>
---<br>
=C2=A0usr.sbin/pciconf/cap.c | 4 ++++<br>
=C2=A01 file changed, 4 insertions(+)<br>
<br>
diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c<br>
index 3d28fe9bc331..9cae4bc49e03 100644<br>
--- a/usr.sbin/pciconf/cap.c<br>
+++ b/usr.sbin/pciconf/cap.c<br>
@@ -396,6 +396,10 @@ link_speed_string(uint8_t speed)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return (&quot;8.0&q=
uot;);<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 case 4:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return (&quot;16.0&=
quot;);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0case 5:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return (&quot;32.0&=
quot;);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0case 6:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return (&quot;64.0&=
quot;);<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 default:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return (&quot;undef=
&quot;);<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 }<br>
</blockquote></div></div>

--0000000000006fa3600600f3a421--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKdFRZh0ncXgMFnasC5AO1=bjtiA2vd-J=5GSjZXAZBP6LY1dQ>