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

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

#include "tir.h"
#include "params.h"
#include <linux/mlx5/transobj.h>

#define MLX5E_PARAMS_DEFAULT_LRO_WQE_SZ

/* max() doesn't work inside square brackets. */
#define MLX5E_TIR_CMD_IN_SZ_DW

struct mlx5e_tir_builder {};

struct mlx5e_tir_builder *mlx5e_tir_builder_alloc(bool modify)
{}

void mlx5e_tir_builder_free(struct mlx5e_tir_builder *builder)
{}

void mlx5e_tir_builder_clear(struct mlx5e_tir_builder *builder)
{}

static void *mlx5e_tir_builder_get_tirc(struct mlx5e_tir_builder *builder)
{}

void mlx5e_tir_builder_build_inline(struct mlx5e_tir_builder *builder, u32 tdn, u32 rqn)
{}

void mlx5e_tir_builder_build_rqt(struct mlx5e_tir_builder *builder, u32 tdn,
				 u32 rqtn, bool inner_ft_support)
{}

void mlx5e_tir_builder_build_packet_merge(struct mlx5e_tir_builder *builder,
					  const struct mlx5e_packet_merge_param *pkt_merge_param)
{}

static int mlx5e_hfunc_to_hw(u8 hfunc)
{}

void mlx5e_tir_builder_build_rss(struct mlx5e_tir_builder *builder,
				 const struct mlx5e_rss_params_hash *rss_hash,
				 const struct mlx5e_rss_params_traffic_type *rss_tt,
				 bool inner)
{}

void mlx5e_tir_builder_build_direct(struct mlx5e_tir_builder *builder)
{}

void mlx5e_tir_builder_build_tls(struct mlx5e_tir_builder *builder)
{}

int mlx5e_tir_init(struct mlx5e_tir *tir, struct mlx5e_tir_builder *builder,
		   struct mlx5_core_dev *mdev, bool reg)
{}

void mlx5e_tir_destroy(struct mlx5e_tir *tir)
{}

int mlx5e_tir_modify(struct mlx5e_tir *tir, struct mlx5e_tir_builder *builder)
{}