diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2011-03-22 23:38:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-23 20:24:20 +0100 |
commit | 725c89997e03d71b09ea3c17c997da0712b9d835 (patch) | |
tree | d141987aec9ae90d43e3f44e3facee921ec6f526 /drivers/net/mlx4/mlx4_en.h | |
parent | mlx4: Wake on LAN support (diff) | |
download | linux-725c89997e03d71b09ea3c17c997da0712b9d835.tar.xz linux-725c89997e03d71b09ea3c17c997da0712b9d835.zip |
mlx4_en: Reporting HW revision in ethtool -i
HW revision is derived from device ID and rev id.
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index 07aea8d0beeb..ad4df66750bc 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h @@ -216,6 +216,9 @@ struct mlx4_en_tx_desc { #define MLX4_EN_USE_SRQ 0x01000000 +#define MLX4_EN_CX3_LOW_ID 0x1000 +#define MLX4_EN_CX3_HIGH_ID 0x1005 + struct mlx4_en_rx_alloc { struct page *page; u16 offset; |