Lines Matching +full:non +full:- +full:tunable

1 /* SPDX-License-Identifier: GPL-2.0 */
44 * enum ethtool_phys_id_state - indicator state for physical identification
60 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */
61 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */
62 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */
72 * struct kernel_ethtool_ringparam - RX/TX ring configuration
92 * enum ethtool_supported_ring_param - indicator caps for setting ring params
136 * In a simpler world it should be equal to netdev->carrier_down_count
138 * actually take the physical link down, not to mention NC-SI which,
149 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
178 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask
183 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
186 * ethtool_link_ksettings_add_link_mode - set bit in link_ksettings
194 __set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
197 * ethtool_link_ksettings_del_link_mode - clear bit in link_ksettings
205 __clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
208 * ethtool_link_ksettings_test_link_mode - test bit in ksettings link mode mask
217 test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
232 * ethtool_intersect_link_masks - Given two link masks, AND them together
312 while (n--) in ethtool_stats_init()
370 * struct ethtool_pause_stats - statistics for IEEE 802.3x pause frames
396 * struct ethtool_fec_stats - statistics for IEEE 802.3 FEC
409 * not entire FEC data blocks. This is a non-standard statistic.
412 * @lane: per-lane/PCS-instance counts as defined by the standard
414 * per-lane stats
416 * Drivers should fill in either only total or per-lane statistics, core
427 * struct ethtool_rmon_hist_range - byte range for histogram statistics
439 * struct ethtool_rmon_stats - selected RMON (RFC 2819) statistics
451 * APIs, primarily the packet-length-based counters.
473 * struct ethtool_module_eeprom - EEPROM dump from specified page
495 * struct ethtool_module_power_mode_params - module power mode parameters
496 * @policy: The power mode policy enforced by the host for the plug-in module.
497 * @mode: The operational power mode of the plug-in module. Should be filled by
506 * struct ethtool_mm_state - 802.3 MAC merge layer state
527 * set if the Verify function of the MM layer (which sends SMD-V
532 * respond to received SMD-V requests as long as @pmac_enabled is set.
534 * the minimum size of non-final mPacket fragments that the link partner
538 * to the formula 64 * (1 + addFragSize) - 4), a value in a continuous and
541 * the minimum size of non-final mPacket fragments that this device
557 * struct ethtool_mm_cfg - 802.3 MAC merge layer configuration
573 * struct ethtool_mm_stats - 802.3 MAC merge layer statistics
581 * number of additional correct SMD-C mPackets received due to preemption
598 * struct ethtool_ops - optional netdev operations
609 * @get_wol: Report whether Wake-on-Lan is enabled
610 * @set_wol: Turn Wake-on-Lan on or off. Returns a negative error code
623 * and link_ext_substate are unknown, return -ENODATA. If not implemented,
625 * @get_link_ext_stats: Read extra link-related counters.
651 * @self_test: Run specified self-tests
672 * @get_priv_flags: Report driver-specific feature flags.
673 * @set_priv_flags: Set driver-specific feature flags. Returns a negative
718 * a plug-in module.
719 * @get_module_eeprom: Get the eeprom information from the plug-in module
720 * @get_eee: Get Energy-Efficient (EEE) supported and status.
722 * @get_tunable: Read the value of a driver / device tunable.
723 * @set_tunable: Set the value of a driver / device tunable.
726 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
731 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
746 * Core will sum up per-lane stats to get the total.
755 * @get_phy_tunable: Read the value of a PHY tunable.
756 * @set_phy_tunable: Set the value of a PHY tunable.
757 * @get_module_eeprom_by_page: Get a region of plug-in module EEPROM data from
764 * Set %ranges to a pointer to zero-terminated array of byte ranges.
765 * @get_module_power_mode: Get the power mode policy for the plug-in module
767 * plugged-in.
768 * @set_module_power_mode: Set the power mode policy for the plug-in module
779 * Note that for all operations using a structure ending with a zero-
944 * struct ethtool_phy_ops - Optional PHY device options
977 * ethtool_set_ethtool_phy_ops - Set the ethtool_phy_ops singleton
983 * ethtool_params_from_link_mode - Derive link parameters from a given link mode
992 * ethtool_get_phc_vclocks - Derive phc vclocks information, and caller
1006 * ethtool_mm_frag_size_add_to_min - Translate (standard) additional fragment
1013 return (ETH_ZLEN + ETH_FCS_LEN) * (1 + val_add) - ETH_FCS_LEN; in ethtool_mm_frag_size_add_to_min()
1017 * ethtool_mm_frag_size_min_to_add - Translate (absolute) minimum fragment size
1025 * application of the 802.3 formula 64 * (1 + addFragSize) - 4. To be called
1043 return -EINVAL; in ethtool_mm_frag_size_min_to_add()
1047 * ethtool_sprintf - Write formatted string to ethtool string data