Lines Matching +full:twisted +full:- +full:pair
31 * May be read-only or read-write
36 __u8 mdio_support; /* MDIO protocols supported. Read-only.
45 __u8 eth_tp_mdix; /* twisted pair MDI-X status */
46 __u8 eth_tp_mdix_ctrl; /* twisted pair MDI-X control, when set,
57 ep->speed = (__u16)speed; in ethtool_cmd_speed_set()
58 ep->speed_hi = (__u16)(speed >> 16); in ethtool_cmd_speed_set()
63 return (ep->speed_hi << 16) | ep->speed; in ethtool_cmd_speed()
94 * using ops->get_sset_count(). Obtaining
107 /* wake-on-lan settings */
124 __u32 version; /* driver-specific, indicates different chips/revs */
139 * struct ethtool_eee - Energy Efficient Ethernet information
168 * struct ethtool_modinfo - plugin module eeprom information
185 * struct ethtool_coalesce - coalescing parameters for IRQs and stats updates
205 * @stats_block_coalesce_usecs: How many usecs to delay in-memory
207 * in-memory statistic block, and in such cases this value is
232 * Each pair of (usecs, max_frames) fields specifies this exit
305 * struct ethtool_channels - configuring number of network channel
336 /* If the link is being auto-negotiated (via ethtool_cmd.autoneg
337 * being true) the user may set 'autoneg' here non-zero to have the
338 * pause parameters be auto-negotiated too. In such a case, the
342 * If 'autoneg' is zero or the link is not being auto-negotiated,
343 * then {rx,tx}_pause force the driver to use/not-use pause
380 * enum ethtool_test_flags - flags definition of ethtool_test
405 /* for dumping NIC-specific statistics */
418 /* boolean flags controlling per-interface behavior characteristics.
423 * Some behaviors may read-only (unconditionally absent or present).
424 * If such is the case, return EINVAL in the set-flags operation if the
425 * flag differs from the read-only value.
431 ETH_FLAG_NTUPLE = (1 << 27), /* N-tuple filters enabled */
436 * classification and RX n-tuple configuration. Note, all multibyte
442 * struct ethtool_tcpip4_spec - flow specification for TCP/IPv4 etc.
447 * @tos: Type-of-service
460 * struct ethtool_ah_espip4_spec - flow specification for IPsec/IPv4
464 * @tos: Type-of-service
478 * struct ethtool_usrip4_spec - general flow specification for IPv4
482 * @tos: Type-of-service
507 * struct ethtool_flow_ext - additional RX flow fields
526 * struct ethtool_rx_flow_spec - classification rule for RX flows
552 * struct ethtool_rxnfc - command to get or set RX flow classification rules
553 * @cmd: Specific command number - %ETHTOOL_GRXFH, %ETHTOOL_SRXFH,
557 * @data: Command-dependent value
570 * rules on return. If @data is non-zero on return then it is the
600 * defined in future and drivers must return -%EINVAL for any
614 * struct ethtool_rxfh_indir - command to get or set RX flow hash indirection
615 * @cmd: Specific command number - %ETHTOOL_GRXFHINDIR or %ETHTOOL_SRXFHINDIR
633 * struct ethtool_rx_ntuple_flow_spec - specification for RX flow filter
639 * @data: Driver-dependent data to match
640 * @data_mask: Mask for driver-dependent data bits to be ignored
641 * @action: RX ring/queue index to deliver to (non-negative) or other action
667 #define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) /* drop packet */
668 #define ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) /* clear filter */
672 * struct ethtool_rx_ntuple - command to set or clear RX flow filter
673 * @cmd: Command number - %ETHTOOL_SRXNTUPLE
694 * struct ethtool_dump - used for retrieving, setting device dump
695 * @cmd: Command number - %ETHTOOL_GET_DUMP_FLAG, %ETHTOOL_GET_DUMP_DATA, or
721 * struct ethtool_get_features_block - block with state of 32 features
735 * struct ethtool_gfeatures - command to get state of device's features
748 * struct ethtool_set_features_block - block with request for 32 features
758 * struct ethtool_sfeatures - command to request change in device's features
770 * struct ethtool_ts_info - holds a device's timestamping and PHC association
773 * @phc_index: device index of the associated PHC, or -1 if there is none
797 * Returns %EINVAL when .valid contains undefined or never-changeable bits
798 * or size is not equal to required number of features words (32-bit blocks).
800 * %ETHTOOL_F_UNSUPPORTED - there were bits set in .valid that are not
803 * %ETHTOOL_F_WISH - some or all changes requested were recorded but the
805 * Probably there are other device-specific constraints on some features
808 * %ETHTOOL_F_COMPAT - some or all changes requested were made by calling
813 * bits in the arrays - always multiple of 32) and %ETHTOOL_GSTRINGS commands
833 #define ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */
834 #define ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */
853 #define ETHTOOL_GSG 0x00000018 /* Get scatter-gather enable
855 #define ETHTOOL_SSG 0x00000019 /* Set scatter-gather enable
857 #define ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */
860 #define ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */
870 #define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */
871 #define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */
885 #define ETHTOOL_SRXNTUPLE 0x00000035 /* Add an n-tuple filter to device */
899 #define ETHTOOL_GMODULEINFO 0x00000042 /* Get plug-in module information */
900 #define ETHTOOL_GMODULEEEPROM 0x00000043 /* Get plug-in module eeprom */
978 #define SPEED_UNKNOWN -1
1008 /* MDI or MDI-X status/control - if MDI/MDI_X/AUTO is set then
1013 #define ETH_TP_MDI_X 0x02 /* status: MDI-X; control: force MDI-X */
1014 #define ETH_TP_MDI_AUTO 0x03 /* control: auto-select */
1016 /* Wake-On-Lan options. */
1025 /* L2-L4 network traffic flow types */
1046 /* L3-L4 network traffic flow hash options */