Thread (44 messages) 44 messages, 5 authors, 2022-09-07

Re: [PATCH net-next 0/2] ice: support FEC automatic disable

From: Gal Pressman <hidden>
Date: 2022-08-25 07:08:46

On 24/08/2022 19:25, Jakub Kicinski wrote:
On Wed, 24 Aug 2022 16:35:41 +0300 Gal Pressman wrote:
quoted
On 23/08/2022 18:04, Jacob Keller wrote:
quoted
2) always treat ETHTOOL_FEC_AUTO as "automatic + allow disable"

  This could work, but it means that behavior will differ depending on the
  firmware version. Users have no way to know that and might be surprised to
  find the behavior differ across devices which have different firmware
  which do or don't support this variation of automatic selection.  
Hi Jacob,
This is exactly how it's already implemented in mlx5, and I don't really
understand how firmware version is related? Is it specific to your
device firmware?
Maybe you can workaround that in the driver?

I feel like we're going the wrong way here having different flags
interpretations by different drivers.
Hm, according to my notes the drivers supporting a single bit and
multiple bits were evenly split when I wrote the docs. Either way
we're going to make someone unhappy?
IMHO, passing both auto and off is confusing.
BTW, I think this is also inconsistent with the direction SONiC took (or
is taking?) with the auto fec mode interpretation?
While we're talking about mlx5 FEC, what does it report on get?
I wasn't sure if it reports the supported or configured mode.
I think it's the configured mode and the active mode.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help