Lines Matching refs:ecmd
97 ixgb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_get_settings() argument
101 ecmd->supported = (SUPPORTED_10000baseT_Full | SUPPORTED_FIBRE); in ixgb_get_settings()
102 ecmd->advertising = (ADVERTISED_10000baseT_Full | ADVERTISED_FIBRE); in ixgb_get_settings()
103 ecmd->port = PORT_FIBRE; in ixgb_get_settings()
104 ecmd->transceiver = XCVR_EXTERNAL; in ixgb_get_settings()
107 ethtool_cmd_speed_set(ecmd, SPEED_10000); in ixgb_get_settings()
108 ecmd->duplex = DUPLEX_FULL; in ixgb_get_settings()
110 ethtool_cmd_speed_set(ecmd, SPEED_UNKNOWN); in ixgb_get_settings()
111 ecmd->duplex = DUPLEX_UNKNOWN; in ixgb_get_settings()
114 ecmd->autoneg = AUTONEG_DISABLE; in ixgb_get_settings()
129 ixgb_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_set_settings() argument
132 u32 speed = ethtool_cmd_speed(ecmd); in ixgb_set_settings()
134 if (ecmd->autoneg == AUTONEG_ENABLE || in ixgb_set_settings()
135 (speed + ecmd->duplex != SPEED_10000 + DUPLEX_FULL)) in ixgb_set_settings()