linux/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c

// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/* Copyright (c) 2019 Mellanox Technologies. */

#include "dr_types.h"

static int dr_table_set_miss_action_nic(struct mlx5dr_domain *dmn,
					struct mlx5dr_table_rx_tx *nic_tbl,
					struct mlx5dr_action *action)
{}

int mlx5dr_table_set_miss_action(struct mlx5dr_table *tbl,
				 struct mlx5dr_action *action)
{}

static void dr_table_uninit_nic(struct mlx5dr_table_rx_tx *nic_tbl)
{}

static void dr_table_uninit_fdb(struct mlx5dr_table *tbl)
{}

static void dr_table_uninit(struct mlx5dr_table *tbl)
{}

static int dr_table_init_nic(struct mlx5dr_domain *dmn,
			     struct mlx5dr_table_rx_tx *nic_tbl)
{}

static int dr_table_init_fdb(struct mlx5dr_table *tbl)
{}

static int dr_table_init(struct mlx5dr_table *tbl)
{}

static int dr_table_destroy_sw_owned_tbl(struct mlx5dr_table *tbl)
{}

static int dr_table_create_sw_owned_tbl(struct mlx5dr_table *tbl, u16 uid)
{}

struct mlx5dr_table *mlx5dr_table_create(struct mlx5dr_domain *dmn, u32 level,
					 u32 flags, u16 uid)
{}

int mlx5dr_table_destroy(struct mlx5dr_table *tbl)
{}

u32 mlx5dr_table_get_id(struct mlx5dr_table *tbl)
{}

struct mlx5dr_table *mlx5dr_table_get_from_fs_ft(struct mlx5_flow_table *ft)
{}