diff options
author | jeff <jeff@FreeBSD.org> | 2011-03-26 00:54:01 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2011-03-26 00:54:01 +0000 |
commit | 568b9a65835c1c0b6bff6ec2ade2233f6e2be355 (patch) | |
tree | 4b68235518e9f534c29557e9b51f16ff3bfbd2fe /sys/ofed/include | |
parent | 1aed79fd1e77698b28410946bc1ba3a94b7b45b6 (diff) | |
download | FreeBSD-src-568b9a65835c1c0b6bff6ec2ade2233f6e2be355.zip FreeBSD-src-568b9a65835c1c0b6bff6ec2ade2233f6e2be355.tar.gz |
- Implement wake-on-lan support in mlxen.
Diffstat (limited to 'sys/ofed/include')
-rw-r--r-- | sys/ofed/include/linux/mlx4/device.h | 4 |
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 5272e5f..167c7e5 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); |