diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx4/cmd.h | 2 | ||||
| -rw-r--r-- | include/linux/mlx4/device.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index e7543844cc7a..c989442ffc6a 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h | |||
| @@ -280,6 +280,7 @@ int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_stat | |||
| 280 | int mlx4_config_dev_retrieval(struct mlx4_dev *dev, | 280 | int mlx4_config_dev_retrieval(struct mlx4_dev *dev, |
| 281 | struct mlx4_config_dev_params *params); | 281 | struct mlx4_config_dev_params *params); |
| 282 | void mlx4_cmd_wake_completions(struct mlx4_dev *dev); | 282 | void mlx4_cmd_wake_completions(struct mlx4_dev *dev); |
| 283 | void mlx4_report_internal_err_comm_event(struct mlx4_dev *dev); | ||
| 283 | /* | 284 | /* |
| 284 | * mlx4_get_slave_default_vlan - | 285 | * mlx4_get_slave_default_vlan - |
| 285 | * return true if VST ( default vlan) | 286 | * return true if VST ( default vlan) |
| @@ -289,5 +290,6 @@ bool mlx4_get_slave_default_vlan(struct mlx4_dev *dev, int port, int slave, | |||
| 289 | u16 *vlan, u8 *qos); | 290 | u16 *vlan, u8 *qos); |
| 290 | 291 | ||
| 291 | #define MLX4_COMM_GET_IF_REV(cmd_chan_ver) (u8)((cmd_chan_ver) >> 8) | 292 | #define MLX4_COMM_GET_IF_REV(cmd_chan_ver) (u8)((cmd_chan_ver) >> 8) |
| 293 | #define COMM_CHAN_EVENT_INTERNAL_ERR (1 << 17) | ||
| 292 | 294 | ||
| 293 | #endif /* MLX4_CMD_H */ | 295 | #endif /* MLX4_CMD_H */ |
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 33f9ca71925c..5ef54e145e4d 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
| @@ -208,6 +208,10 @@ enum { | |||
| 208 | MLX4_QUERY_FUNC_FLAGS_A0_RES_QP = 1LL << 1 | 208 | MLX4_QUERY_FUNC_FLAGS_A0_RES_QP = 1LL << 1 |
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | enum { | ||
| 212 | MLX4_VF_CAP_FLAG_RESET = 1 << 0 | ||
| 213 | }; | ||
| 214 | |||
| 211 | /* bit enums for an 8-bit flags field indicating special use | 215 | /* bit enums for an 8-bit flags field indicating special use |
| 212 | * QPs which require special handling in qp_reserve_range. | 216 | * QPs which require special handling in qp_reserve_range. |
| 213 | * Currently, this only includes QPs used by the ETH interface, | 217 | * Currently, this only includes QPs used by the ETH interface, |
| @@ -545,6 +549,7 @@ struct mlx4_caps { | |||
| 545 | u8 alloc_res_qp_mask; | 549 | u8 alloc_res_qp_mask; |
| 546 | u32 dmfs_high_rate_qpn_base; | 550 | u32 dmfs_high_rate_qpn_base; |
| 547 | u32 dmfs_high_rate_qpn_range; | 551 | u32 dmfs_high_rate_qpn_range; |
| 552 | u32 vf_caps; | ||
| 548 | }; | 553 | }; |
| 549 | 554 | ||
| 550 | struct mlx4_buf_list { | 555 | struct mlx4_buf_list { |
