Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/if_ether.h>
Go to the source code of this file.
Data Structures | |
struct | ethtool_cmd |
struct | ethtool_drvinfo |
struct | ethtool_wolinfo |
struct | ethtool_value |
struct | ethtool_regs |
struct | ethtool_eeprom |
struct | ethtool_eee |
struct | ethtool_modinfo |
struct | ethtool_coalesce |
struct | ethtool_ringparam |
struct | ethtool_channels |
struct | ethtool_pauseparam |
struct | ethtool_gstrings |
struct | ethtool_sset_info |
struct | ethtool_test |
struct | ethtool_stats |
struct | ethtool_perm_addr |
struct | ethtool_tcpip4_spec |
struct | ethtool_ah_espip4_spec |
struct | ethtool_usrip4_spec |
union | ethtool_flow_union |
struct | ethtool_flow_ext |
struct | ethtool_rx_flow_spec |
struct | ethtool_rxnfc |
struct | ethtool_rxfh_indir |
struct | ethtool_rx_ntuple_flow_spec |
struct | ethtool_rx_ntuple |
struct | ethtool_flash |
struct | ethtool_dump |
struct | ethtool_get_features_block |
struct | ethtool_gfeatures |
struct | ethtool_set_features_block |
struct | ethtool_sfeatures |
struct | ethtool_ts_info |
Macros | |
#define | ETH_MDIO_SUPPORTS_C22 1 |
#define | ETH_MDIO_SUPPORTS_C45 2 |
#define | ETHTOOL_FWVERS_LEN 32 |
#define | ETHTOOL_BUSINFO_LEN 32 |
#define | SOPASS_MAX 6 |
#define | ETH_GSTRING_LEN 32 |
#define | ETH_RX_NFC_IP4 1 |
#define | ETHTOOL_RXNTUPLE_ACTION_DROP (-1) /* drop packet */ |
#define | ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) /* clear filter */ |
#define | ETHTOOL_FLASH_MAX_FILENAME 128 |
#define | ETH_FW_DUMP_DISABLE 0 |
#define | ETHTOOL_F_UNSUPPORTED (1 << ETHTOOL_F_UNSUPPORTED__BIT) |
#define | ETHTOOL_F_WISH (1 << ETHTOOL_F_WISH__BIT) |
#define | ETHTOOL_F_COMPAT (1 << ETHTOOL_F_COMPAT__BIT) |
#define | ETHTOOL_GSET 0x00000001 /* Get settings. */ |
#define | ETHTOOL_SSET 0x00000002 /* Set settings. */ |
#define | ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */ |
#define | ETHTOOL_GREGS 0x00000004 /* Get NIC registers. */ |
#define | ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */ |
#define | ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */ |
#define | ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */ |
#define | ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */ |
#define | ETHTOOL_NWAY_RST 0x00000009 /* Restart autonegotiation. */ |
#define | ETHTOOL_GLINK 0x0000000a |
#define | ETHTOOL_GEEPROM 0x0000000b /* Get EEPROM data */ |
#define | ETHTOOL_SEEPROM 0x0000000c /* Set EEPROM data. */ |
#define | ETHTOOL_GCOALESCE 0x0000000e /* Get coalesce config */ |
#define | ETHTOOL_SCOALESCE 0x0000000f /* Set coalesce config. */ |
#define | ETHTOOL_GRINGPARAM 0x00000010 /* Get ring parameters */ |
#define | ETHTOOL_SRINGPARAM 0x00000011 /* Set ring parameters. */ |
#define | ETHTOOL_GPAUSEPARAM 0x00000012 /* Get pause parameters */ |
#define | ETHTOOL_SPAUSEPARAM 0x00000013 /* Set pause parameters. */ |
#define | ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */ |
#define | ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */ |
#define | ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */ |
#define | ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */ |
#define | ETHTOOL_GSG |
#define | ETHTOOL_SSG |
#define | ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */ |
#define | ETHTOOL_GSTRINGS 0x0000001b /* get specified string set */ |
#define | ETHTOOL_PHYS_ID 0x0000001c /* identify the NIC */ |
#define | ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */ |
#define | ETHTOOL_GTSO 0x0000001e /* Get TSO enable (ethtool_value) */ |
#define | ETHTOOL_STSO 0x0000001f /* Set TSO enable (ethtool_value) */ |
#define | ETHTOOL_GPERMADDR 0x00000020 /* Get permanent hardware address */ |
#define | ETHTOOL_GUFO 0x00000021 /* Get UFO enable (ethtool_value) */ |
#define | ETHTOOL_SUFO 0x00000022 /* Set UFO enable (ethtool_value) */ |
#define | ETHTOOL_GGSO 0x00000023 /* Get GSO enable (ethtool_value) */ |
#define | ETHTOOL_SGSO 0x00000024 /* Set GSO enable (ethtool_value) */ |
#define | ETHTOOL_GFLAGS 0x00000025 /* Get flags bitmap(ethtool_value) */ |
#define | ETHTOOL_SFLAGS 0x00000026 /* Set flags bitmap(ethtool_value) */ |
#define | ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */ |
#define | ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */ |
#define | ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */ |
#define | ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */ |
#define | ETHTOOL_GGRO 0x0000002b /* Get GRO enable (ethtool_value) */ |
#define | ETHTOOL_SGRO 0x0000002c /* Set GRO enable (ethtool_value) */ |
#define | ETHTOOL_GRXRINGS 0x0000002d /* Get RX rings available for LB */ |
#define | ETHTOOL_GRXCLSRLCNT 0x0000002e /* Get RX class rule count */ |
#define | ETHTOOL_GRXCLSRULE 0x0000002f /* Get RX classification rule */ |
#define | ETHTOOL_GRXCLSRLALL 0x00000030 /* Get all RX classification rule */ |
#define | ETHTOOL_SRXCLSRLDEL 0x00000031 /* Delete RX classification rule */ |
#define | ETHTOOL_SRXCLSRLINS 0x00000032 /* Insert RX classification rule */ |
#define | ETHTOOL_FLASHDEV 0x00000033 /* Flash firmware to device */ |
#define | ETHTOOL_RESET 0x00000034 /* Reset hardware */ |
#define | ETHTOOL_SRXNTUPLE 0x00000035 /* Add an n-tuple filter to device */ |
#define | ETHTOOL_GRXNTUPLE 0x00000036 /* deprecated */ |
#define | ETHTOOL_GSSET_INFO 0x00000037 /* Get string set info */ |
#define | ETHTOOL_GRXFHINDIR 0x00000038 /* Get RX flow hash indir'n table */ |
#define | ETHTOOL_SRXFHINDIR 0x00000039 /* Set RX flow hash indir'n table */ |
#define | ETHTOOL_GFEATURES 0x0000003a /* Get device offload settings */ |
#define | ETHTOOL_SFEATURES 0x0000003b /* Change device offload settings */ |
#define | ETHTOOL_GCHANNELS 0x0000003c /* Get no of channels */ |
#define | ETHTOOL_SCHANNELS 0x0000003d /* Set no of channels */ |
#define | ETHTOOL_SET_DUMP 0x0000003e /* Set dump settings */ |
#define | ETHTOOL_GET_DUMP_FLAG 0x0000003f /* Get dump settings */ |
#define | ETHTOOL_GET_DUMP_DATA 0x00000040 /* Get dump data */ |
#define | ETHTOOL_GET_TS_INFO 0x00000041 /* Get time stamping and PHC info */ |
#define | ETHTOOL_GMODULEINFO 0x00000042 /* Get plug-in module information */ |
#define | ETHTOOL_GMODULEEEPROM 0x00000043 /* Get plug-in module eeprom */ |
#define | ETHTOOL_GEEE 0x00000044 /* Get EEE settings */ |
#define | ETHTOOL_SEEE 0x00000045 /* Set EEE settings */ |
#define | SPARC_ETH_GSET ETHTOOL_GSET |
#define | SPARC_ETH_SSET ETHTOOL_SSET |
#define | SUPPORTED_10baseT_Half (1 << 0) |
#define | SUPPORTED_10baseT_Full (1 << 1) |
#define | SUPPORTED_100baseT_Half (1 << 2) |
#define | SUPPORTED_100baseT_Full (1 << 3) |
#define | SUPPORTED_1000baseT_Half (1 << 4) |
#define | SUPPORTED_1000baseT_Full (1 << 5) |
#define | SUPPORTED_Autoneg (1 << 6) |
#define | SUPPORTED_TP (1 << 7) |
#define | SUPPORTED_AUI (1 << 8) |
#define | SUPPORTED_MII (1 << 9) |
#define | SUPPORTED_FIBRE (1 << 10) |
#define | SUPPORTED_BNC (1 << 11) |
#define | SUPPORTED_10000baseT_Full (1 << 12) |
#define | SUPPORTED_Pause (1 << 13) |
#define | SUPPORTED_Asym_Pause (1 << 14) |
#define | SUPPORTED_2500baseX_Full (1 << 15) |
#define | SUPPORTED_Backplane (1 << 16) |
#define | SUPPORTED_1000baseKX_Full (1 << 17) |
#define | SUPPORTED_10000baseKX4_Full (1 << 18) |
#define | SUPPORTED_10000baseKR_Full (1 << 19) |
#define | SUPPORTED_10000baseR_FEC (1 << 20) |
#define | SUPPORTED_20000baseMLD2_Full (1 << 21) |
#define | SUPPORTED_20000baseKR2_Full (1 << 22) |
#define | SUPPORTED_40000baseKR4_Full (1 << 23) |
#define | SUPPORTED_40000baseCR4_Full (1 << 24) |
#define | SUPPORTED_40000baseSR4_Full (1 << 25) |
#define | SUPPORTED_40000baseLR4_Full (1 << 26) |
#define | ADVERTISED_10baseT_Half (1 << 0) |
#define | ADVERTISED_10baseT_Full (1 << 1) |
#define | ADVERTISED_100baseT_Half (1 << 2) |
#define | ADVERTISED_100baseT_Full (1 << 3) |
#define | ADVERTISED_1000baseT_Half (1 << 4) |
#define | ADVERTISED_1000baseT_Full (1 << 5) |
#define | ADVERTISED_Autoneg (1 << 6) |
#define | ADVERTISED_TP (1 << 7) |
#define | ADVERTISED_AUI (1 << 8) |
#define | ADVERTISED_MII (1 << 9) |
#define | ADVERTISED_FIBRE (1 << 10) |
#define | ADVERTISED_BNC (1 << 11) |
#define | ADVERTISED_10000baseT_Full (1 << 12) |
#define | ADVERTISED_Pause (1 << 13) |
#define | ADVERTISED_Asym_Pause (1 << 14) |
#define | ADVERTISED_2500baseX_Full (1 << 15) |
#define | ADVERTISED_Backplane (1 << 16) |
#define | ADVERTISED_1000baseKX_Full (1 << 17) |
#define | ADVERTISED_10000baseKX4_Full (1 << 18) |
#define | ADVERTISED_10000baseKR_Full (1 << 19) |
#define | ADVERTISED_10000baseR_FEC (1 << 20) |
#define | ADVERTISED_20000baseMLD2_Full (1 << 21) |
#define | ADVERTISED_20000baseKR2_Full (1 << 22) |
#define | ADVERTISED_40000baseKR4_Full (1 << 23) |
#define | ADVERTISED_40000baseCR4_Full (1 << 24) |
#define | ADVERTISED_40000baseSR4_Full (1 << 25) |
#define | ADVERTISED_40000baseLR4_Full (1 << 26) |
#define | SPEED_10 10 |
#define | SPEED_100 100 |
#define | SPEED_1000 1000 |
#define | SPEED_2500 2500 |
#define | SPEED_10000 10000 |
#define | SPEED_UNKNOWN -1 |
#define | DUPLEX_HALF 0x00 |
#define | DUPLEX_FULL 0x01 |
#define | DUPLEX_UNKNOWN 0xff |
#define | PORT_TP 0x00 |
#define | PORT_AUI 0x01 |
#define | PORT_MII 0x02 |
#define | PORT_FIBRE 0x03 |
#define | PORT_BNC 0x04 |
#define | PORT_DA 0x05 |
#define | PORT_NONE 0xef |
#define | PORT_OTHER 0xff |
#define | XCVR_INTERNAL 0x00 |
#define | XCVR_EXTERNAL 0x01 |
#define | XCVR_DUMMY1 0x02 |
#define | XCVR_DUMMY2 0x03 |
#define | XCVR_DUMMY3 0x04 |
#define | AUTONEG_DISABLE 0x00 |
#define | AUTONEG_ENABLE 0x01 |
#define | ETH_TP_MDI_INVALID 0x00 /* status: unknown; control: unsupported */ |
#define | ETH_TP_MDI 0x01 /* status: MDI; control: force MDI */ |
#define | ETH_TP_MDI_X 0x02 /* status: MDI-X; control: force MDI-X */ |
#define | ETH_TP_MDI_AUTO 0x03 /* control: auto-select */ |
#define | WAKE_PHY (1 << 0) |
#define | WAKE_UCAST (1 << 1) |
#define | WAKE_MCAST (1 << 2) |
#define | WAKE_BCAST (1 << 3) |
#define | WAKE_ARP (1 << 4) |
#define | WAKE_MAGIC (1 << 5) |
#define | WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ |
#define | TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */ |
#define | UDP_V4_FLOW 0x02 /* hash or spec (udp_ip4_spec) */ |
#define | SCTP_V4_FLOW 0x03 /* hash or spec (sctp_ip4_spec) */ |
#define | AH_ESP_V4_FLOW 0x04 /* hash only */ |
#define | TCP_V6_FLOW 0x05 /* hash only */ |
#define | UDP_V6_FLOW 0x06 /* hash only */ |
#define | SCTP_V6_FLOW 0x07 /* hash only */ |
#define | AH_ESP_V6_FLOW 0x08 /* hash only */ |
#define | AH_V4_FLOW 0x09 /* hash or spec (ah_ip4_spec) */ |
#define | ESP_V4_FLOW 0x0a /* hash or spec (esp_ip4_spec) */ |
#define | AH_V6_FLOW 0x0b /* hash only */ |
#define | ESP_V6_FLOW 0x0c /* hash only */ |
#define | IP_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */ |
#define | IPV4_FLOW 0x10 /* hash only */ |
#define | IPV6_FLOW 0x11 /* hash only */ |
#define | ETHER_FLOW 0x12 /* spec only (ether_spec) */ |
#define | FLOW_EXT 0x80000000 |
#define | RXH_L2DA (1 << 1) |
#define | RXH_VLAN (1 << 2) |
#define | RXH_L3_PROTO (1 << 3) |
#define | RXH_IP_SRC (1 << 4) |
#define | RXH_IP_DST (1 << 5) |
#define | RXH_L4_B_0_1 (1 << 6) /* src port in case of TCP/UDP/SCTP */ |
#define | RXH_L4_B_2_3 (1 << 7) /* dst port in case of TCP/UDP/SCTP */ |
#define | RXH_DISCARD (1 << 31) |
#define | RX_CLS_FLOW_DISC 0xffffffffffffffffULL |
#define | RX_CLS_LOC_SPECIAL 0x80000000 /* flag */ |
#define | RX_CLS_LOC_ANY 0xffffffff |
#define | RX_CLS_LOC_FIRST 0xfffffffe |
#define | RX_CLS_LOC_LAST 0xfffffffd |
#define | ETH_MODULE_SFF_8079 0x1 |
#define | ETH_MODULE_SFF_8079_LEN 256 |
#define | ETH_MODULE_SFF_8472 0x2 |
#define | ETH_MODULE_SFF_8472_LEN 512 |
#define | ETH_RESET_SHARED_SHIFT 16 |
Enumerations | |
enum | ethtool_stringset { ETH_SS_TEST = 0, ETH_SS_STATS, ETH_SS_PRIV_FLAGS, ETH_SS_NTUPLE_FILTERS, ETH_SS_FEATURES } |
enum | ethtool_test_flags { ETH_TEST_FL_OFFLINE = (1 << 0), ETH_TEST_FL_FAILED = (1 << 1), ETH_TEST_FL_EXTERNAL_LB = (1 << 2), ETH_TEST_FL_EXTERNAL_LB_DONE = (1 << 3) } |
enum | ethtool_flags { ETH_FLAG_TXVLAN = (1 << 7), ETH_FLAG_RXVLAN = (1 << 8), ETH_FLAG_LRO = (1 << 15), ETH_FLAG_NTUPLE = (1 << 27), ETH_FLAG_RXHASH = (1 << 28) } |
enum | ethtool_flash_op_type { ETHTOOL_FLASH_ALL_REGIONS = 0 } |
enum | ethtool_sfeatures_retval_bits { ETHTOOL_F_UNSUPPORTED__BIT, ETHTOOL_F_WISH__BIT, ETHTOOL_F_COMPAT__BIT } |
enum | ethtool_reset_flags { ETH_RESET_MGMT = 1 << 0, ETH_RESET_IRQ = 1 << 1, ETH_RESET_DMA = 1 << 2, ETH_RESET_FILTER = 1 << 3, ETH_RESET_OFFLOAD = 1 << 4, ETH_RESET_MAC = 1 << 5, ETH_RESET_PHY = 1 << 6, ETH_RESET_RAM = 1 << 7, ETH_RESET_DEDICATED = 0x0000ffff, ETH_RESET_ALL = 0xffffffff } |
#define ESP_V4_FLOW 0x0a /* hash or spec (esp_ip4_spec) */ |
#define ETH_FW_DUMP_DISABLE 0 |
struct ethtool_dump - used for retrieving, setting device dump : Command number - ETHTOOL_GET_DUMP_FLAG, ETHTOOL_GET_DUMP_DATA, or ETHTOOL_SET_DUMP
#define ETH_TP_MDI 0x01 /* status: MDI; control: force MDI */ |
#define ETH_TP_MDI_INVALID 0x00 /* status: unknown; control: unsupported */ |
#define ETH_TP_MDI_X 0x02 /* status: MDI-X; control: force MDI-X */ |
#define ETHTOOL_F_COMPAT (1 << ETHTOOL_F_COMPAT__BIT) |
#define ETHTOOL_F_UNSUPPORTED (1 << ETHTOOL_F_UNSUPPORTED__BIT) |
#define ETHTOOL_F_WISH (1 << ETHTOOL_F_WISH__BIT) |
#define ETHTOOL_FLASHDEV 0x00000033 /* Flash firmware to device */ |
#define ETHTOOL_GCHANNELS 0x0000003c /* Get no of channels */ |
#define ETHTOOL_GCOALESCE 0x0000000e /* Get coalesce config */ |
#define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */ |
#define ETHTOOL_GET_DUMP_DATA 0x00000040 /* Get dump data */ |
#define ETHTOOL_GET_DUMP_FLAG 0x0000003f /* Get dump settings */ |
#define ETHTOOL_GET_TS_INFO 0x00000041 /* Get time stamping and PHC info */ |
#define ETHTOOL_GFEATURES 0x0000003a /* Get device offload settings */ |
#define ETHTOOL_GFLAGS 0x00000025 /* Get flags bitmap(ethtool_value) */ |
#define ETHTOOL_GGRO 0x0000002b /* Get GRO enable (ethtool_value) */ |
#define ETHTOOL_GGSO 0x00000023 /* Get GSO enable (ethtool_value) */ |
#define ETHTOOL_GMODULEEEPROM 0x00000043 /* Get plug-in module eeprom */ |
#define ETHTOOL_GMODULEINFO 0x00000042 /* Get plug-in module information */ |
#define ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */ |
#define ETHTOOL_GPAUSEPARAM 0x00000012 /* Get pause parameters */ |
#define ETHTOOL_GPERMADDR 0x00000020 /* Get permanent hardware address */ |
#define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */ |
#define ETHTOOL_GRINGPARAM 0x00000010 /* Get ring parameters */ |
#define ETHTOOL_GRXCLSRLALL 0x00000030 /* Get all RX classification rule */ |
#define ETHTOOL_GRXCLSRLCNT 0x0000002e /* Get RX class rule count */ |
#define ETHTOOL_GRXCLSRULE 0x0000002f /* Get RX classification rule */ |
#define ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */ |
#define ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */ |
#define ETHTOOL_GRXFHINDIR 0x00000038 /* Get RX flow hash indir'n table */ |
#define ETHTOOL_GRXRINGS 0x0000002d /* Get RX rings available for LB */ |
#define ETHTOOL_GSG |
#define ETHTOOL_GSSET_INFO 0x00000037 /* Get string set info */ |
#define ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */ |
#define ETHTOOL_GSTRINGS 0x0000001b /* get specified string set */ |
#define ETHTOOL_GTSO 0x0000001e /* Get TSO enable (ethtool_value) */ |
#define ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */ |
#define ETHTOOL_GUFO 0x00000021 /* Get UFO enable (ethtool_value) */ |
#define ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */ |
#define ETHTOOL_NWAY_RST 0x00000009 /* Restart autonegotiation. */ |
#define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) /* drop packet */ |
#define ETHTOOL_SCHANNELS 0x0000003d /* Set no of channels */ |
#define ETHTOOL_SCOALESCE 0x0000000f /* Set coalesce config. */ |
#define ETHTOOL_SET_DUMP 0x0000003e /* Set dump settings */ |
#define ETHTOOL_SFEATURES 0x0000003b /* Change device offload settings */ |
#define ETHTOOL_SFLAGS 0x00000026 /* Set flags bitmap(ethtool_value) */ |
#define ETHTOOL_SGRO 0x0000002c /* Set GRO enable (ethtool_value) */ |
#define ETHTOOL_SGSO 0x00000024 /* Set GSO enable (ethtool_value) */ |
#define ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */ |
#define ETHTOOL_SPAUSEPARAM 0x00000013 /* Set pause parameters. */ |
#define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */ |
#define ETHTOOL_SRINGPARAM 0x00000011 /* Set ring parameters. */ |
#define ETHTOOL_SRXCLSRLDEL 0x00000031 /* Delete RX classification rule */ |
#define ETHTOOL_SRXCLSRLINS 0x00000032 /* Insert RX classification rule */ |
#define ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */ |
#define ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */ |
#define ETHTOOL_SRXFHINDIR 0x00000039 /* Set RX flow hash indir'n table */ |
#define ETHTOOL_SRXNTUPLE 0x00000035 /* Add an n-tuple filter to device */ |
#define ETHTOOL_SSG |
#define ETHTOOL_STSO 0x0000001f /* Set TSO enable (ethtool_value) */ |
#define ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */ |
#define ETHTOOL_SUFO 0x00000022 /* Set UFO enable (ethtool_value) */ |
#define ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */ |
#define ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */ |
#define SCTP_V4_FLOW 0x03 /* hash or spec (sctp_ip4_spec) */ |
#define SPARC_ETH_GSET ETHTOOL_GSET |
#define SPARC_ETH_SSET ETHTOOL_SSET |
#define TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */ |
#define UDP_V4_FLOW 0x02 /* hash or spec (udp_ip4_spec) */ |
#define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ |
enum ethtool_flags |
enum ethtool_reset_flags |
enum ethtool_stringset |
enum ethtool_test_flags |
enum ethtool_test_flags - flags definition of ethtool_test : if set perform online and offline tests, otherwise only online tests. : Driver set this flag if test fails. : Application request to perform external loopback test. : Driver performed the external loopback test