| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** | 
|  | 2 | **************************************************************************** | 
|  | 3 | *** | 
|  | 4 | ***   This header was automatically generated from a Linux kernel header | 
|  | 5 | ***   of the same name, to make information necessary for userspace to | 
|  | 6 | ***   call into the kernel available to libc.  It contains only constants, | 
|  | 7 | ***   structures, and macros generated from the original header, and thus, | 
|  | 8 | ***   contains no copyrightable information. | 
|  | 9 | *** | 
|  | 10 | ***   To edit the content of this header, modify the corresponding | 
|  | 11 | ***   source file (e.g. under external/kernel-headers/original/) then | 
|  | 12 | ***   run bionic/libc/kernel/tools/update_all.py | 
|  | 13 | *** | 
|  | 14 | ***   Any manual change here will be lost the next time this script will | 
|  | 15 | ***   be run. You've been warned! | 
|  | 16 | *** | 
|  | 17 | **************************************************************************** | 
|  | 18 | ****************************************************************************/ | 
|  | 19 | #ifndef _UAPI_LINUX_ETHTOOL_H | 
|  | 20 | #define _UAPI_LINUX_ETHTOOL_H | 
|  | 21 | #include <linux/types.h> | 
|  | 22 | #include <linux/if_ether.h> | 
|  | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 24 | struct ethtool_cmd { | 
|  | 25 | __u32 cmd; | 
|  | 26 | __u32 supported; | 
|  | 27 | __u32 advertising; | 
|  | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 29 | __u16 speed; | 
|  | 30 | __u8 duplex; | 
|  | 31 | __u8 port; | 
|  | 32 | __u8 phy_address; | 
|  | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 34 | __u8 transceiver; | 
|  | 35 | __u8 autoneg; | 
|  | 36 | __u8 mdio_support; | 
|  | 37 | __u32 maxtxpkt; | 
|  | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 39 | __u32 maxrxpkt; | 
|  | 40 | __u16 speed_hi; | 
|  | 41 | __u8 eth_tp_mdix; | 
|  | 42 | __u8 eth_tp_mdix_ctrl; | 
|  | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 44 | __u32 lp_advertising; | 
|  | 45 | __u32 reserved[2]; | 
|  | 46 | }; | 
|  | 47 | #define ETH_MDIO_SUPPORTS_C22 1 | 
|  | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 49 | #define ETH_MDIO_SUPPORTS_C45 2 | 
|  | 50 | #define ETHTOOL_FWVERS_LEN 32 | 
|  | 51 | #define ETHTOOL_BUSINFO_LEN 32 | 
|  | 52 | struct ethtool_drvinfo { | 
|  | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 54 | __u32 cmd; | 
|  | 55 | char driver[32]; | 
|  | 56 | char version[32]; | 
|  | 57 | char fw_version[ETHTOOL_FWVERS_LEN]; | 
|  | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 59 | char bus_info[ETHTOOL_BUSINFO_LEN]; | 
|  | 60 | char reserved1[32]; | 
|  | 61 | char reserved2[12]; | 
|  | 62 | __u32 n_priv_flags; | 
|  | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 64 | __u32 n_stats; | 
|  | 65 | __u32 testinfo_len; | 
|  | 66 | __u32 eedump_len; | 
|  | 67 | __u32 regdump_len; | 
|  | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 69 | }; | 
|  | 70 | #define SOPASS_MAX 6 | 
|  | 71 | struct ethtool_wolinfo { | 
|  | 72 | __u32 cmd; | 
|  | 73 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 74 | __u32 supported; | 
|  | 75 | __u32 wolopts; | 
|  | 76 | __u8 sopass[SOPASS_MAX]; | 
|  | 77 | }; | 
|  | 78 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 79 | struct ethtool_value { | 
|  | 80 | __u32 cmd; | 
|  | 81 | __u32 data; | 
|  | 82 | }; | 
|  | 83 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 84 | struct ethtool_regs { | 
|  | 85 | __u32 cmd; | 
|  | 86 | __u32 version; | 
|  | 87 | __u32 len; | 
|  | 88 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 89 | __u8 data[0]; | 
|  | 90 | }; | 
|  | 91 | struct ethtool_eeprom { | 
|  | 92 | __u32 cmd; | 
|  | 93 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 94 | __u32 magic; | 
|  | 95 | __u32 offset; | 
|  | 96 | __u32 len; | 
|  | 97 | __u8 data[0]; | 
|  | 98 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 99 | }; | 
|  | 100 | struct ethtool_eee { | 
|  | 101 | __u32 cmd; | 
|  | 102 | __u32 supported; | 
|  | 103 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 104 | __u32 advertised; | 
|  | 105 | __u32 lp_advertised; | 
|  | 106 | __u32 eee_active; | 
|  | 107 | __u32 eee_enabled; | 
|  | 108 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 109 | __u32 tx_lpi_enabled; | 
|  | 110 | __u32 tx_lpi_timer; | 
|  | 111 | __u32 reserved[2]; | 
|  | 112 | }; | 
|  | 113 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 114 | struct ethtool_modinfo { | 
|  | 115 | __u32 cmd; | 
|  | 116 | __u32 type; | 
|  | 117 | __u32 eeprom_len; | 
|  | 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 119 | __u32 reserved[8]; | 
|  | 120 | }; | 
|  | 121 | struct ethtool_coalesce { | 
|  | 122 | __u32 cmd; | 
|  | 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 124 | __u32 rx_coalesce_usecs; | 
|  | 125 | __u32 rx_max_coalesced_frames; | 
|  | 126 | __u32 rx_coalesce_usecs_irq; | 
|  | 127 | __u32 rx_max_coalesced_frames_irq; | 
|  | 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 129 | __u32 tx_coalesce_usecs; | 
|  | 130 | __u32 tx_max_coalesced_frames; | 
|  | 131 | __u32 tx_coalesce_usecs_irq; | 
|  | 132 | __u32 tx_max_coalesced_frames_irq; | 
|  | 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 134 | __u32 stats_block_coalesce_usecs; | 
|  | 135 | __u32 use_adaptive_rx_coalesce; | 
|  | 136 | __u32 use_adaptive_tx_coalesce; | 
|  | 137 | __u32 pkt_rate_low; | 
|  | 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 139 | __u32 rx_coalesce_usecs_low; | 
|  | 140 | __u32 rx_max_coalesced_frames_low; | 
|  | 141 | __u32 tx_coalesce_usecs_low; | 
|  | 142 | __u32 tx_max_coalesced_frames_low; | 
|  | 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 144 | __u32 pkt_rate_high; | 
|  | 145 | __u32 rx_coalesce_usecs_high; | 
|  | 146 | __u32 rx_max_coalesced_frames_high; | 
|  | 147 | __u32 tx_coalesce_usecs_high; | 
|  | 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 149 | __u32 tx_max_coalesced_frames_high; | 
|  | 150 | __u32 rate_sample_interval; | 
|  | 151 | }; | 
|  | 152 | struct ethtool_ringparam { | 
|  | 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 154 | __u32 cmd; | 
|  | 155 | __u32 rx_max_pending; | 
|  | 156 | __u32 rx_mini_max_pending; | 
|  | 157 | __u32 rx_jumbo_max_pending; | 
|  | 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 159 | __u32 tx_max_pending; | 
|  | 160 | __u32 rx_pending; | 
|  | 161 | __u32 rx_mini_pending; | 
|  | 162 | __u32 rx_jumbo_pending; | 
|  | 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 164 | __u32 tx_pending; | 
|  | 165 | }; | 
|  | 166 | struct ethtool_channels { | 
|  | 167 | __u32 cmd; | 
|  | 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 169 | __u32 max_rx; | 
|  | 170 | __u32 max_tx; | 
|  | 171 | __u32 max_other; | 
|  | 172 | __u32 max_combined; | 
|  | 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 174 | __u32 rx_count; | 
|  | 175 | __u32 tx_count; | 
|  | 176 | __u32 other_count; | 
|  | 177 | __u32 combined_count; | 
|  | 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 179 | }; | 
|  | 180 | struct ethtool_pauseparam { | 
|  | 181 | __u32 cmd; | 
|  | 182 | __u32 autoneg; | 
|  | 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 184 | __u32 rx_pause; | 
|  | 185 | __u32 tx_pause; | 
|  | 186 | }; | 
|  | 187 | #define ETH_GSTRING_LEN 32 | 
|  | 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 189 | enum ethtool_stringset { | 
|  | 190 | ETH_SS_TEST = 0, | 
|  | 191 | ETH_SS_STATS, | 
|  | 192 | ETH_SS_PRIV_FLAGS, | 
|  | 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 194 | ETH_SS_NTUPLE_FILTERS, | 
|  | 195 | ETH_SS_FEATURES, | 
|  | 196 | }; | 
|  | 197 | struct ethtool_gstrings { | 
|  | 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 199 | __u32 cmd; | 
|  | 200 | __u32 string_set; | 
|  | 201 | __u32 len; | 
|  | 202 | __u8 data[0]; | 
|  | 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 204 | }; | 
|  | 205 | struct ethtool_sset_info { | 
|  | 206 | __u32 cmd; | 
|  | 207 | __u32 reserved; | 
|  | 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 209 | __u64 sset_mask; | 
|  | 210 | __u32 data[0]; | 
|  | 211 | }; | 
|  | 212 | enum ethtool_test_flags { | 
|  | 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 214 | ETH_TEST_FL_OFFLINE = (1 << 0), | 
|  | 215 | ETH_TEST_FL_FAILED = (1 << 1), | 
|  | 216 | ETH_TEST_FL_EXTERNAL_LB = (1 << 2), | 
|  | 217 | ETH_TEST_FL_EXTERNAL_LB_DONE = (1 << 3), | 
|  | 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 219 | }; | 
|  | 220 | struct ethtool_test { | 
|  | 221 | __u32 cmd; | 
|  | 222 | __u32 flags; | 
|  | 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 224 | __u32 reserved; | 
|  | 225 | __u32 len; | 
|  | 226 | __u64 data[0]; | 
|  | 227 | }; | 
|  | 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 229 | struct ethtool_stats { | 
|  | 230 | __u32 cmd; | 
|  | 231 | __u32 n_stats; | 
|  | 232 | __u64 data[0]; | 
|  | 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 234 | }; | 
|  | 235 | struct ethtool_perm_addr { | 
|  | 236 | __u32 cmd; | 
|  | 237 | __u32 size; | 
|  | 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 239 | __u8 data[0]; | 
|  | 240 | }; | 
|  | 241 | enum ethtool_flags { | 
|  | 242 | ETH_FLAG_TXVLAN = (1 << 7), | 
|  | 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 244 | ETH_FLAG_RXVLAN = (1 << 8), | 
|  | 245 | ETH_FLAG_LRO = (1 << 15), | 
|  | 246 | ETH_FLAG_NTUPLE = (1 << 27), | 
|  | 247 | ETH_FLAG_RXHASH = (1 << 28), | 
|  | 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 249 | }; | 
|  | 250 | struct ethtool_tcpip4_spec { | 
|  | 251 | __be32 ip4src; | 
|  | 252 | __be32 ip4dst; | 
|  | 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 254 | __be16 psrc; | 
|  | 255 | __be16 pdst; | 
|  | 256 | __u8 tos; | 
|  | 257 | }; | 
|  | 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 259 | struct ethtool_ah_espip4_spec { | 
|  | 260 | __be32 ip4src; | 
|  | 261 | __be32 ip4dst; | 
|  | 262 | __be32 spi; | 
|  | 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 264 | __u8 tos; | 
|  | 265 | }; | 
|  | 266 | #define ETH_RX_NFC_IP4 1 | 
|  | 267 | struct ethtool_usrip4_spec { | 
|  | 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 269 | __be32 ip4src; | 
|  | 270 | __be32 ip4dst; | 
|  | 271 | __be32 l4_4_bytes; | 
|  | 272 | __u8 tos; | 
|  | 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 274 | __u8 ip_ver; | 
|  | 275 | __u8 proto; | 
|  | 276 | }; | 
|  | 277 | union ethtool_flow_union { | 
|  | 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 279 | struct ethtool_tcpip4_spec tcp_ip4_spec; | 
|  | 280 | struct ethtool_tcpip4_spec udp_ip4_spec; | 
|  | 281 | struct ethtool_tcpip4_spec sctp_ip4_spec; | 
|  | 282 | struct ethtool_ah_espip4_spec ah_ip4_spec; | 
|  | 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 284 | struct ethtool_ah_espip4_spec esp_ip4_spec; | 
|  | 285 | struct ethtool_usrip4_spec usr_ip4_spec; | 
|  | 286 | struct ethhdr ether_spec; | 
|  | 287 | __u8 hdata[52]; | 
|  | 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 289 | }; | 
|  | 290 | struct ethtool_flow_ext { | 
|  | 291 | __u8 padding[2]; | 
|  | 292 | unsigned char h_dest[ETH_ALEN]; | 
|  | 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 294 | __be16 vlan_etype; | 
|  | 295 | __be16 vlan_tci; | 
|  | 296 | __be32 data[2]; | 
|  | 297 | }; | 
|  | 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 299 | struct ethtool_rx_flow_spec { | 
|  | 300 | __u32 flow_type; | 
|  | 301 | union ethtool_flow_union h_u; | 
|  | 302 | struct ethtool_flow_ext h_ext; | 
|  | 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 304 | union ethtool_flow_union m_u; | 
|  | 305 | struct ethtool_flow_ext m_ext; | 
|  | 306 | __u64 ring_cookie; | 
|  | 307 | __u32 location; | 
|  | 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 309 | }; | 
|  | 310 | struct ethtool_rxnfc { | 
|  | 311 | __u32 cmd; | 
|  | 312 | __u32 flow_type; | 
|  | 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 314 | __u64 data; | 
|  | 315 | struct ethtool_rx_flow_spec fs; | 
|  | 316 | __u32 rule_cnt; | 
|  | 317 | __u32 rule_locs[0]; | 
|  | 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 319 | }; | 
|  | 320 | struct ethtool_rxfh_indir { | 
|  | 321 | __u32 cmd; | 
|  | 322 | __u32 size; | 
|  | 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 324 | __u32 ring_index[0]; | 
|  | 325 | }; | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 326 | struct ethtool_rxfh { | 
|  | 327 | __u32 cmd; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 329 | __u32 rss_context; | 
|  | 330 | __u32 indir_size; | 
|  | 331 | __u32 key_size; | 
|  | 332 | __u32 rsvd[2]; | 
|  | 333 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 334 | __u32 rss_config[0]; | 
|  | 335 | }; | 
|  | 336 | #define ETH_RXFH_INDIR_NO_CHANGE 0xffffffff | 
|  | 337 | struct ethtool_rx_ntuple_flow_spec { | 
|  | 338 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 339 | __u32 flow_type; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 340 | union { | 
|  | 341 | struct ethtool_tcpip4_spec tcp_ip4_spec; | 
|  | 342 | struct ethtool_tcpip4_spec udp_ip4_spec; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 343 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 344 | struct ethtool_tcpip4_spec sctp_ip4_spec; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 345 | struct ethtool_ah_espip4_spec ah_ip4_spec; | 
|  | 346 | struct ethtool_ah_espip4_spec esp_ip4_spec; | 
|  | 347 | struct ethtool_usrip4_spec usr_ip4_spec; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 348 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 349 | struct ethhdr ether_spec; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 350 | __u8 hdata[72]; | 
|  | 351 | } h_u, m_u; | 
|  | 352 | __u16 vlan_tag; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 353 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 354 | __u16 vlan_tag_mask; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 355 | __u64 data; | 
|  | 356 | __u64 data_mask; | 
|  | 357 | __s32 action; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 358 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 359 | #define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 360 | #define ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) | 
|  | 361 | }; | 
|  | 362 | struct ethtool_rx_ntuple { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 363 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 364 | __u32 cmd; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 365 | struct ethtool_rx_ntuple_flow_spec fs; | 
|  | 366 | }; | 
|  | 367 | #define ETHTOOL_FLASH_MAX_FILENAME 128 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 368 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 369 | enum ethtool_flash_op_type { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 370 | ETHTOOL_FLASH_ALL_REGIONS = 0, | 
|  | 371 | }; | 
|  | 372 | struct ethtool_flash { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 373 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 374 | __u32 cmd; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 375 | __u32 region; | 
|  | 376 | char data[ETHTOOL_FLASH_MAX_FILENAME]; | 
|  | 377 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 378 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 379 | struct ethtool_dump { | 
|  | 380 | __u32 cmd; | 
|  | 381 | __u32 version; | 
|  | 382 | __u32 flag; | 
|  | 383 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 384 | __u32 len; | 
|  | 385 | __u8 data[0]; | 
|  | 386 | }; | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 387 | #define ETH_FW_DUMP_DISABLE 0 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 388 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 389 | struct ethtool_get_features_block { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 390 | __u32 available; | 
|  | 391 | __u32 requested; | 
|  | 392 | __u32 active; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 393 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 394 | __u32 never_changed; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 395 | }; | 
|  | 396 | struct ethtool_gfeatures { | 
|  | 397 | __u32 cmd; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 398 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 399 | __u32 size; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 400 | struct ethtool_get_features_block features[0]; | 
|  | 401 | }; | 
|  | 402 | struct ethtool_set_features_block { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 403 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 404 | __u32 valid; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 405 | __u32 requested; | 
|  | 406 | }; | 
|  | 407 | struct ethtool_sfeatures { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 408 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 409 | __u32 cmd; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 410 | __u32 size; | 
|  | 411 | struct ethtool_set_features_block features[0]; | 
|  | 412 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 413 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 414 | struct ethtool_ts_info { | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 415 | __u32 cmd; | 
|  | 416 | __u32 so_timestamping; | 
|  | 417 | __s32 phc_index; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 418 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 419 | __u32 tx_types; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 420 | __u32 tx_reserved[3]; | 
|  | 421 | __u32 rx_filters; | 
|  | 422 | __u32 rx_reserved[3]; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 423 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 424 | }; | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 425 | enum ethtool_sfeatures_retval_bits { | 
|  | 426 | ETHTOOL_F_UNSUPPORTED__BIT, | 
|  | 427 | ETHTOOL_F_WISH__BIT, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 428 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 429 | ETHTOOL_F_COMPAT__BIT, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 430 | }; | 
|  | 431 | #define ETHTOOL_F_UNSUPPORTED (1 << ETHTOOL_F_UNSUPPORTED__BIT) | 
|  | 432 | #define ETHTOOL_F_WISH (1 << ETHTOOL_F_WISH__BIT) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 433 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 434 | #define ETHTOOL_F_COMPAT (1 << ETHTOOL_F_COMPAT__BIT) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 435 | #define ETHTOOL_GSET 0x00000001 | 
|  | 436 | #define ETHTOOL_SSET 0x00000002 | 
|  | 437 | #define ETHTOOL_GDRVINFO 0x00000003 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 438 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 439 | #define ETHTOOL_GREGS 0x00000004 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 440 | #define ETHTOOL_GWOL 0x00000005 | 
|  | 441 | #define ETHTOOL_SWOL 0x00000006 | 
|  | 442 | #define ETHTOOL_GMSGLVL 0x00000007 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 443 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 444 | #define ETHTOOL_SMSGLVL 0x00000008 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 445 | #define ETHTOOL_NWAY_RST 0x00000009 | 
|  | 446 | #define ETHTOOL_GLINK 0x0000000a | 
|  | 447 | #define ETHTOOL_GEEPROM 0x0000000b | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 448 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 449 | #define ETHTOOL_SEEPROM 0x0000000c | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 450 | #define ETHTOOL_GCOALESCE 0x0000000e | 
|  | 451 | #define ETHTOOL_SCOALESCE 0x0000000f | 
|  | 452 | #define ETHTOOL_GRINGPARAM 0x00000010 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 453 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 454 | #define ETHTOOL_SRINGPARAM 0x00000011 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 455 | #define ETHTOOL_GPAUSEPARAM 0x00000012 | 
|  | 456 | #define ETHTOOL_SPAUSEPARAM 0x00000013 | 
|  | 457 | #define ETHTOOL_GRXCSUM 0x00000014 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 458 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 459 | #define ETHTOOL_SRXCSUM 0x00000015 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 460 | #define ETHTOOL_GTXCSUM 0x00000016 | 
|  | 461 | #define ETHTOOL_STXCSUM 0x00000017 | 
|  | 462 | #define ETHTOOL_GSG 0x00000018 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 463 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 464 | #define ETHTOOL_SSG 0x00000019 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 465 | #define ETHTOOL_TEST 0x0000001a | 
|  | 466 | #define ETHTOOL_GSTRINGS 0x0000001b | 
|  | 467 | #define ETHTOOL_PHYS_ID 0x0000001c | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 468 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 469 | #define ETHTOOL_GSTATS 0x0000001d | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 470 | #define ETHTOOL_GTSO 0x0000001e | 
|  | 471 | #define ETHTOOL_STSO 0x0000001f | 
|  | 472 | #define ETHTOOL_GPERMADDR 0x00000020 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 473 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 474 | #define ETHTOOL_GUFO 0x00000021 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 475 | #define ETHTOOL_SUFO 0x00000022 | 
|  | 476 | #define ETHTOOL_GGSO 0x00000023 | 
|  | 477 | #define ETHTOOL_SGSO 0x00000024 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 478 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 479 | #define ETHTOOL_GFLAGS 0x00000025 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 480 | #define ETHTOOL_SFLAGS 0x00000026 | 
|  | 481 | #define ETHTOOL_GPFLAGS 0x00000027 | 
|  | 482 | #define ETHTOOL_SPFLAGS 0x00000028 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 483 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 484 | #define ETHTOOL_GRXFH 0x00000029 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 485 | #define ETHTOOL_SRXFH 0x0000002a | 
|  | 486 | #define ETHTOOL_GGRO 0x0000002b | 
|  | 487 | #define ETHTOOL_SGRO 0x0000002c | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 488 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 489 | #define ETHTOOL_GRXRINGS 0x0000002d | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 490 | #define ETHTOOL_GRXCLSRLCNT 0x0000002e | 
|  | 491 | #define ETHTOOL_GRXCLSRULE 0x0000002f | 
|  | 492 | #define ETHTOOL_GRXCLSRLALL 0x00000030 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 493 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 494 | #define ETHTOOL_SRXCLSRLDEL 0x00000031 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 495 | #define ETHTOOL_SRXCLSRLINS 0x00000032 | 
|  | 496 | #define ETHTOOL_FLASHDEV 0x00000033 | 
|  | 497 | #define ETHTOOL_RESET 0x00000034 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 498 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 499 | #define ETHTOOL_SRXNTUPLE 0x00000035 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 500 | #define ETHTOOL_GRXNTUPLE 0x00000036 | 
|  | 501 | #define ETHTOOL_GSSET_INFO 0x00000037 | 
|  | 502 | #define ETHTOOL_GRXFHINDIR 0x00000038 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 503 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 504 | #define ETHTOOL_SRXFHINDIR 0x00000039 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 505 | #define ETHTOOL_GFEATURES 0x0000003a | 
|  | 506 | #define ETHTOOL_SFEATURES 0x0000003b | 
|  | 507 | #define ETHTOOL_GCHANNELS 0x0000003c | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 508 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 509 | #define ETHTOOL_SCHANNELS 0x0000003d | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 510 | #define ETHTOOL_SET_DUMP 0x0000003e | 
|  | 511 | #define ETHTOOL_GET_DUMP_FLAG 0x0000003f | 
|  | 512 | #define ETHTOOL_GET_DUMP_DATA 0x00000040 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 513 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 514 | #define ETHTOOL_GET_TS_INFO 0x00000041 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 515 | #define ETHTOOL_GMODULEINFO 0x00000042 | 
|  | 516 | #define ETHTOOL_GMODULEEEPROM 0x00000043 | 
|  | 517 | #define ETHTOOL_GEEE 0x00000044 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 518 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 519 | #define ETHTOOL_SEEE 0x00000045 | 
|  | 520 | #define ETHTOOL_GRSSH 0x00000046 | 
|  | 521 | #define ETHTOOL_SRSSH 0x00000047 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 522 | #define SPARC_ETH_GSET ETHTOOL_GSET | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 523 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 524 | #define SPARC_ETH_SSET ETHTOOL_SSET | 
|  | 525 | #define SUPPORTED_10baseT_Half (1 << 0) | 
|  | 526 | #define SUPPORTED_10baseT_Full (1 << 1) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 527 | #define SUPPORTED_100baseT_Half (1 << 2) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 528 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 529 | #define SUPPORTED_100baseT_Full (1 << 3) | 
|  | 530 | #define SUPPORTED_1000baseT_Half (1 << 4) | 
|  | 531 | #define SUPPORTED_1000baseT_Full (1 << 5) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 532 | #define SUPPORTED_Autoneg (1 << 6) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 533 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 534 | #define SUPPORTED_TP (1 << 7) | 
|  | 535 | #define SUPPORTED_AUI (1 << 8) | 
|  | 536 | #define SUPPORTED_MII (1 << 9) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 537 | #define SUPPORTED_FIBRE (1 << 10) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 538 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 539 | #define SUPPORTED_BNC (1 << 11) | 
|  | 540 | #define SUPPORTED_10000baseT_Full (1 << 12) | 
|  | 541 | #define SUPPORTED_Pause (1 << 13) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 542 | #define SUPPORTED_Asym_Pause (1 << 14) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 543 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 544 | #define SUPPORTED_2500baseX_Full (1 << 15) | 
|  | 545 | #define SUPPORTED_Backplane (1 << 16) | 
|  | 546 | #define SUPPORTED_1000baseKX_Full (1 << 17) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 547 | #define SUPPORTED_10000baseKX4_Full (1 << 18) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 548 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 549 | #define SUPPORTED_10000baseKR_Full (1 << 19) | 
|  | 550 | #define SUPPORTED_10000baseR_FEC (1 << 20) | 
|  | 551 | #define SUPPORTED_20000baseMLD2_Full (1 << 21) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 552 | #define SUPPORTED_20000baseKR2_Full (1 << 22) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 553 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 554 | #define SUPPORTED_40000baseKR4_Full (1 << 23) | 
|  | 555 | #define SUPPORTED_40000baseCR4_Full (1 << 24) | 
|  | 556 | #define SUPPORTED_40000baseSR4_Full (1 << 25) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 557 | #define SUPPORTED_40000baseLR4_Full (1 << 26) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 558 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 559 | #define ADVERTISED_10baseT_Half (1 << 0) | 
|  | 560 | #define ADVERTISED_10baseT_Full (1 << 1) | 
|  | 561 | #define ADVERTISED_100baseT_Half (1 << 2) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 562 | #define ADVERTISED_100baseT_Full (1 << 3) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 563 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 564 | #define ADVERTISED_1000baseT_Half (1 << 4) | 
|  | 565 | #define ADVERTISED_1000baseT_Full (1 << 5) | 
|  | 566 | #define ADVERTISED_Autoneg (1 << 6) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 567 | #define ADVERTISED_TP (1 << 7) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 568 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 569 | #define ADVERTISED_AUI (1 << 8) | 
|  | 570 | #define ADVERTISED_MII (1 << 9) | 
|  | 571 | #define ADVERTISED_FIBRE (1 << 10) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 572 | #define ADVERTISED_BNC (1 << 11) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 573 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 574 | #define ADVERTISED_10000baseT_Full (1 << 12) | 
|  | 575 | #define ADVERTISED_Pause (1 << 13) | 
|  | 576 | #define ADVERTISED_Asym_Pause (1 << 14) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 577 | #define ADVERTISED_2500baseX_Full (1 << 15) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 578 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 579 | #define ADVERTISED_Backplane (1 << 16) | 
|  | 580 | #define ADVERTISED_1000baseKX_Full (1 << 17) | 
|  | 581 | #define ADVERTISED_10000baseKX4_Full (1 << 18) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 582 | #define ADVERTISED_10000baseKR_Full (1 << 19) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 583 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 584 | #define ADVERTISED_10000baseR_FEC (1 << 20) | 
|  | 585 | #define ADVERTISED_20000baseMLD2_Full (1 << 21) | 
|  | 586 | #define ADVERTISED_20000baseKR2_Full (1 << 22) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 587 | #define ADVERTISED_40000baseKR4_Full (1 << 23) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 588 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 589 | #define ADVERTISED_40000baseCR4_Full (1 << 24) | 
|  | 590 | #define ADVERTISED_40000baseSR4_Full (1 << 25) | 
|  | 591 | #define ADVERTISED_40000baseLR4_Full (1 << 26) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 592 | #define SPEED_10 10 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 593 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 594 | #define SPEED_100 100 | 
|  | 595 | #define SPEED_1000 1000 | 
|  | 596 | #define SPEED_2500 2500 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 597 | #define SPEED_10000 10000 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 598 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 599 | #define SPEED_UNKNOWN -1 | 
|  | 600 | #define DUPLEX_HALF 0x00 | 
|  | 601 | #define DUPLEX_FULL 0x01 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 602 | #define DUPLEX_UNKNOWN 0xff | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 603 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 604 | #define PORT_TP 0x00 | 
|  | 605 | #define PORT_AUI 0x01 | 
|  | 606 | #define PORT_MII 0x02 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 607 | #define PORT_FIBRE 0x03 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 608 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 609 | #define PORT_BNC 0x04 | 
|  | 610 | #define PORT_DA 0x05 | 
|  | 611 | #define PORT_NONE 0xef | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 612 | #define PORT_OTHER 0xff | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 613 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 614 | #define XCVR_INTERNAL 0x00 | 
|  | 615 | #define XCVR_EXTERNAL 0x01 | 
|  | 616 | #define XCVR_DUMMY1 0x02 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 617 | #define XCVR_DUMMY2 0x03 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 618 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 619 | #define XCVR_DUMMY3 0x04 | 
|  | 620 | #define AUTONEG_DISABLE 0x00 | 
|  | 621 | #define AUTONEG_ENABLE 0x01 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 622 | #define ETH_TP_MDI_INVALID 0x00 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 623 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 624 | #define ETH_TP_MDI 0x01 | 
|  | 625 | #define ETH_TP_MDI_X 0x02 | 
|  | 626 | #define ETH_TP_MDI_AUTO 0x03 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 627 | #define WAKE_PHY (1 << 0) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 628 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 629 | #define WAKE_UCAST (1 << 1) | 
|  | 630 | #define WAKE_MCAST (1 << 2) | 
|  | 631 | #define WAKE_BCAST (1 << 3) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 632 | #define WAKE_ARP (1 << 4) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 633 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 634 | #define WAKE_MAGIC (1 << 5) | 
|  | 635 | #define WAKE_MAGICSECURE (1 << 6) | 
|  | 636 | #define TCP_V4_FLOW 0x01 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 637 | #define UDP_V4_FLOW 0x02 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 638 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 639 | #define SCTP_V4_FLOW 0x03 | 
|  | 640 | #define AH_ESP_V4_FLOW 0x04 | 
|  | 641 | #define TCP_V6_FLOW 0x05 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 642 | #define UDP_V6_FLOW 0x06 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 643 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 644 | #define SCTP_V6_FLOW 0x07 | 
|  | 645 | #define AH_ESP_V6_FLOW 0x08 | 
|  | 646 | #define AH_V4_FLOW 0x09 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 647 | #define ESP_V4_FLOW 0x0a | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 648 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 649 | #define AH_V6_FLOW 0x0b | 
|  | 650 | #define ESP_V6_FLOW 0x0c | 
|  | 651 | #define IP_USER_FLOW 0x0d | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 652 | #define IPV4_FLOW 0x10 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 653 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 654 | #define IPV6_FLOW 0x11 | 
|  | 655 | #define ETHER_FLOW 0x12 | 
|  | 656 | #define FLOW_EXT 0x80000000 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 657 | #define FLOW_MAC_EXT 0x40000000 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 658 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 659 | #define RXH_L2DA (1 << 1) | 
|  | 660 | #define RXH_VLAN (1 << 2) | 
|  | 661 | #define RXH_L3_PROTO (1 << 3) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 662 | #define RXH_IP_SRC (1 << 4) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 663 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 664 | #define RXH_IP_DST (1 << 5) | 
|  | 665 | #define RXH_L4_B_0_1 (1 << 6) | 
|  | 666 | #define RXH_L4_B_2_3 (1 << 7) | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 667 | #define RXH_DISCARD (1 << 31) | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 668 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 669 | #define RX_CLS_FLOW_DISC 0xffffffffffffffffULL | 
|  | 670 | #define RX_CLS_LOC_SPECIAL 0x80000000 | 
|  | 671 | #define RX_CLS_LOC_ANY 0xffffffff | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 672 | #define RX_CLS_LOC_FIRST 0xfffffffe | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 673 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 674 | #define RX_CLS_LOC_LAST 0xfffffffd | 
|  | 675 | #define ETH_MODULE_SFF_8079 0x1 | 
|  | 676 | #define ETH_MODULE_SFF_8079_LEN 256 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 677 | #define ETH_MODULE_SFF_8472 0x2 | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 678 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 679 | #define ETH_MODULE_SFF_8472_LEN 512 | 
|  | 680 | enum ethtool_reset_flags { | 
|  | 681 | ETH_RESET_MGMT = 1 << 0, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 682 | ETH_RESET_IRQ = 1 << 1, | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 683 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 684 | ETH_RESET_DMA = 1 << 2, | 
|  | 685 | ETH_RESET_FILTER = 1 << 3, | 
|  | 686 | ETH_RESET_OFFLOAD = 1 << 4, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 687 | ETH_RESET_MAC = 1 << 5, | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 688 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 689 | ETH_RESET_PHY = 1 << 6, | 
|  | 690 | ETH_RESET_RAM = 1 << 7, | 
|  | 691 | ETH_RESET_DEDICATED = 0x0000ffff, | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 692 | ETH_RESET_ALL = 0xffffffff, | 
| Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 693 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 694 | }; | 
|  | 695 | #define ETH_RESET_SHARED_SHIFT 16 | 
|  | 696 | #endif |