#include <linux/kernel.h>
#include "mlx5_core.h"
#include "geneve.h"
struct mlx5_geneve { … };
static int mlx5_geneve_tlv_option_create(struct mlx5_core_dev *mdev,
__be16 class,
u8 type,
u8 len)
{ … }
static void mlx5_geneve_tlv_option_destroy(struct mlx5_core_dev *mdev, u16 obj_id)
{ … }
int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt)
{ … }
void mlx5_geneve_tlv_option_del(struct mlx5_geneve *geneve)
{ … }
struct mlx5_geneve *mlx5_geneve_create(struct mlx5_core_dev *mdev)
{ … }
void mlx5_geneve_destroy(struct mlx5_geneve *geneve)
{ … }