git: b984b95693e0 - main - mlx5en: normalize use of the opt_*.h files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 14:46:18 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b984b95693e0911836815addc95f18bb7ce28b04 commit b984b95693e0911836815addc95f18bb7ce28b04 Author: Konstantin Belousov <konstantinb@nvidia.com> AuthorDate: 2021-06-14 08:05:13 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-02-01 12:45:57 +0000 mlx5en: normalize use of the opt_*.h files MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/mlx5/mlx5_en/en.h | 2 -- sys/dev/mlx5/mlx5_en/mlx5_en_dim.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c | 2 ++ sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 2 ++ sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_rl.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_rx.c | 3 +++ sys/dev/mlx5/mlx5_en/mlx5_en_tx.c | 2 ++ sys/dev/mlx5/mlx5_en/mlx5_en_txrx.c | 3 +++ 11 files changed, 27 insertions(+), 2 deletions(-) diff --git a/sys/dev/mlx5/mlx5_en/en.h b/sys/dev/mlx5/mlx5_en/en.h index e8d4dcda85de..26d92827406c 100644 --- a/sys/dev/mlx5/mlx5_en/en.h +++ b/sys/dev/mlx5/mlx5_en/en.h @@ -54,8 +54,6 @@ #include <sys/kthread.h> #include <sys/counter.h> -#include "opt_rss.h" - #ifdef RSS #include <net/rss_config.h> #include <netinet/in_rss.h> diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_dim.c b/sys/dev/mlx5/mlx5_en/mlx5_en_dim.c index cc7680e4013a..cb8ffe098095 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_dim.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_dim.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" void diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c b/sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c index 9b91ae27ffee..ab6392fa5fd6 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" #include "port_buffer.h" diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c b/sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c index 54fbe8e057cc..5b139974c76f 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" #include <linux/list.h> diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c index 6140671fe0c2..d269b7fae64b 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c @@ -26,6 +26,8 @@ */ #include "opt_kern_tls.h" +#include "opt_rss.h" +#include "opt_ratelimit.h" #include "en.h" diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index 212bcf9711ea..92aae3180b5e 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -26,6 +26,8 @@ */ #include "opt_kern_tls.h" +#include "opt_rss.h" +#include "opt_ratelimit.h" #include "en.h" diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c b/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c index 6a623f4c9cad..6c7ae5a297cc 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "port_buffer.h" #define MLX5E_MAX_PORT_MTU 9216 diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_rl.c b/sys/dev/mlx5/mlx5_en/mlx5_en_rl.c index a95a227e639d..ede6b5019cff 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_rl.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_rl.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" #ifdef RATELIMIT diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c index 7cfd15b6aa5e..d4a175bf0988 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" #include <machine/in_cksum.h> diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_tx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_tx.c index e469482c99bd..69b7d904f36f 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_tx.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_tx.c @@ -26,6 +26,8 @@ */ #include "opt_kern_tls.h" +#include "opt_rss.h" +#include "opt_ratelimit.h" #include "en.h" #include <machine/atomic.h> diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_txrx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_txrx.c index 0befd107587c..c0f71c3fde86 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_txrx.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_txrx.c @@ -25,6 +25,9 @@ * $FreeBSD$ */ +#include "opt_rss.h" +#include "opt_ratelimit.h" + #include "en.h" struct mlx5_cqe64 *