Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v3.c7 static void dr_ste_v3_set_encap(u8 *hw_ste_p, u8 *d_action, in dr_ste_v3_set_encap() argument
10 MLX5_SET(ste_double_action_insert_with_ptr_v3, d_action, action_id, in dr_ste_v3_set_encap()
13 MLX5_SET(ste_double_action_insert_with_ptr_v3, d_action, size, size / 2); in dr_ste_v3_set_encap()
14 MLX5_SET(ste_double_action_insert_with_ptr_v3, d_action, pointer, reformat_id); in dr_ste_v3_set_encap()
15 MLX5_SET(ste_double_action_insert_with_ptr_v3, d_action, attributes, in dr_ste_v3_set_encap()
20 static void dr_ste_v3_set_push_vlan(u8 *ste, u8 *d_action, in dr_ste_v3_set_push_vlan() argument
23 MLX5_SET(ste_double_action_insert_with_inline_v3, d_action, action_id, in dr_ste_v3_set_push_vlan()
26 MLX5_SET(ste_double_action_insert_with_inline_v3, d_action, start_offset, in dr_ste_v3_set_push_vlan()
28 MLX5_SET(ste_double_action_insert_with_inline_v3, d_action, inline_data, vlan_hdr); in dr_ste_v3_set_push_vlan()
82 static void dr_ste_v3_set_insert_hdr(u8 *hw_ste_p, u8 *d_action, in dr_ste_v3_set_insert_hdr() argument
[all …]
H A Ddr_ste_v1.c257 void dr_ste_v1_set_encap(u8 *hw_ste_p, u8 *d_action, u32 reformat_id, int size) in dr_ste_v1_set_encap() argument
259 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, action_id, in dr_ste_v1_set_encap()
262 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, size, size / 2); in dr_ste_v1_set_encap()
263 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, pointer, reformat_id); in dr_ste_v1_set_encap()
264 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, attributes, in dr_ste_v1_set_encap()
269 void dr_ste_v1_set_insert_hdr(u8 *hw_ste_p, u8 *d_action, in dr_ste_v1_set_insert_hdr() argument
274 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, in dr_ste_v1_set_insert_hdr()
276 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, start_anchor, anchor); in dr_ste_v1_set_insert_hdr()
279 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, size, size / 2); in dr_ste_v1_set_insert_hdr()
280 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, start_offset, offset / 2); in dr_ste_v1_set_insert_hdr()
[all …]
H A Ddr_ste_v1.h153 void dr_ste_v1_set_encap(u8 *hw_ste_p, u8 *d_action, u32 reformat_id, int size);
154 void dr_ste_v1_set_push_vlan(u8 *hw_ste_p, u8 *d_action, u32 vlan_hdr);
159 void dr_ste_v1_set_insert_hdr(u8 *hw_ste_p, u8 *d_action, u32 reformat_id,
169 void dr_ste_v1_set_action_set(u8 *d_action, u8 hw_field, u8 shifter,
171 void dr_ste_v1_set_action_add(u8 *d_action, u8 hw_field, u8 shifter,
173 void dr_ste_v1_set_action_copy(u8 *d_action, u8 dst_hw_field, u8 dst_shifter,
H A Ddr_ste.h203 void (*set_encap)(u8 *hw_ste_p, u8 *d_action,
205 void (*set_push_vlan)(u8 *ste, u8 *d_action,
213 void (*set_insert_hdr)(u8 *hw_ste_p, u8 *d_action, u32 reformat_id,