linux/drivers/net/ethernet/mellanox/mlx5/core/en/channels.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/* Copyright (c) 2021, Mellanox Technologies inc. All rights reserved. */

#include "channels.h"
#include "en.h"
#include "en/dim.h"
#include "en/ptp.h"

unsigned int mlx5e_channels_get_num(struct mlx5e_channels *chs)
{}

static struct mlx5e_channel *mlx5e_channels_get(struct mlx5e_channels *chs, unsigned int ix)
{}

bool mlx5e_channels_is_xsk(struct mlx5e_channels *chs, unsigned int ix)
{}

void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn,
				    u32 *vhca_id)
{}

void mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn,
				u32 *vhca_id)
{}

bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn)
{}

int mlx5e_channels_rx_change_dim(struct mlx5e_channels *chs, bool enable)
{}

int mlx5e_channels_tx_change_dim(struct mlx5e_channels *chs, bool enable)
{}

int mlx5e_channels_rx_toggle_dim(struct mlx5e_channels *chs)
{}

int mlx5e_channels_tx_toggle_dim(struct mlx5e_channels *chs)
{}