diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2008-10-22 13:56:48 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-10-22 13:56:48 -0400 |
commit | b79acb49de6c2ab9ff0245f0f2b573d48b9a2d93 (patch) | |
tree | 59e824371b2ba25b2806a6077ef26a767d2e35ae /include/linux/mlx4 | |
parent | 93fc9e1bb6507dde945c2eab68c93e1066ac3691 (diff) |
mlx4_core: Get ethernet MTU and default address from firmware
Get maximum ethernet MTU and default MAC address from the firmware
QUERY_DEV_CAP command.
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 693f93cd29e1..f9e73cfc540b 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -166,7 +166,9 @@ struct mlx4_caps { | |||
166 | u64 fw_ver; | 166 | u64 fw_ver; |
167 | int num_ports; | 167 | int num_ports; |
168 | int vl_cap[MLX4_MAX_PORTS + 1]; | 168 | int vl_cap[MLX4_MAX_PORTS + 1]; |
169 | int mtu_cap[MLX4_MAX_PORTS + 1]; | 169 | int ib_mtu_cap[MLX4_MAX_PORTS + 1]; |
170 | u64 def_mac[MLX4_MAX_PORTS + 1]; | ||
171 | int eth_mtu_cap[MLX4_MAX_PORTS + 1]; | ||
170 | int gid_table_len[MLX4_MAX_PORTS + 1]; | 172 | int gid_table_len[MLX4_MAX_PORTS + 1]; |
171 | int pkey_table_len[MLX4_MAX_PORTS + 1]; | 173 | int pkey_table_len[MLX4_MAX_PORTS + 1]; |
172 | int local_ca_ack_delay; | 174 | int local_ca_ack_delay; |