Lines Matching +full:self +full:- +full:advertising
1 /* SPDX-License-Identifier: GPL-2.0 */
43 * enum ethtool_phys_id_state - indicator state for physical identification
59 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */
60 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */
61 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */
102 * ethtool_rxfh_indir_default - get default value for RX flow hash indirection
124 __ETHTOOL_DECLARE_LINK_MODE_MASK(advertising);
131 * ethtool_link_ksettings_zero_link_mode - clear link_ksettings link mode mask
133 * @name : one of supported/advertising/lp_advertising
136 bitmap_zero((ptr)->link_modes.name, __ETHTOOL_LINK_MODE_MASK_NBITS)
139 * ethtool_link_ksettings_add_link_mode - set bit in link_ksettings
142 * @name : one of supported/advertising/lp_advertising
147 __set_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
150 * ethtool_link_ksettings_del_link_mode - clear bit in link_ksettings
153 * @name : one of supported/advertising/lp_advertising
158 __clear_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
161 * ethtool_link_ksettings_test_link_mode - test bit in ksettings link mode mask
163 * @name : one of supported/advertising/lp_advertising
170 test_bit(ETHTOOL_LINK_MODE_ ## mode ## _BIT, (ptr)->link_modes.name)
182 * ethtool_intersect_link_masks - Given two link masks, AND them together
255 while (n--) in ethtool_stats_init()
304 * struct ethtool_pause_stats - statistics for IEEE 802.3x pause frames
325 * struct ethtool_fec_stats - statistics for IEEE 802.3 FEC
338 * not entire FEC data blocks. This is a non-standard statistic.
341 * @lane: per-lane/PCS-instance counts as defined by the standard
343 * per-lane stats
345 * Drivers should fill in either only total or per-lane statistics, core
356 * struct ethtool_rmon_hist_range - byte range for histogram statistics
368 * struct ethtool_rmon_stats - selected RMON (RFC 2819) statistics
378 * APIs, primarily the packet-length-based counters.
397 * struct ethtool_module_eeprom - EEPROM dump from specified page
419 * struct ethtool_ops - optional netdev operations
429 * @get_wol: Report whether Wake-on-Lan is enabled
430 * @set_wol: Turn Wake-on-Lan on or off. Returns a negative error code
443 * and link_ext_substate are unknown, return -ENODATA. If not implemented,
470 * @self_test: Run specified self-tests
491 * @get_priv_flags: Report driver-specific feature flags.
492 * @set_priv_flags: Set driver-specific feature flags. Returns a negative
536 * a plug-in module.
537 * @get_module_eeprom: Get the eeprom information from the plug-in module
538 * @get_eee: Get Energy-Efficient (EEE) supported and status.
544 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
549 * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
564 * Core will sum up per-lane stats to get the total.
575 * @get_module_eeprom_by_page: Get a region of plug-in module EEPROM data from
582 * Set %ranges to a pointer to zero-terminated array of byte ranges.
589 * Note that for all operations using a structure ending with a zero-
735 * struct ethtool_phy_ops - Optional PHY device options
758 * ethtool_set_ethtool_phy_ops - Set the ethtool_phy_ops singleton
764 * ethtool_params_from_link_mode - Derive link parameters from a given link mode
773 * ethtool_get_phc_vclocks - Derive phc vclocks information, and caller
783 * ethtool_sprintf - Write formatted string to ethtool string data