mlx5en: idiomatic use of preprocessor, in particular paths
MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
b984b95693
commit
89918a2375
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "opt_rss.h"
|
||||
#include "opt_ratelimit.h"
|
||||
|
||||
#include "en.h"
|
||||
#include <dev/mlx5/mlx5_en/en.h>
|
||||
|
||||
#ifdef RATELIMIT
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user