Date: Wed, 16 Oct 2019 17:26:24 +0000 (UTC) From: Eric Joyner <erj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r353660 - stable/12/sys/dev/ixgbe Message-ID: <201910161726.x9GHQPHQ074252@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: erj Date: Wed Oct 16 17:26:24 2019 New Revision: 353660 URL: https://svnweb.freebsd.org/changeset/base/353660 Log: MFC r353599 MFCs ixgbe: Disable EEE for backplane X550EM_X This prevents a possible kernel panic on X552 backplane devices. Sponsored by: Intel Corporation Modified: stable/12/sys/dev/ixgbe/if_ix.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/ixgbe/if_ix.c ============================================================================== --- stable/12/sys/dev/ixgbe/if_ix.c Wed Oct 16 17:21:18 2019 (r353659) +++ stable/12/sys/dev/ixgbe/if_ix.c Wed Oct 16 17:26:24 2019 (r353660) @@ -4416,7 +4416,7 @@ ixgbe_sysctl_eee_state(SYSCTL_HANDLER_ARGS) if ((new_eee < 0) || (new_eee > 1)) return (EINVAL); - retval = adapter->hw.mac.ops.setup_eee(&adapter->hw, new_eee); + retval = ixgbe_setup_eee(&adapter->hw, new_eee); if (retval) { device_printf(dev, "Error in EEE setup: 0x%08X\n", retval); return (EINVAL); @@ -4469,8 +4469,6 @@ ixgbe_init_device_features(struct adapter *adapter) case ixgbe_mac_X550EM_x: adapter->feat_cap |= IXGBE_FEATURE_SRIOV; adapter->feat_cap |= IXGBE_FEATURE_FDIR; - if (adapter->hw.device_id == IXGBE_DEV_ID_X550EM_X_KR) - adapter->feat_cap |= IXGBE_FEATURE_EEE; break; case ixgbe_mac_X550EM_a: adapter->feat_cap |= IXGBE_FEATURE_SRIOV;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910161726.x9GHQPHQ074252>