diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2014-10-27 12:37:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-29 00:18:00 +0300 |
commit | adbc7ac5c15eb5e9d70393428345e72a1a897d6a (patch) | |
tree | ffd61c6e2196a0b5a59534198528a7204269a792 /include/linux/mlx4/cmd.h | |
parent | 7202da8b7f7131d25411d81aa557e28cd941c5b6 (diff) | |
download | linux-adbc7ac5c15eb5e9d70393428345e72a1a897d6a.tar.xz |
net/mlx4_core: Introduce ACCESS_REG CMD and eth_prot_ctrl dev cap
Adding ACCESS REG mlx4 command and use it to implement Query method for
PTYS (Port Type and Speed Register).
Query and store eth_prot_ctrl dev cap.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4/cmd.h')
-rw-r--r-- | include/linux/mlx4/cmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index 379c02648ab3..ff5f5deb3dcf 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h @@ -67,6 +67,8 @@ enum { MLX4_CMD_MAP_ICM_AUX = 0xffc, MLX4_CMD_UNMAP_ICM_AUX = 0xffb, MLX4_CMD_SET_ICM_SIZE = 0xffd, + MLX4_CMD_ACCESS_REG = 0x3b, + /*master notify fw on finish for slave's flr*/ MLX4_CMD_INFORM_FLR_DONE = 0x5b, MLX4_CMD_GET_OP_REQ = 0x59, |