From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
To: Eric Joyner <eric.joyner@amd.com>
Cc: Brett Creeley <brett.creeley@amd.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Shannon Nelson <sln@onemain.com>,
netdev@vger.kernel.org, Simon Horman <horms@kernel.org>,
"Nikhil P. Rao" <nikhil.rao@amd.com>,
Breno Leitao <leitao@debian.org>,
Arun Kumar Prakash <ArunKumar.Prakash@amd.com>
Subject: Re: [PATCH net-next v6 4/6] ionic: map the FEC type through a helper in ionic_get_fecparam()
Date: Wed, 2 Dec 2026 12:27:36 +0000 [thread overview]
Message-ID: <177b4e22-1501-4fa7-922e-628001894851@linux.dev> (raw)
In-Reply-To: <20261201064727.77323-1-eric.joyner@amd.com>
On 01/12/2026 06:47, Eric Joyner wrote:
> On 28/11/2026 13:26, Vadim Fedorenko wrote:
>> On 25/11/2026 23:22, Brett Creeley wrote:
>>> +static u32 ionic_fec_type_to_ethtool(u8 fec_type)
> [...]
>> this added helper can also be used in ionic_get_link_ksettings().
>> no need to respin for this change, but just a possible follow-up
>
> Hi Vadim,
>
> Thanks for the review. I looked at using ionic_fec_type_to_ethtool() in
> ionic_get_link_ksettings() but I couldn't tell where.
>
> If it was to replace the three-way if/else for advertised FEC modes, it
> won't fit there: the helper returns ETHTOOL_FEC_* values, while
> ethtool_link_ksettings_add_link_mode() uses the last mode argument as a
> token that is used to construct another identifier name (maybe it would
> be nicer if it would map the ETHTOOL_FEC_* values instead, I'm not sure).
Yes, I was thinking of mapping to ETHTOOL_FEC_* values, but it looks
like too much to change, so drop this comment.
Thanks for checking.
>
> v7 changes patches 3-6 to address the AI review of patch 3, so it drops
> your Reviewed-by from those four and keeps it on patches 1 and 2.
I'll review them again, thanks for clarity!
>
> Thanks,
> Eric
next prev parent reply other threads:[~2026-12-02 12:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 23:22 [PATCH net-next v6 0/6] ionic: FEC reporting fixes and .get_fec_stats handler Brett Creeley
2026-11-25 23:22 ` [PATCH net-next v6 1/6] ionic: access the extra_stats counters one at a time Brett Creeley
2026-11-26 23:24 ` netdev-bot+sashiko
2026-11-28 13:21 ` Vadim Fedorenko
2026-11-25 23:22 ` [PATCH net-next v6 2/6] ionic: report FEC off as a supported link mode Brett Creeley
2026-11-28 13:22 ` Vadim Fedorenko
2026-11-25 23:22 ` [PATCH net-next v6 3/6] ionic: report the configured FEC mode in ethtool_fecparam.fec Brett Creeley
2026-11-26 23:24 ` netdev-bot+sashiko
2026-11-28 13:23 ` Vadim Fedorenko
2026-11-25 23:22 ` [PATCH net-next v6 4/6] ionic: map the FEC type through a helper in ionic_get_fecparam() Brett Creeley
2026-11-28 13:26 ` Vadim Fedorenko
2026-11-30 16:46 ` Creeley, Brett
2026-12-01 6:47 ` Eric Joyner
2026-12-02 12:27 ` Vadim Fedorenko [this message]
2026-11-25 23:22 ` [PATCH net-next v6 5/6] ionic: report the operational FEC mode from ethtool --show-fec Brett Creeley
2026-11-28 13:27 ` Vadim Fedorenko
2026-11-25 23:22 ` [PATCH net-next v6 6/6] ionic: Add .get_fec_stats ethtool handler Brett Creeley
2026-11-28 10:06 ` Vadim Fedorenko
2026-12-01 16:01 ` [PATCH net-next v6 0/6] ionic: FEC reporting fixes and .get_fec_stats handler Creeley, Brett
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=177b4e22-1501-4fa7-922e-628001894851@linux.dev \
--to=vadim.fedorenko@linux.dev \
--cc=ArunKumar.Prakash@amd.com \
--cc=andrew+netdev@lunn.ch \
--cc=brett.creeley@amd.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=eric.joyner@amd.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=netdev@vger.kernel.org \
--cc=nikhil.rao@amd.com \
--cc=pabeni@redhat.com \
--cc=sln@onemain.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.