mlx5en: idiomatic use of preprocessor, in particular paths

MFC after:	1 week
Sponsored by:	NVIDIA Networking
This commit is contained in:
Konstantin Belousov 2021-06-14 13:43:44 +03:00 committed by Konstantin Belousov
parent b984b95693
commit 89918a2375
12 changed files with 14 additions and 14 deletions

View File

@ -982,8 +982,8 @@ struct mlx5e_xmit_args {
u16 ihs;
};
#include "en_rl.h"
#include "en_hw_tls.h"
#include <dev/mlx5/mlx5_en/en_rl.h>
#include <dev/mlx5/mlx5_en/en_hw_tls.h>
#define MLX5E_TSTMP_PREC 10

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
void
mlx5e_dim_build_cq_param(struct mlx5e_priv *priv,

View File

@ -28,8 +28,8 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include "port_buffer.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <dev/mlx5/mlx5_en/port_buffer.h>
void
mlx5e_create_stats(struct sysctl_ctx_list *ctx,

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <linux/list.h>
#include <dev/mlx5/fs.h>

View File

@ -29,7 +29,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <dev/mlx5/tls.h>

View File

@ -29,7 +29,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <sys/eventhandler.h>
#include <sys/sockio.h>

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "port_buffer.h"
#include <dev/mlx5/mlx5_en/port_buffer.h>
#define MLX5E_MAX_PORT_MTU 9216

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#ifdef RATELIMIT

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <machine/in_cksum.h>
static inline int

View File

@ -29,7 +29,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <machine/atomic.h>
static inline bool

View File

@ -28,7 +28,7 @@
#include "opt_rss.h"
#include "opt_ratelimit.h"
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
struct mlx5_cqe64 *
mlx5e_get_cqe(struct mlx5e_cq *cq)

View File

@ -28,7 +28,7 @@
#ifndef __MLX5_EN_PORT_BUFFER_H__
#define __MLX5_EN_PORT_BUFFER_H__
#include "en.h"
#include <dev/mlx5/mlx5_en/en.h>
#include <dev/mlx5/port.h>
#define MLX5E_MAX_BUFFER 8