summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2008-10-22 10:56:48 -0700
committerRoland Dreier <rolandd@cisco.com>2008-10-22 10:56:48 -0700
commitb79acb49de6c2ab9ff0245f0f2b573d48b9a2d93 (patch)
tree59e824371b2ba25b2806a6077ef26a767d2e35ae /include/linux/mlx4
parent93fc9e1bb6507dde945c2eab68c93e1066ac3691 (diff)
downloadlinux-b79acb49de6c2ab9ff0245f0f2b573d48b9a2d93.tar.gz
linux-b79acb49de6c2ab9ff0245f0f2b573d48b9a2d93.tar.bz2
linux-b79acb49de6c2ab9ff0245f0f2b573d48b9a2d93.zip
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.h4
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 {
u64 fw_ver;
int num_ports;
int vl_cap[MLX4_MAX_PORTS + 1];
- int mtu_cap[MLX4_MAX_PORTS + 1];
+ int ib_mtu_cap[MLX4_MAX_PORTS + 1];
+ u64 def_mac[MLX4_MAX_PORTS + 1];
+ int eth_mtu_cap[MLX4_MAX_PORTS + 1];
int gid_table_len[MLX4_MAX_PORTS + 1];
int pkey_table_len[MLX4_MAX_PORTS + 1];
int local_ca_ack_delay;