Lines Matching +full:0 +full:x0000004a

41  * @speed: Low bits of the speed, 1Mb units, 0 to INT_MAX or SPEED_UNKNOWN
44 * @phy_address: MDIO address of PHY (transceiver); 0 or 255 if not
51 * protocols supported by the interface; 0 if unknown.
57 * @speed_hi: High bits of the speed, 1Mb units, 0 to INT_MAX or SPEED_UNKNOWN
68 * through autonegotiation; 0 if unknown or not applicable.
79 * the speed is 0, %SPEED_UNKNOWN or the highest enabled speed and
119 ep->speed = (__u16)(speed & 0xFFFF); in ethtool_cmd_speed_set()
216 #define PFC_STORM_PREVENTION_AUTO 0xffff
217 #define PFC_STORM_PREVENTION_DISABLE 0
249 void *data[0];
252 #define DOWNSHIFT_DEV_DEFAULT_COUNT 0xff
253 #define DOWNSHIFT_DEV_DISABLE 0
256 * 0 = lowest time supported by the PHY
257 * 0xff = off, link down detection according to standard
259 #define ETHTOOL_PHY_FAST_LINK_DOWN_ON 0
260 #define ETHTOOL_PHY_FAST_LINK_DOWN_OFF 0xff
279 #define ETHTOOL_PHY_EDPD_DFLT_TX_MSECS 0xffff
280 #define ETHTOOL_PHY_EDPD_NO_TX 0xfffe
281 #define ETHTOOL_PHY_EDPD_DISABLE 0
314 __u8 data[0];
340 __u8 data[0];
439 * (usecs > 0 && time_since_first_completion >= usecs) ||
440 * (max_frames > 0 && completed_frames >= max_frames)
444 * coalescing, set usecs = 0 and max_frames = 1.
508 * @rx_mini_max_pending and/or @rx_jumbo_max_pending will be 0.
675 ETH_SS_TEST = 0,
712 __u8 data[0];
725 * Example: The user passes in @sset_mask = 0x7 (sets 0, 1, 2) and on
726 * return @sset_mask == 0x6 (sets 1, 2). Then @data[0] contains the
736 __u32 data[0];
750 ETH_TEST_FL_OFFLINE = (1 << 0),
775 __u64 data[0];
792 __u64 data[0];
809 __u8 data[0];
877 * @ip_ver: Value must be %ETH_RX_NFC_IP4; mask must be 0
878 * @proto: Transport protocol number; mask must be 0
1013 #define ETHTOOL_RX_FLOW_SPEC_RING 0x00000000FFFFFFFFLL
1014 #define ETHTOOL_RX_FLOW_SPEC_RING_VF 0x000000FF00000000LL
1097 __u32 rule_locs[0];
1117 __u32 ring_index[0];
1123 * @rss_context: RSS context identifier. Context 0 is the default for normal
1146 * values (if @rss_context == 0) or that the RSS context should be deleted.
1157 __u32 rss_config[0];
1159 #define ETH_RXFH_CONTEXT_ALLOC 0xffffffff
1160 #define ETH_RXFH_INDIR_NO_CHANGE 0xffffffff
1213 ETHTOOL_FLASH_ALL_REGIONS = 0,
1242 __u8 data[0];
1245 #define ETH_FW_DUMP_DISABLE 0
1274 struct ethtool_get_features_block features[0];
1296 struct ethtool_set_features_block features[0];
1334 * Returns >= 0 if request was completed; bits set in the value mean:
1350 * significant bit in features[0] fields. Empty strings mark undefined features.
1422 #define ETHTOOL_GSET 0x00000001 /* DEPRECATED, Get settings.
1425 #define ETHTOOL_SSET 0x00000002 /* DEPRECATED, Set settings.
1428 #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */
1429 #define ETHTOOL_GREGS 0x00000004 /* Get NIC registers. */
1430 #define ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */
1431 #define ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */
1432 #define ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */
1433 #define ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */
1434 #define ETHTOOL_NWAY_RST 0x00000009 /* Restart autonegotiation. */
1437 #define ETHTOOL_GLINK 0x0000000a
1438 #define ETHTOOL_GEEPROM 0x0000000b /* Get EEPROM data */
1439 #define ETHTOOL_SEEPROM 0x0000000c /* Set EEPROM data. */
1440 #define ETHTOOL_GCOALESCE 0x0000000e /* Get coalesce config */
1441 #define ETHTOOL_SCOALESCE 0x0000000f /* Set coalesce config. */
1442 #define ETHTOOL_GRINGPARAM 0x00000010 /* Get ring parameters */
1443 #define ETHTOOL_SRINGPARAM 0x00000011 /* Set ring parameters. */
1444 #define ETHTOOL_GPAUSEPARAM 0x00000012 /* Get pause parameters */
1445 #define ETHTOOL_SPAUSEPARAM 0x00000013 /* Set pause parameters. */
1446 #define ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */
1447 #define ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */
1448 #define ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */
1449 #define ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */
1450 #define ETHTOOL_GSG 0x00000018 /* Get scatter-gather enable
1452 #define ETHTOOL_SSG 0x00000019 /* Set scatter-gather enable
1454 #define ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */
1455 #define ETHTOOL_GSTRINGS 0x0000001b /* get specified string set */
1456 #define ETHTOOL_PHYS_ID 0x0000001c /* identify the NIC */
1457 #define ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */
1458 #define ETHTOOL_GTSO 0x0000001e /* Get TSO enable (ethtool_value) */
1459 #define ETHTOOL_STSO 0x0000001f /* Set TSO enable (ethtool_value) */
1460 #define ETHTOOL_GPERMADDR 0x00000020 /* Get permanent hardware address */
1461 #define ETHTOOL_GUFO 0x00000021 /* Get UFO enable (ethtool_value) */
1462 #define ETHTOOL_SUFO 0x00000022 /* Set UFO enable (ethtool_value) */
1463 #define ETHTOOL_GGSO 0x00000023 /* Get GSO enable (ethtool_value) */
1464 #define ETHTOOL_SGSO 0x00000024 /* Set GSO enable (ethtool_value) */
1465 #define ETHTOOL_GFLAGS 0x00000025 /* Get flags bitmap(ethtool_value) */
1466 #define ETHTOOL_SFLAGS 0x00000026 /* Set flags bitmap(ethtool_value) */
1467 #define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */
1468 #define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */
1470 #define ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */
1471 #define ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */
1472 #define ETHTOOL_GGRO 0x0000002b /* Get GRO enable (ethtool_value) */
1473 #define ETHTOOL_SGRO 0x0000002c /* Set GRO enable (ethtool_value) */
1474 #define ETHTOOL_GRXRINGS 0x0000002d /* Get RX rings available for LB */
1475 #define ETHTOOL_GRXCLSRLCNT 0x0000002e /* Get RX class rule count */
1476 #define ETHTOOL_GRXCLSRULE 0x0000002f /* Get RX classification rule */
1477 #define ETHTOOL_GRXCLSRLALL 0x00000030 /* Get all RX classification rule */
1478 #define ETHTOOL_SRXCLSRLDEL 0x00000031 /* Delete RX classification rule */
1479 #define ETHTOOL_SRXCLSRLINS 0x00000032 /* Insert RX classification rule */
1480 #define ETHTOOL_FLASHDEV 0x00000033 /* Flash firmware to device */
1481 #define ETHTOOL_RESET 0x00000034 /* Reset hardware */
1482 #define ETHTOOL_SRXNTUPLE 0x00000035 /* Add an n-tuple filter to device */
1483 #define ETHTOOL_GRXNTUPLE 0x00000036 /* deprecated */
1484 #define ETHTOOL_GSSET_INFO 0x00000037 /* Get string set info */
1485 #define ETHTOOL_GRXFHINDIR 0x00000038 /* Get RX flow hash indir'n table */
1486 #define ETHTOOL_SRXFHINDIR 0x00000039 /* Set RX flow hash indir'n table */
1488 #define ETHTOOL_GFEATURES 0x0000003a /* Get device offload settings */
1489 #define ETHTOOL_SFEATURES 0x0000003b /* Change device offload settings */
1490 #define ETHTOOL_GCHANNELS 0x0000003c /* Get no of channels */
1491 #define ETHTOOL_SCHANNELS 0x0000003d /* Set no of channels */
1492 #define ETHTOOL_SET_DUMP 0x0000003e /* Set dump settings */
1493 #define ETHTOOL_GET_DUMP_FLAG 0x0000003f /* Get dump settings */
1494 #define ETHTOOL_GET_DUMP_DATA 0x00000040 /* Get dump data */
1495 #define ETHTOOL_GET_TS_INFO 0x00000041 /* Get time stamping and PHC info */
1496 #define ETHTOOL_GMODULEINFO 0x00000042 /* Get plug-in module information */
1497 #define ETHTOOL_GMODULEEEPROM 0x00000043 /* Get plug-in module eeprom */
1498 #define ETHTOOL_GEEE 0x00000044 /* Get EEE settings */
1499 #define ETHTOOL_SEEE 0x00000045 /* Set EEE settings */
1501 #define ETHTOOL_GRSSH 0x00000046 /* Get RX flow hash configuration */
1502 #define ETHTOOL_SRSSH 0x00000047 /* Set RX flow hash configuration */
1503 #define ETHTOOL_GTUNABLE 0x00000048 /* Get tunable configuration */
1504 #define ETHTOOL_STUNABLE 0x00000049 /* Set tunable configuration */
1505 #define ETHTOOL_GPHYSTATS 0x0000004a /* get PHY-specific statistics */
1507 #define ETHTOOL_PERQUEUE 0x0000004b /* Set per queue options */
1509 #define ETHTOOL_GLINKSETTINGS 0x0000004c /* Get ethtool_link_settings */
1510 #define ETHTOOL_SLINKSETTINGS 0x0000004d /* Set ethtool_link_settings */
1511 #define ETHTOOL_PHY_GTUNABLE 0x0000004e /* Get PHY tunable configuration */
1512 #define ETHTOOL_PHY_STUNABLE 0x0000004f /* Set PHY tunable configuration */
1513 #define ETHTOOL_GFECPARAM 0x00000050 /* Get FEC settings */
1514 #define ETHTOOL_SFECPARAM 0x00000051 /* Set FEC settings */
1522 ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0,
1714 /* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal.
1742 #define DUPLEX_HALF 0x00
1743 #define DUPLEX_FULL 0x01
1744 #define DUPLEX_UNKNOWN 0xff
1755 return 0; in ethtool_validate_duplex()
1758 #define MASTER_SLAVE_CFG_UNSUPPORTED 0
1764 #define MASTER_SLAVE_STATE_UNSUPPORTED 0
1771 #define PORT_TP 0x00
1772 #define PORT_AUI 0x01
1773 #define PORT_MII 0x02
1774 #define PORT_FIBRE 0x03
1775 #define PORT_BNC 0x04
1776 #define PORT_DA 0x05
1777 #define PORT_NONE 0xef
1778 #define PORT_OTHER 0xff
1781 #define XCVR_INTERNAL 0x00 /* PHY and MAC are in the same package */
1782 #define XCVR_EXTERNAL 0x01 /* PHY and MAC are in different packages */
1783 #define XCVR_DUMMY1 0x02
1784 #define XCVR_DUMMY2 0x03
1785 #define XCVR_DUMMY3 0x04
1788 #define AUTONEG_DISABLE 0x00
1789 #define AUTONEG_ENABLE 0x01
1794 #define ETH_TP_MDI_INVALID 0x00 /* status: unknown; control: unsupported */
1795 #define ETH_TP_MDI 0x01 /* status: MDI; control: force MDI */
1796 #define ETH_TP_MDI_X 0x02 /* status: MDI-X; control: force MDI-X */
1797 #define ETH_TP_MDI_AUTO 0x03 /* control: auto-select */
1800 #define WAKE_PHY (1 << 0)
1812 #define TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */
1813 #define UDP_V4_FLOW 0x02 /* hash or spec (udp_ip4_spec) */
1814 #define SCTP_V4_FLOW 0x03 /* hash or spec (sctp_ip4_spec) */
1815 #define AH_ESP_V4_FLOW 0x04 /* hash only */
1816 #define TCP_V6_FLOW 0x05 /* hash or spec (tcp_ip6_spec; nfc only) */
1817 #define UDP_V6_FLOW 0x06 /* hash or spec (udp_ip6_spec; nfc only) */
1818 #define SCTP_V6_FLOW 0x07 /* hash or spec (sctp_ip6_spec; nfc only) */
1819 #define AH_ESP_V6_FLOW 0x08 /* hash only */
1820 #define AH_V4_FLOW 0x09 /* hash or spec (ah_ip4_spec) */
1821 #define ESP_V4_FLOW 0x0a /* hash or spec (esp_ip4_spec) */
1822 #define AH_V6_FLOW 0x0b /* hash or spec (ah_ip6_spec; nfc only) */
1823 #define ESP_V6_FLOW 0x0c /* hash or spec (esp_ip6_spec; nfc only) */
1824 #define IPV4_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */
1826 #define IPV6_USER_FLOW 0x0e /* spec only (usr_ip6_spec; nfc only) */
1827 #define IPV4_FLOW 0x10 /* hash only */
1828 #define IPV6_FLOW 0x11 /* hash only */
1829 #define ETHER_FLOW 0x12 /* spec only (ether_spec) */
1831 #define FLOW_EXT 0x80000000
1832 #define FLOW_MAC_EXT 0x40000000
1834 #define FLOW_RSS 0x20000000
1846 #define RX_CLS_FLOW_DISC 0xffffffffffffffffULL
1847 #define RX_CLS_FLOW_WAKE 0xfffffffffffffffeULL
1850 #define RX_CLS_LOC_SPECIAL 0x80000000 /* flag */
1851 #define RX_CLS_LOC_ANY 0xffffffff
1852 #define RX_CLS_LOC_FIRST 0xfffffffe
1853 #define RX_CLS_LOC_LAST 0xfffffffd
1856 #define ETH_MODULE_SFF_8079 0x1
1858 #define ETH_MODULE_SFF_8472 0x2
1860 #define ETH_MODULE_SFF_8636 0x3
1862 #define ETH_MODULE_SFF_8436 0x4
1881 ETH_RESET_MGMT = 1 << 0, /* Management processor */
1892 ETH_RESET_DEDICATED = 0x0000ffff, /* All components dedicated to
1894 ETH_RESET_ALL = 0xffffffff, /* All components used by this
1918 * @phy_address: MDIO address of PHY (transceiver); 0 or 255 if not
1923 * protocols supported by the interface; 0 if unknown.
1936 * (>= 0); on return, if handshake in progress, negative if
1939 * are 0; otherwise (handshake completed), strictly positive
1958 * autonegotiation; 0 if unknown or not applicable. Read-only.
1966 * the speed is 0, %SPEED_UNKNOWN or the highest enabled speed and
2012 __u32 link_mode_masks[0];