net/mlx5e: Move XDP related code into new XDP files
authorTariq Toukan <tariqt@mellanox.com>
Sun, 15 Jul 2018 07:28:44 +0000 (10:28 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Jul 2018 22:23:53 +0000 (15:23 -0700)
commit159d21313423b5ffe301834273cba79e915c65ee
tree322fac6975450f715b4b624498b140ba6164bda2
parenta26a5bdf3ee2da419ba2c2baa54f467103dc8cc5
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>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c