.. | .. |
---|
118 | 118 | * struct opa_vesw_info - OPA vnic switch information |
---|
119 | 119 | * @fabric_id: 10-bit fabric id |
---|
120 | 120 | * @vesw_id: 12-bit virtual ethernet switch id |
---|
| 121 | + * @rsvd0: reserved bytes |
---|
121 | 122 | * @def_port_mask: bitmask of default ports |
---|
| 123 | + * @rsvd1: reserved bytes |
---|
122 | 124 | * @pkey: partition key |
---|
| 125 | + * @rsvd2: reserved bytes |
---|
123 | 126 | * @u_mcast_dlid: unknown multicast dlid |
---|
124 | 127 | * @u_ucast_dlid: array of unknown unicast dlids |
---|
| 128 | + * @rsvd3: reserved bytes |
---|
125 | 129 | * @rc: routing control |
---|
126 | 130 | * @eth_mtu: Ethernet MTU |
---|
| 131 | + * @rsvd4: reserved bytes |
---|
127 | 132 | */ |
---|
128 | 133 | struct opa_vesw_info { |
---|
129 | 134 | __be16 fabric_id; |
---|
.. | .. |
---|
150 | 155 | * struct opa_per_veswport_info - OPA vnic per port information |
---|
151 | 156 | * @port_num: port number |
---|
152 | 157 | * @eth_link_status: current ethernet link state |
---|
| 158 | + * @rsvd0: reserved bytes |
---|
153 | 159 | * @base_mac_addr: base mac address |
---|
154 | 160 | * @config_state: configured port state |
---|
155 | 161 | * @oper_state: operational port state |
---|
156 | 162 | * @max_mac_tbl_ent: max number of mac table entries |
---|
157 | 163 | * @max_smac_ent: max smac entries in mac table |
---|
158 | 164 | * @mac_tbl_digest: mac table digest |
---|
| 165 | + * @rsvd1: reserved bytes |
---|
159 | 166 | * @encap_slid: base slid for the port |
---|
160 | 167 | * @pcp_to_sc_uc: sc by pcp index for unicast ethernet packets |
---|
161 | 168 | * @pcp_to_vl_uc: vl by pcp index for unicast ethernet packets |
---|
.. | .. |
---|
165 | 172 | * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets |
---|
166 | 173 | * @non_vlan_sc_mc: sc for non-vlan multicast ethernet packets |
---|
167 | 174 | * @non_vlan_vl_mc: vl for non-vlan multicast ethernet packets |
---|
| 175 | + * @rsvd2: reserved bytes |
---|
168 | 176 | * @uc_macs_gen_count: generation count for unicast macs list |
---|
169 | 177 | * @mc_macs_gen_count: generation count for multicast macs list |
---|
| 178 | + * @rsvd3: reserved bytes |
---|
170 | 179 | */ |
---|
171 | 180 | struct opa_per_veswport_info { |
---|
172 | 181 | __be32 port_num; |
---|
.. | .. |
---|
239 | 248 | * @offset: mac table starting offset |
---|
240 | 249 | * @num_entries: Number of entries to get or set |
---|
241 | 250 | * @mac_tbl_digest: mac table digest |
---|
242 | | - * @tbl_entries[]: Array of table entries |
---|
| 251 | + * @tbl_entries: Array of table entries |
---|
243 | 252 | * |
---|
244 | 253 | * The EM sends down this structure in a MAD indicating |
---|
245 | 254 | * the starting offset in the forwarding table that this |
---|
.. | .. |
---|
258 | 267 | __be16 offset; |
---|
259 | 268 | __be16 num_entries; |
---|
260 | 269 | __be32 mac_tbl_digest; |
---|
261 | | - struct opa_veswport_mactable_entry tbl_entries[0]; |
---|
| 270 | + struct opa_veswport_mactable_entry tbl_entries[]; |
---|
262 | 271 | } __packed; |
---|
263 | 272 | |
---|
264 | 273 | /** |
---|
.. | .. |
---|
294 | 303 | * @rx_512_1023: received packet length is >=512 and < 1023 bytes |
---|
295 | 304 | * @rx_1024_1518: received packet length is >=1024 and < 1518 bytes |
---|
296 | 305 | * @rx_1519_max: received packet length >= 1519 bytes |
---|
| 306 | + * @reserved: reserved bytes |
---|
297 | 307 | * |
---|
298 | 308 | * All the above are counters of corresponding conditions. |
---|
299 | 309 | */ |
---|
.. | .. |
---|
347 | 357 | * @veswport_num: virtual ethernet switch port number |
---|
348 | 358 | * @tx_errors: transmit errors |
---|
349 | 359 | * @rx_errors: receive errors |
---|
| 360 | + * @rsvd0: reserved bytes |
---|
350 | 361 | * @tx_smac_filt: smac filter errors |
---|
| 362 | + * @rsvd1: reserved bytes |
---|
| 363 | + * @rsvd2: reserved bytes |
---|
| 364 | + * @rsvd3: reserved bytes |
---|
351 | 365 | * @tx_dlid_zero: transmit packets with invalid dlid |
---|
| 366 | + * @rsvd4: reserved bytes |
---|
352 | 367 | * @tx_logic: other transmit errors |
---|
| 368 | + * @rsvd5: reserved bytes |
---|
353 | 369 | * @tx_drop_state: packet tansmission in non-forward port state |
---|
354 | 370 | * @rx_bad_veswid: received packet with invalid vesw id |
---|
| 371 | + * @rsvd6: reserved bytes |
---|
355 | 372 | * @rx_runt: received ethernet packet with length < 64 bytes |
---|
356 | 373 | * @rx_oversize: received ethernet packet with length > MTU size |
---|
| 374 | + * @rsvd7: reserved bytes |
---|
357 | 375 | * @rx_eth_down: received packets when interface is down |
---|
358 | 376 | * @rx_drop_state: received packets in non-forwarding port state |
---|
359 | 377 | * @rx_logic: other receive errors |
---|
| 378 | + * @rsvd8: reserved bytes |
---|
| 379 | + * @rsvd9: reserved bytes |
---|
360 | 380 | * |
---|
361 | | - * All the above are counters of corresponding erorr conditions. |
---|
| 381 | + * All the above are counters of corresponding error conditions. |
---|
362 | 382 | */ |
---|
363 | 383 | struct opa_veswport_error_counters { |
---|
364 | 384 | __be16 vp_instance; |
---|
.. | .. |
---|
440 | 460 | __be16 num_macs_in_msg; |
---|
441 | 461 | __be16 tot_macs_in_lst; |
---|
442 | 462 | __be16 gen_count; |
---|
443 | | - struct opa_vnic_iface_mac_entry entry[0]; |
---|
| 463 | + struct opa_vnic_iface_mac_entry entry[]; |
---|
444 | 464 | } __packed; |
---|
445 | 465 | |
---|
446 | 466 | /** |
---|
447 | 467 | * struct opa_vnic_vema_mad - Generic VEMA MAD |
---|
448 | 468 | * @mad_hdr: Generic MAD header |
---|
449 | 469 | * @rmpp_hdr: RMPP header for vendor specific MADs |
---|
| 470 | + * @reserved: reserved bytes |
---|
450 | 471 | * @oui: Unique org identifier |
---|
451 | 472 | * @data: MAD data |
---|
452 | 473 | */ |
---|
.. | .. |
---|
467 | 488 | * @trap_num: Trap number |
---|
468 | 489 | * @toggle_count: Notice toggle bit and count value |
---|
469 | 490 | * @issuer_lid: Trap issuer's lid |
---|
| 491 | + * @reserved: reserved bytes |
---|
470 | 492 | * @issuer_gid: Issuer GID (only if Report method) |
---|
471 | 493 | * @raw_data: Trap message body |
---|
472 | 494 | */ |
---|
.. | .. |
---|
487 | 509 | * struct opa_vnic_vema_mad_trap - Generic VEMA MAD Trap |
---|
488 | 510 | * @mad_hdr: Generic MAD header |
---|
489 | 511 | * @rmpp_hdr: RMPP header for vendor specific MADs |
---|
| 512 | + * @reserved: reserved bytes |
---|
490 | 513 | * @oui: Unique org identifier |
---|
491 | 514 | * @notice: Notice structure |
---|
492 | 515 | */ |
---|