summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2020-04-30 15:54:17 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-07-28 02:37:41 -0700
commit5adf4c475aaa037d8f787d08c7699954cf78b19b (patch)
tree3051dd881cd7074418107428a88c6c47ef1fb322 /drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
parent123f0f53dd64b67e34142485fe866a8a581f12f1 (diff)
net/mlx5e: RX, Re-work initializaiton of RX function pointers
Instead of exposing the RQ datapath handlers (from en_rx.c) so that they are set in the control path (in en_main.c), wrap this logic in a single function in en_rx.c and expose it alone. Every profile will now have a pointer to the new mlx5e_rx_handlers structure, instead of directly pointing to the previously-exposed RQ handlers. This significantly improves locality and modularity of the driver, and allows many functions in en_rx.c to become static. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h')
0 files changed, 0 insertions, 0 deletions