Deleted Added
full compact
en.h (292946) en.h (292949)
1/*-
2 * Copyright (c) 2015 Mellanox Technologies. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 2015 Mellanox Technologies. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/dev/mlx5/mlx5_en/en.h 292946 2015-12-30 14:54:08Z hselasky $
25 * $FreeBSD: head/sys/dev/mlx5/mlx5_en/en.h 292949 2015-12-30 15:01:47Z hselasky $
26 */
27
28#ifndef _MLX5_EN_H_
29#define _MLX5_EN_H_
30
31#include <linux/kmod.h>
32#include <linux/page.h>
33#include <linux/slab.h>

--- 748 unchanged lines hidden (view full) ---

782}
783
784extern const struct ethtool_ops mlx5e_ethtool_ops;
785void mlx5e_create_ethtool(struct mlx5e_priv *);
786void mlx5e_create_stats(struct sysctl_ctx_list *,
787 struct sysctl_oid_list *, const char *,
788 const char **, unsigned, u64 *);
789void mlx5e_send_nop(struct mlx5e_sq *, u32, bool);
26 */
27
28#ifndef _MLX5_EN_H_
29#define _MLX5_EN_H_
30
31#include <linux/kmod.h>
32#include <linux/page.h>
33#include <linux/slab.h>

--- 748 unchanged lines hidden (view full) ---

782}
783
784extern const struct ethtool_ops mlx5e_ethtool_ops;
785void mlx5e_create_ethtool(struct mlx5e_priv *);
786void mlx5e_create_stats(struct sysctl_ctx_list *,
787 struct sysctl_oid_list *, const char *,
788 const char **, unsigned, u64 *);
789void mlx5e_send_nop(struct mlx5e_sq *, u32, bool);
790int mlx5e_refresh_channel_params(struct mlx5e_priv *);
790
791#endif /* _MLX5_EN_H_ */
791
792#endif /* _MLX5_EN_H_ */