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"); > + return -EINVAL;
EOPNOTSUPP, since no FEC settings are supported by the device at the time of request.