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_PEDIT_H__ |
5 | #define __MLX5_EN_TC_ACT_PEDIT_H__ |
6 | |
7 | #include "en_tc.h" |
8 | |
9 | struct { |
10 | struct ethhdr ; |
11 | struct vlan_hdr ; |
12 | struct iphdr ; |
13 | struct ipv6hdr ; |
14 | struct tcphdr ; |
15 | struct udphdr ; |
16 | }; |
17 | |
18 | struct { |
19 | struct pedit_headers ; |
20 | struct pedit_headers ; |
21 | u32 ; |
22 | }; |
23 | |
24 | int |
25 | mlx5e_tc_act_pedit_parse_action(struct mlx5e_priv *priv, |
26 | const struct flow_action_entry *act, int namespace, |
27 | struct pedit_headers_action *hdrs, |
28 | struct netlink_ext_ack *extack); |
29 | |
30 | #endif /* __MLX5_EN_TC_ACT_PEDIT_H__ */ |
31 | |