Home
last modified time | relevance | path

Searched refs:s_action (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v3.c32 static void dr_ste_v3_set_pop_vlan(u8 *hw_ste_p, u8 *s_action, in dr_ste_v3_set_pop_vlan() argument
35 MLX5_SET(ste_single_action_remove_header_size_v3, s_action, in dr_ste_v3_set_pop_vlan()
37 MLX5_SET(ste_single_action_remove_header_size_v3, s_action, in dr_ste_v3_set_pop_vlan()
40 MLX5_SET(ste_single_action_remove_header_size_v3, s_action, in dr_ste_v3_set_pop_vlan()
70 static void dr_ste_v3_set_rx_decap(u8 *hw_ste_p, u8 *s_action) in dr_ste_v3_set_rx_decap() argument
72 MLX5_SET(ste_single_action_remove_header_v3, s_action, action_id, in dr_ste_v3_set_rx_decap()
74 MLX5_SET(ste_single_action_remove_header_v3, s_action, decap, 1); in dr_ste_v3_set_rx_decap()
75 MLX5_SET(ste_single_action_remove_header_v3, s_action, vni_to_cqe, 1); in dr_ste_v3_set_rx_decap()
76 MLX5_SET(ste_single_action_remove_header_v3, s_action, end_anchor, in dr_ste_v3_set_rx_decap()
105 static void dr_ste_v3_set_remove_hdr(u8 *hw_ste_p, u8 *s_action, in dr_ste_v3_set_remove_hdr() argument
[all …]
H A Ddr_ste_v1.c240 static void dr_ste_v1_set_rx_flow_tag(u8 *s_action, u32 flow_tag) in dr_ste_v1_set_rx_flow_tag() argument
242 MLX5_SET(ste_single_action_flow_tag_v1, s_action, action_id, in dr_ste_v1_set_rx_flow_tag()
244 MLX5_SET(ste_single_action_flow_tag_v1, s_action, flow_tag, flow_tag); in dr_ste_v1_set_rx_flow_tag()
289 void dr_ste_v1_set_remove_hdr(u8 *hw_ste_p, u8 *s_action, in dr_ste_v1_set_remove_hdr() argument
293 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, in dr_ste_v1_set_remove_hdr()
295 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, start_anchor, anchor); in dr_ste_v1_set_remove_hdr()
298 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, remove_size, size / 2); in dr_ste_v1_set_remove_hdr()
299 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, start_offset, offset / 2); in dr_ste_v1_set_remove_hdr()
317 void dr_ste_v1_set_pop_vlan(u8 *hw_ste_p, u8 *s_action, u8 vlans_num) in dr_ste_v1_set_pop_vlan() argument
319 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, in dr_ste_v1_set_pop_vlan()
[all …]
H A Ddr_ste_v1.h155 void dr_ste_v1_set_pop_vlan(u8 *hw_ste_p, u8 *s_action, u8 vlans_num);
158 void dr_ste_v1_set_rx_decap(u8 *hw_ste_p, u8 *s_action);
161 void dr_ste_v1_set_remove_hdr(u8 *hw_ste_p, u8 *s_action, u8 anchor,
H A Ddr_ste.h207 void (*set_pop_vlan)(u8 *hw_ste_p, u8 *s_action,
209 void (*set_rx_decap)(u8 *hw_ste_p, u8 *s_action);
215 void (*set_remove_hdr)(u8 *hw_ste_p, u8 *s_action, u8 anchor,