Searched refs:reformat_type (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | port_tun.c | 86 int reformat_type, bool enable) in mlx5_set_entropy() argument 98 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy() 144 int reformat_type) in mlx5_tun_entropy_refcount_inc() argument 149 if ((reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN || in mlx5_tun_entropy_refcount_inc() 150 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL) && in mlx5_tun_entropy_refcount_inc() 158 } else if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_tun_entropy_refcount_inc() 164 err = mlx5_set_entropy(tun_entropy, reformat_type, 0); in mlx5_tun_entropy_refcount_inc() 176 int reformat_type) in mlx5_tun_entropy_refcount_dec() argument 179 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN) in mlx5_tun_entropy_refcount_dec() 181 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);
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 465 dr_action_reformat_to_action_type(enum mlx5dr_action_reformat_type reformat_type, in dr_action_reformat_to_action_type() argument 468 switch (reformat_type) { in dr_action_reformat_to_action_type() 1115 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1122 if (reformat_type == DR_ACTION_TYP_INSERT_HDR) { in dr_action_verify_reformat_params() 1129 } else if (reformat_type == DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1137 reformat_type > DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1146 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1147 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1152 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1153 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params() [all …]
|
D | mlx5dr.h | 118 enum mlx5dr_action_reformat_type reformat_type,
|
D | fs_dr.c | 322 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
|
D | dr_cmd.c | 530 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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.c | 315 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv4() 420 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv4() 583 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv6() 687 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv6() 791 e->reformat_type = -1; in mlx5e_tc_tun_init_encap_attr()
|
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 | 159 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 212 int reformat_type; member
|
D | fs_core.h | 67 int reformat_type; /* from mlx5_ifc */ member
|
D | fs_cmd.c | 877 reformat_type, params->type); in mlx5_cmd_packet_reformat_alloc()
|
D | fs_core.c | 3425 pkt_reformat->reformat_type = params->type; in mlx5_packet_reformat_alloc()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 45 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach() 56 e->reformat_type); in mlx5e_rep_encap_entry_attach() 87 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
|
/linux-6.1.9/include/linux/mlx5/ |
D | mlx5_ifc.h | 6329 u8 reformat_type[0x8]; member
|