Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-12 Thread Nguyen, Anthony L
On Fri, 2020-10-09 at 16:36 -0700, Jakub Kicinski wrote: > On Wed, 7 Oct 2020 16:10:48 -0700 Tony Nguyen wrote: > > + if (hw->mac.type == I40E_MAC_X722 && > > + !(hw->flags & I40E_HW_FLAG_X722_FEC_REQUEST_CAPABLE)) { > > + netdev_err(netdev, "Setting FEC encoding not supported >

Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-09 Thread Jakub Kicinski
On Wed, 7 Oct 2020 16:10:48 -0700 Tony Nguyen wrote: > + if (hw->mac.type == I40E_MAC_X722 && > + !(hw->flags & I40E_HW_FLAG_X722_FEC_REQUEST_CAPABLE)) { > + netdev_err(netdev, "Setting FEC encoding not supported by > firmware. Please update the NVM image.\n"); > +

Re: [net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-09 Thread Willem de Bruijn
On Wed, Oct 7, 2020 at 7:11 PM Tony Nguyen wrote: > > From: Jaroslaw Gawin > > Starting with API version 1.10 firmware for X722 devices has ability > to change FEC settings in PHY. Code added in this patch allows > changing FEC settings if the capability flag indicates the device > supports this

[net-next 1/3] i40e: Allow changing FEC settings on X722 if supported by FW

2020-10-07 Thread Tony Nguyen
From: Jaroslaw Gawin Starting with API version 1.10 firmware for X722 devices has ability to change FEC settings in PHY. Code added in this patch allows changing FEC settings if the capability flag indicates the device supports this feature. Signed-off-by: Jaroslaw Gawin Signed-off-by: Aleksand