Lines Matching +full:0 +full:x0000004b

49  * @speed: Low bits of the speed, 1Mb units, 0 to INT_MAX or SPEED_UNKNOWN
52 * @phy_address: MDIO address of PHY (transceiver); 0 or 255 if not
59 * protocols supported by the interface; 0 if unknown.
65 * @speed_hi: High bits of the speed, 1Mb units, 0 to INT_MAX or SPEED_UNKNOWN
76 * through autonegotiation; 0 if unknown or not applicable.
88 * the speed is 0, %SPEED_UNKNOWN or the highest enabled speed and
128 ep->speed = (uint16_t)(speed & 0xFFFF); in ethtool_cmd_speed_set()
224 #define PFC_STORM_PREVENTION_AUTO 0xffff
225 #define PFC_STORM_PREVENTION_DISABLE 0
261 #define DOWNSHIFT_DEV_DEFAULT_COUNT 0xff
262 #define DOWNSHIFT_DEV_DISABLE 0
265 * 0 = lowest time supported by the PHY
266 * 0xff = off, link down detection according to standard
268 #define ETHTOOL_PHY_FAST_LINK_DOWN_ON 0
269 #define ETHTOOL_PHY_FAST_LINK_DOWN_OFF 0xff
288 #define ETHTOOL_PHY_EDPD_DFLT_TX_MSECS 0xffff
289 #define ETHTOOL_PHY_EDPD_NO_TX 0xfffe
290 #define ETHTOOL_PHY_EDPD_DISABLE 0
450 * (usecs > 0 && time_since_first_completion >= usecs) ||
451 * (max_frames > 0 && completed_frames >= max_frames)
455 * coalescing, set usecs = 0 and max_frames = 1.
519 * @rx_mini_max_pending and/or @rx_jumbo_max_pending will be 0.
688 ETH_SS_TEST = 0,
953 ETHTOOL_PSE_UNKNOWN = 1 << 0,
1119 * Example: The user passes in @sset_mask = 0x7 (sets 0, 1, 2) and on
1120 * return @sset_mask == 0x6 (sets 1, 2). Then @data[0] contains the
1144 ETH_TEST_FL_OFFLINE = (1 << 0),
1272 * @ip_ver: Value must be %ETH_RX_NFC_IP4; mask must be 0
1273 * @proto: Transport protocol number; mask must be 0
1409 #define ETHTOOL_RX_FLOW_SPEC_RING 0x00000000FFFFFFFFLL
1410 #define ETHTOOL_RX_FLOW_SPEC_RING_VF 0x000000FF00000000LL
1519 * @rss_context: RSS context identifier. Context 0 is the default for normal
1545 * values (if @rss_context == 0) or that the RSS context should be deleted.
1559 #define ETH_RXFH_CONTEXT_ALLOC 0xffffffff
1560 #define ETH_RXFH_INDIR_NO_CHANGE 0xffffffff
1613 ETHTOOL_FLASH_ALL_REGIONS = 0,
1645 #define ETH_FW_DUMP_DISABLE 0
1736 * Returns >= 0 if request was completed; bits set in the value mean:
1752 * significant bit in features[0] fields. Empty strings mark undefined features.
1785 * @reserved: Reserved for future extensions, ignore on GET, write 0 for SET.
1847 #define ETHTOOL_GSET 0x00000001 /* DEPRECATED, Get settings.
1850 #define ETHTOOL_SSET 0x00000002 /* DEPRECATED, Set settings.
1853 #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */
1854 #define ETHTOOL_GREGS 0x00000004 /* Get NIC registers. */
1855 #define ETHTOOL_GWOL 0x00000005 /* Get wake-on-lan options. */
1856 #define ETHTOOL_SWOL 0x00000006 /* Set wake-on-lan options. */
1857 #define ETHTOOL_GMSGLVL 0x00000007 /* Get driver message level */
1858 #define ETHTOOL_SMSGLVL 0x00000008 /* Set driver msg level. */
1859 #define ETHTOOL_NWAY_RST 0x00000009 /* Restart autonegotiation. */
1862 #define ETHTOOL_GLINK 0x0000000a
1863 #define ETHTOOL_GEEPROM 0x0000000b /* Get EEPROM data */
1864 #define ETHTOOL_SEEPROM 0x0000000c /* Set EEPROM data. */
1865 #define ETHTOOL_GCOALESCE 0x0000000e /* Get coalesce config */
1866 #define ETHTOOL_SCOALESCE 0x0000000f /* Set coalesce config. */
1867 #define ETHTOOL_GRINGPARAM 0x00000010 /* Get ring parameters */
1868 #define ETHTOOL_SRINGPARAM 0x00000011 /* Set ring parameters. */
1869 #define ETHTOOL_GPAUSEPARAM 0x00000012 /* Get pause parameters */
1870 #define ETHTOOL_SPAUSEPARAM 0x00000013 /* Set pause parameters. */
1871 #define ETHTOOL_GRXCSUM 0x00000014 /* Get RX hw csum enable (ethtool_value) */
1872 #define ETHTOOL_SRXCSUM 0x00000015 /* Set RX hw csum enable (ethtool_value) */
1873 #define ETHTOOL_GTXCSUM 0x00000016 /* Get TX hw csum enable (ethtool_value) */
1874 #define ETHTOOL_STXCSUM 0x00000017 /* Set TX hw csum enable (ethtool_value) */
1875 #define ETHTOOL_GSG 0x00000018 /* Get scatter-gather enable
1877 #define ETHTOOL_SSG 0x00000019 /* Set scatter-gather enable
1879 #define ETHTOOL_TEST 0x0000001a /* execute NIC self-test. */
1880 #define ETHTOOL_GSTRINGS 0x0000001b /* get specified string set */
1881 #define ETHTOOL_PHYS_ID 0x0000001c /* identify the NIC */
1882 #define ETHTOOL_GSTATS 0x0000001d /* get NIC-specific statistics */
1883 #define ETHTOOL_GTSO 0x0000001e /* Get TSO enable (ethtool_value) */
1884 #define ETHTOOL_STSO 0x0000001f /* Set TSO enable (ethtool_value) */
1885 #define ETHTOOL_GPERMADDR 0x00000020 /* Get permanent hardware address */
1886 #define ETHTOOL_GUFO 0x00000021 /* Get UFO enable (ethtool_value) */
1887 #define ETHTOOL_SUFO 0x00000022 /* Set UFO enable (ethtool_value) */
1888 #define ETHTOOL_GGSO 0x00000023 /* Get GSO enable (ethtool_value) */
1889 #define ETHTOOL_SGSO 0x00000024 /* Set GSO enable (ethtool_value) */
1890 #define ETHTOOL_GFLAGS 0x00000025 /* Get flags bitmap(ethtool_value) */
1891 #define ETHTOOL_SFLAGS 0x00000026 /* Set flags bitmap(ethtool_value) */
1892 #define ETHTOOL_GPFLAGS 0x00000027 /* Get driver-private flags bitmap */
1893 #define ETHTOOL_SPFLAGS 0x00000028 /* Set driver-private flags bitmap */
1895 #define ETHTOOL_GRXFH 0x00000029 /* Get RX flow hash configuration */
1896 #define ETHTOOL_SRXFH 0x0000002a /* Set RX flow hash configuration */
1897 #define ETHTOOL_GGRO 0x0000002b /* Get GRO enable (ethtool_value) */
1898 #define ETHTOOL_SGRO 0x0000002c /* Set GRO enable (ethtool_value) */
1899 #define ETHTOOL_GRXRINGS 0x0000002d /* Get RX rings available for LB */
1900 #define ETHTOOL_GRXCLSRLCNT 0x0000002e /* Get RX class rule count */
1901 #define ETHTOOL_GRXCLSRULE 0x0000002f /* Get RX classification rule */
1902 #define ETHTOOL_GRXCLSRLALL 0x00000030 /* Get all RX classification rule */
1903 #define ETHTOOL_SRXCLSRLDEL 0x00000031 /* Delete RX classification rule */
1904 #define ETHTOOL_SRXCLSRLINS 0x00000032 /* Insert RX classification rule */
1905 #define ETHTOOL_FLASHDEV 0x00000033 /* Flash firmware to device */
1906 #define ETHTOOL_RESET 0x00000034 /* Reset hardware */
1907 #define ETHTOOL_SRXNTUPLE 0x00000035 /* Add an n-tuple filter to device */
1908 #define ETHTOOL_GRXNTUPLE 0x00000036 /* deprecated */
1909 #define ETHTOOL_GSSET_INFO 0x00000037 /* Get string set info */
1910 #define ETHTOOL_GRXFHINDIR 0x00000038 /* Get RX flow hash indir'n table */
1911 #define ETHTOOL_SRXFHINDIR 0x00000039 /* Set RX flow hash indir'n table */
1913 #define ETHTOOL_GFEATURES 0x0000003a /* Get device offload settings */
1914 #define ETHTOOL_SFEATURES 0x0000003b /* Change device offload settings */
1915 #define ETHTOOL_GCHANNELS 0x0000003c /* Get no of channels */
1916 #define ETHTOOL_SCHANNELS 0x0000003d /* Set no of channels */
1917 #define ETHTOOL_SET_DUMP 0x0000003e /* Set dump settings */
1918 #define ETHTOOL_GET_DUMP_FLAG 0x0000003f /* Get dump settings */
1919 #define ETHTOOL_GET_DUMP_DATA 0x00000040 /* Get dump data */
1920 #define ETHTOOL_GET_TS_INFO 0x00000041 /* Get time stamping and PHC info */
1921 #define ETHTOOL_GMODULEINFO 0x00000042 /* Get plug-in module information */
1922 #define ETHTOOL_GMODULEEEPROM 0x00000043 /* Get plug-in module eeprom */
1923 #define ETHTOOL_GEEE 0x00000044 /* Get EEE settings */
1924 #define ETHTOOL_SEEE 0x00000045 /* Set EEE settings */
1926 #define ETHTOOL_GRSSH 0x00000046 /* Get RX flow hash configuration */
1927 #define ETHTOOL_SRSSH 0x00000047 /* Set RX flow hash configuration */
1928 #define ETHTOOL_GTUNABLE 0x00000048 /* Get tunable configuration */
1929 #define ETHTOOL_STUNABLE 0x00000049 /* Set tunable configuration */
1930 #define ETHTOOL_GPHYSTATS 0x0000004a /* get PHY-specific statistics */
1932 #define ETHTOOL_PERQUEUE 0x0000004b /* Set per queue options */
1934 #define ETHTOOL_GLINKSETTINGS 0x0000004c /* Get ethtool_link_settings */
1935 #define ETHTOOL_SLINKSETTINGS 0x0000004d /* Set ethtool_link_settings */
1936 #define ETHTOOL_PHY_GTUNABLE 0x0000004e /* Get PHY tunable configuration */
1937 #define ETHTOOL_PHY_STUNABLE 0x0000004f /* Set PHY tunable configuration */
1938 #define ETHTOOL_GFECPARAM 0x00000050 /* Get FEC settings */
1939 #define ETHTOOL_SFECPARAM 0x00000051 /* Set FEC settings */
1947 ETHTOOL_LINK_MODE_10baseT_Half_BIT = 0,
2151 /* The forced speed, in units of 1Mb. All values 0 to INT_MAX are legal.
2180 #define DUPLEX_HALF 0x00
2181 #define DUPLEX_FULL 0x01
2182 #define DUPLEX_UNKNOWN 0xff
2193 return 0; in ethtool_validate_duplex()
2196 #define MASTER_SLAVE_CFG_UNSUPPORTED 0
2202 #define MASTER_SLAVE_STATE_UNSUPPORTED 0
2214 #define RATE_MATCH_NONE 0
2223 #define PORT_TP 0x00
2224 #define PORT_AUI 0x01
2225 #define PORT_MII 0x02
2226 #define PORT_FIBRE 0x03
2227 #define PORT_BNC 0x04
2228 #define PORT_DA 0x05
2229 #define PORT_NONE 0xef
2230 #define PORT_OTHER 0xff
2233 #define XCVR_INTERNAL 0x00 /* PHY and MAC are in the same package */
2234 #define XCVR_EXTERNAL 0x01 /* PHY and MAC are in different packages */
2235 #define XCVR_DUMMY1 0x02
2236 #define XCVR_DUMMY2 0x03
2237 #define XCVR_DUMMY3 0x04
2240 #define AUTONEG_DISABLE 0x00
2241 #define AUTONEG_ENABLE 0x01
2246 #define ETH_TP_MDI_INVALID 0x00 /* status: unknown; control: unsupported */
2247 #define ETH_TP_MDI 0x01 /* status: MDI; control: force MDI */
2248 #define ETH_TP_MDI_X 0x02 /* status: MDI-X; control: force MDI-X */
2249 #define ETH_TP_MDI_AUTO 0x03 /* control: auto-select */
2252 #define WAKE_PHY (1 << 0)
2269 #define RXH_XFRM_SYM_XOR (1 << 0)
2270 #define RXH_XFRM_NO_CHANGE 0xff
2273 #define TCP_V4_FLOW 0x01 /* hash or spec (tcp_ip4_spec) */
2274 #define UDP_V4_FLOW 0x02 /* hash or spec (udp_ip4_spec) */
2275 #define SCTP_V4_FLOW 0x03 /* hash or spec (sctp_ip4_spec) */
2276 #define AH_ESP_V4_FLOW 0x04 /* hash only */
2277 #define TCP_V6_FLOW 0x05 /* hash or spec (tcp_ip6_spec; nfc only) */
2278 #define UDP_V6_FLOW 0x06 /* hash or spec (udp_ip6_spec; nfc only) */
2279 #define SCTP_V6_FLOW 0x07 /* hash or spec (sctp_ip6_spec; nfc only) */
2280 #define AH_ESP_V6_FLOW 0x08 /* hash only */
2281 #define AH_V4_FLOW 0x09 /* hash or spec (ah_ip4_spec) */
2282 #define ESP_V4_FLOW 0x0a /* hash or spec (esp_ip4_spec) */
2283 #define AH_V6_FLOW 0x0b /* hash or spec (ah_ip6_spec; nfc only) */
2284 #define ESP_V6_FLOW 0x0c /* hash or spec (esp_ip6_spec; nfc only) */
2285 #define IPV4_USER_FLOW 0x0d /* spec only (usr_ip4_spec) */
2287 #define IPV6_USER_FLOW 0x0e /* spec only (usr_ip6_spec; nfc only) */
2288 #define IPV4_FLOW 0x10 /* hash only */
2289 #define IPV6_FLOW 0x11 /* hash only */
2290 #define ETHER_FLOW 0x12 /* spec only (ether_spec) */
2297 #define GTPU_V4_FLOW 0x13 /* hash only */
2298 #define GTPU_V6_FLOW 0x14 /* hash only */
2306 #define GTPC_V4_FLOW 0x15 /* hash only */
2307 #define GTPC_V6_FLOW 0x16 /* hash only */
2314 #define GTPC_TEID_V4_FLOW 0x17 /* hash only */
2315 #define GTPC_TEID_V6_FLOW 0x18 /* hash only */
2322 #define GTPU_EH_V4_FLOW 0x19 /* hash only */
2323 #define GTPU_EH_V6_FLOW 0x1a /* hash only */
2333 #define GTPU_UL_V4_FLOW 0x1b /* hash only */
2334 #define GTPU_UL_V6_FLOW 0x1c /* hash only */
2335 #define GTPU_DL_V4_FLOW 0x1d /* hash only */
2336 #define GTPU_DL_V6_FLOW 0x1e /* hash only */
2339 #define FLOW_EXT 0x80000000
2340 #define FLOW_MAC_EXT 0x40000000
2342 #define FLOW_RSS 0x20000000
2355 #define RX_CLS_FLOW_DISC 0xffffffffffffffffULL
2356 #define RX_CLS_FLOW_WAKE 0xfffffffffffffffeULL
2359 #define RX_CLS_LOC_SPECIAL 0x80000000 /* flag */
2360 #define RX_CLS_LOC_ANY 0xffffffff
2361 #define RX_CLS_LOC_FIRST 0xfffffffe
2362 #define RX_CLS_LOC_LAST 0xfffffffd
2365 #define ETH_MODULE_SFF_8079 0x1
2367 #define ETH_MODULE_SFF_8472 0x2
2369 #define ETH_MODULE_SFF_8636 0x3
2371 #define ETH_MODULE_SFF_8436 0x4
2390 ETH_RESET_MGMT = 1 << 0, /* Management processor */
2401 ETH_RESET_DEDICATED = 0x0000ffff, /* All components dedicated to
2403 ETH_RESET_ALL = 0xffffffff, /* All components used by this
2427 * @phy_address: MDIO address of PHY (transceiver); 0 or 255 if not
2432 * protocols supported by the interface; 0 if unknown.
2445 * (>= 0); on return, if handshake in progress, negative if
2448 * are 0; otherwise (handshake completed), strictly positive
2468 * the speed is 0, %SPEED_UNKNOWN or the highest enabled speed and
2511 * autonegotiation; 0 if unknown or not applicable. Read-only.