File Index
Files and directories
Sign in
FILE

vlan.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.h C
 1/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
 2/* Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */
 3
 4#ifndef __MLX5_EN_TC_ACT_VLAN_H__
 5#define __MLX5_EN_TC_ACT_VLAN_H__
 6
 7#include <net/flow_offload.h>
 8#include "en/tc_priv.h"
 9
10struct pedit_headers_action;
11
12int
13mlx5e_tc_act_vlan_add_push_action(struct mlx5e_priv *priv,
14				  struct mlx5_flow_attr *attr,
15				  struct net_device **out_dev,
16				  struct netlink_ext_ack *extack);
17
18int
19mlx5e_tc_act_vlan_add_pop_action(struct mlx5e_priv *priv,
20				 struct mlx5_flow_attr *attr,
21				 struct netlink_ext_ack *extack);
22
23int
24mlx5e_tc_act_vlan_add_rewrite_action(struct mlx5e_priv *priv, int namespace,
25				     const struct flow_action_entry *act,
26				     struct mlx5e_tc_flow_parse_attr *parse_attr,
27				     u32 *action, struct netlink_ext_ack *extack);
28
29#endif /* __MLX5_EN_TC_ACT_VLAN_H__ */
~/ Read-only file preview.