From: Stephen Hemminger <stephen@networkplumber.org>
To: Roman Khromenok <roma55592@yandex.ru>
Cc: dev@dpdk.org
Subject: Re: [PATCH 1/2] ethdev: decode newer SFF compliance codes
Date: Sat, 10 Oct 2026 11:23:18 -0700 [thread overview]
Message-ID: <20261010112318.483bbdc9@phoenix.local> (raw)
In-Reply-To: <835d139c746faff456f14755b7af7395b713bd70.1791574390.git.roma55592@yandex.ru>
On Fri, 9 Oct 2026 21:34:26 +0200
Roman Khromenok <roma55592@yandex.ru> wrote:
> Decode the compliance codes added by SFF-8472 Rev 12.5a and
> SFF-8636 Rev 2.12, as ethtool does since commits 057c4fd and
> 75d6232:
>
> - SFF-8472 byte 10: Fibre Channel 1600 and 3200 MBytes/s.
> - SFF-8636 byte 133: SAS 24.0G, and SAS 12.0G which was defined
> but not reported.
> - SFF-8636 byte 138: Fibre Channel 3200 MBytes/s.
>
> Also decode the SFF-8472 Fibre Channel Speed 2 byte 62 (64GFC),
> which byte 10 bit 1 refers to. ethtool does not decode it.
>
> Signed-off-by: Roman Khromenok <roma55592@yandex.ru>
> ---
AI feedback.
Subject: Re: [PATCH 1/2] ethdev: decode newer SFF compliance codes
Bit assignments match SFF-8472 Table 5-3 (byte 10, byte 62) and
SFF-8636 Table 6-17 (bytes 133, 138). Gating byte 62 on byte 10
bit 1 is correct, and the A0 buffer is always 256 bytes so the
byte 62 read is in bounds. Nothing blocking; a few small items.
[PATCH 1/2] ethdev: decode newer SFF compliance codes
Info:
- "FC: 64GFC" breaks the naming of every other entry in this
group, which all give MBytes/sec. 64GFC is 6400 MBytes/sec:
if ((data[10] & (1 << 1)) && (data[62] & (1 << 0)))
sff_output_field(d, name, "FC: 6400 MBytes/sec");
- Refer to the ethtool commits 057c4fd and 75d6232 with
12 character hashes and the subject in ("...") form, so they
can be found without guessing.
next prev parent reply other threads:[~2026-10-10 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 19:34 [PATCH 1/2] ethdev: decode newer SFF compliance codes Roman Khromenok
2026-10-09 19:34 ` [PATCH 2/2] test: check " Roman Khromenok
2026-10-10 18:23 ` Stephen Hemminger
2026-10-10 18:23 ` Stephen Hemminger [this message]
2026-10-10 18:42 ` [PATCH v2 1/2] ethdev: decode " Roman Khromenok
2026-10-10 18:42 ` [PATCH v2 2/2] test: check " Roman Khromenok
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261010112318.483bbdc9@phoenix.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=roma55592@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox