summaryrefslogtreecommitdiff
path: root/sys/ofed/include
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2011-03-26 00:54:01 +0000
committerJeff Roberson <jeff@FreeBSD.org>2011-03-26 00:54:01 +0000
commitcafd78fc6e777b5a126108b05928b760239807f0 (patch)
tree4b68235518e9f534c29557e9b51f16ff3bfbd2fe /sys/ofed/include
parent83baf4bacc2c6bf54008f7dbbaf7f3fa738684c9 (diff)
Notes
Diffstat (limited to 'sys/ofed/include')
-rw-r--r--sys/ofed/include/linux/mlx4/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/ofed/include/linux/mlx4/device.h b/sys/ofed/include/linux/mlx4/device.h
index 5272e5f7146d..167c7e5414b0 100644
--- a/sys/ofed/include/linux/mlx4/device.h
+++ b/sys/ofed/include/linux/mlx4/device.h
@@ -251,6 +251,7 @@ struct mlx4_caps {
u16 stat_rate_support;
int udp_rss;
int loopback_support;
+ int wol;
u8 port_width_cap[MLX4_MAX_PORTS + 1];
int max_gso_sz;
int reserved_qps_cnt[MLX4_NUM_QP_REGION];
@@ -535,6 +536,9 @@ int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift,
struct mlx4_mtt *mtt);
void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt);
u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt);
+int mlx4_wol_read(struct mlx4_dev *dev, u64 *config, int port);
+int mlx4_wol_write(struct mlx4_dev *dev, u64 config, int port);
+
int mlx4_mr_reserve_range(struct mlx4_dev *dev, int cnt, int align, u32 *base_mridx);
void mlx4_mr_release_range(struct mlx4_dev *dev, u32 base_mridx, int cnt);