/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fs_tracepoint.h | 181 TP_PROTO(const struct fs_fte *fte, int new_fte), 182 TP_ARGS(fte, new_fte), 184 __field(const struct fs_fte *, fte) 201 __entry->fte = fte; 203 fs_get_obj(__entry->fg, fte->node.parent); 205 __entry->index = fte->index; 206 __entry->action = fte->action.action; 208 __entry->flow_tag = fte->flow_context.flow_tag; 209 __entry->flow_source = fte->flow_context.flow_source; 227 &fte->val, [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 228 struct fs_fte *fte) in mlx5_cmd_dr_create_fte() argument 248 return mlx5_fs_cmd_get_fw_cmds()->create_fte(ns, ft, group, fte); in mlx5_cmd_dr_create_fte() 271 match_sz = sizeof(fte->val); in mlx5_cmd_dr_create_fte() 274 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST) { in mlx5_cmd_dr_create_fte() 275 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_cmd_dr_create_fte() 279 fte->action.action &= ~MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; in mlx5_cmd_dr_create_fte() 289 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_DECAP) { in mlx5_cmd_dr_create_fte() 305 if (fte->action.action & MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT) { in mlx5_cmd_dr_create_fte() 306 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte() 311 fte->action.pkt_reformat->action.dr_action; in mlx5_cmd_dr_create_fte() [all …]
|
D | dr_cmd.c | 589 struct mlx5dr_cmd_fte_info *fte, in mlx5dr_cmd_set_extended_dest() argument 598 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5dr_cmd_set_extended_dest() 600 for (i = 0; i < fte->dests_size; i++) { in mlx5dr_cmd_set_extended_dest() 601 if (fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_COUNTER) in mlx5dr_cmd_set_extended_dest() 603 if (fte->dest_arr[i].type == MLX5_FLOW_DESTINATION_TYPE_VPORT && in mlx5dr_cmd_set_extended_dest() 604 fte->dest_arr[i].vport.flags & MLX5_FLOW_DEST_VPORT_REFORMAT_ID) in mlx5dr_cmd_set_extended_dest() 629 struct mlx5dr_cmd_fte_info *fte) in mlx5dr_cmd_set_fte() argument 642 if (mlx5dr_cmd_set_extended_dest(dev, fte, &extended_dest)) in mlx5dr_cmd_set_fte() 650 inlen = MLX5_ST_SZ_BYTES(set_fte_in) + fte->dests_size * dst_cnt_size; in mlx5dr_cmd_set_fte() 660 MLX5_SET(set_fte_in, in, flow_index, fte->index); in mlx5dr_cmd_set_fte() [all …]
|
D | dr_types.h | 1372 struct mlx5dr_cmd_fte_info *fte);
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | ipsec.c | 82 struct fs_fte *fte; member 770 struct fs_fte *fte, in mlx5_fpga_ipsec_fs_create_sa_ctx() argument 778 fs_get_obj(fg, fte->node.parent); in mlx5_fpga_ipsec_fs_create_sa_ctx() 784 fte->val, in mlx5_fpga_ipsec_fs_create_sa_ctx() 785 &fte->action, in mlx5_fpga_ipsec_fs_create_sa_ctx() 786 &fte->flow_context)) in mlx5_fpga_ipsec_fs_create_sa_ctx() 791 fte->val)) in mlx5_fpga_ipsec_fs_create_sa_ctx() 796 (struct mlx5_accel_esp_xfrm *)fte->action.esp_id; in mlx5_fpga_ipsec_fs_create_sa_ctx() 800 fte->val)) { in mlx5_fpga_ipsec_fs_create_sa_ctx() 803 fte->val, in mlx5_fpga_ipsec_fs_create_sa_ctx() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 280 find_flow_rule(struct fs_fte *fte, 494 static void modify_fte(struct fs_fte *fte) in modify_fte() argument 502 fs_get_obj(fg, fte->node.parent); in modify_fte() 504 dev = get_dev(&fte->node); in modify_fte() 507 err = root->cmds->update_fte(root, ft, fg, fte->modify_mask, fte); in modify_fte() 511 __func__, fg->id, fte->index); in modify_fte() 512 fte->modify_mask = 0; in modify_fte() 518 struct fs_fte *fte; in del_sw_hw_rule() local 521 fs_get_obj(fte, rule->node.parent); in del_sw_hw_rule() 530 --fte->dests_size) { in del_sw_hw_rule() [all …]
|
D | fs_cmd.c | 92 struct fs_fte *fte) in mlx5_cmd_stub_create_fte() argument 101 struct fs_fte *fte) in mlx5_cmd_stub_update_fte() argument 108 struct fs_fte *fte) in mlx5_cmd_stub_delete_fte() argument 425 struct fs_fte *fte, bool *extended_dest) in mlx5_set_extended_dest() argument 434 if (!(fte->action.action & MLX5_FLOW_CONTEXT_ACTION_FWD_DEST)) in mlx5_set_extended_dest() 437 list_for_each_entry(dst, &fte->node.children, node.list) { in mlx5_set_extended_dest() 464 struct fs_fte *fte) in mlx5_cmd_set_fte() argument 477 if (mlx5_set_extended_dest(dev, fte, &extended_dest)) in mlx5_cmd_set_fte() 485 inlen = MLX5_ST_SZ_BYTES(set_fte_in) + fte->dests_size * dst_cnt_size; in mlx5_cmd_set_fte() 495 MLX5_SET(set_fte_in, in, flow_index, fte->index); in mlx5_cmd_set_fte() [all …]
|
D | fs_cmd.h | 62 struct fs_fte *fte); 68 struct fs_fte *fte); 72 struct fs_fte *fte);
|
D | fs_core.h | 331 #define fs_for_each_dst(pos, fte) \ argument 332 fs_list_for_each_entry(pos, &(fte)->node.children)
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ipsec_fs.c | 59 struct mlx5_flow_handle *fte; in rx_err_add_rule() local 89 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, in rx_err_add_rule() 91 if (IS_ERR(fte)) { in rx_err_add_rule() 92 err = PTR_ERR(fte); in rx_err_add_rule() 97 rx_err->rule = fte; in rx_err_add_rule()
|