Home
last modified time | relevance | path

Searched refs:reformat_type (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dport_tun.c87 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 …]
Dport_tun.h20 int reformat_type);
22 int reformat_type);
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c403 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 …]
Dmlx5dr.h114 enum mlx5dr_action_reformat_type reformat_type,
Dfs_dr.c306 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
Ddr_cmd.c522 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c309 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()
Dtc_tun_gre.c23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
Dtc_tun_mplsoudp.c24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
Dtc_tun_vxlan.c78 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
Dtc_tun_geneve.c75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
Dtc_tun_encap.c135 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.c40 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/
Den_rep.h200 int reformat_type; member
Dfs_core.h62 int reformat_type; /* from mlx5_ifc */ member
Dfs_cmd.c799 reformat_type, params->type); in mlx5_cmd_packet_reformat_alloc()
Dfs_core.c3296 pkt_reformat->reformat_type = params->type; in mlx5_packet_reformat_alloc()