diff options
author | Tariq Toukan | 2018-07-15 09:28:44 +0200 |
---|---|---|
committer | Saeed Mahameed | 2018-07-27 00:23:53 +0200 |
commit | 159d21313423b5ffe301834273cba79e915c65ee (patch) | |
tree | 322fac6975450f715b4b624498b140ba6164bda2 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5e: Restrict the combination of large MTU and XDP (diff) | |
download | kernel-qcow2-linux-159d21313423b5ffe301834273cba79e915c65ee.tar.gz kernel-qcow2-linux-159d21313423b5ffe301834273cba79e915c65ee.tar.xz kernel-qcow2-linux-159d21313423b5ffe301834273cba79e915c65ee.zip |
net/mlx5e: Move XDP related code into new XDP files
Take XDP code out of the general EN header and RX file into
new XDP files.
Currently, XDP-SQ resides only within an RQ and used from a
single flow (XDP_TX) triggered upon RX completions.
In a downstream patch, additional type of XDP-SQ instances will be
presented and used for the XDP_REDIRECT flow, totally unrelated to
the RX context.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index 56ae6e428fdf..dd5eec923766 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -47,6 +47,7 @@ #include "accel/tls.h" #include "vxlan.h" #include "en/port.h" +#include "en/xdp.h" struct mlx5e_rq_param { u32 rqc[MLX5_ST_SZ_DW(rqc)]; |