Searched refs:reformat_type (Results 1 – 17 of 17) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | port_tun.c | 87 int reformat_type, bool enable) in mlx5_set_entropy() argument 99 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy() 145 int reformat_type) in mlx5_tun_entropy_refcount_inc() argument 150 if ((reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN || in mlx5_tun_entropy_refcount_inc() 151 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL) && in mlx5_tun_entropy_refcount_inc() 159 } else if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_tun_entropy_refcount_inc() 165 err = mlx5_set_entropy(tun_entropy, reformat_type, 0); in mlx5_tun_entropy_refcount_inc() 177 int reformat_type) in mlx5_tun_entropy_refcount_dec() argument 180 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN) in mlx5_tun_entropy_refcount_dec() 182 else if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE && in mlx5_tun_entropy_refcount_dec() [all …]
|
D | port_tun.h | 20 int reformat_type); 22 int reformat_type);
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 403 dr_action_reformat_to_action_type(enum mlx5dr_action_reformat_type reformat_type, in dr_action_reformat_to_action_type() argument 406 switch (reformat_type) { in dr_action_reformat_to_action_type() 1021 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1028 if (reformat_type == DR_ACTION_TYP_INSERT_HDR) { in dr_action_verify_reformat_params() 1035 } else if (reformat_type == DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1043 reformat_type > DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1052 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1053 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1058 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1059 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params() [all …]
|
D | mlx5dr.h | 114 enum mlx5dr_action_reformat_type reformat_type,
|
D | fs_dr.c | 306 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
|
D | dr_cmd.c | 522 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 309 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv4() 414 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv4() 574 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv6() 678 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv6() 771 e->reformat_type = -1; in mlx5e_tc_tun_init_encap_attr()
|
D | tc_tun_gre.c | 23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
|
D | tc_tun_mplsoudp.c | 24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
|
D | tc_tun_vxlan.c | 78 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
|
D | tc_tun_geneve.c | 75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
|
D | tc_tun_encap.c | 135 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 40 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach() 51 e->reformat_type); in mlx5e_rep_encap_entry_attach() 82 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 200 int reformat_type; member
|
D | fs_core.h | 62 int reformat_type; /* from mlx5_ifc */ member
|
D | fs_cmd.c | 799 reformat_type, params->type); in mlx5_cmd_packet_reformat_alloc()
|
D | fs_core.c | 3296 pkt_reformat->reformat_type = params->type; in mlx5_packet_reformat_alloc()
|