/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | port_tun.c | 87 int reformat_type, bool enable) in mlx5_set_entropy() 99 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy() 145 int reformat_type) in mlx5_tun_entropy_refcount_inc() 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() 180 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN) in mlx5_tun_entropy_refcount_dec() 182 else if (reformat_type in mlx5_tun_entropy_refcount_dec() 86 mlx5_set_entropy(struct mlx5_tun_entropy *tun_entropy, int reformat_type, bool enable) mlx5_set_entropy() argument 144 mlx5_tun_entropy_refcount_inc(struct mlx5_tun_entropy *tun_entropy, int reformat_type) mlx5_tun_entropy_refcount_inc() argument 176 mlx5_tun_entropy_refcount_dec(struct mlx5_tun_entropy *tun_entropy, int reformat_type) mlx5_tun_entropy_refcount_dec() argument [all...] |
H A D | port_tun.h | 20 int reformat_type); 22 int reformat_type);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | port_tun.c | 86 int reformat_type, bool enable) in mlx5_set_entropy() 98 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy() 144 int reformat_type) in mlx5_tun_entropy_refcount_inc() 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() 179 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN) in mlx5_tun_entropy_refcount_dec() 181 else if (reformat_type in mlx5_tun_entropy_refcount_dec() 85 mlx5_set_entropy(struct mlx5_tun_entropy *tun_entropy, int reformat_type, bool enable) mlx5_set_entropy() argument 143 mlx5_tun_entropy_refcount_inc(struct mlx5_tun_entropy *tun_entropy, int reformat_type) mlx5_tun_entropy_refcount_inc() argument 175 mlx5_tun_entropy_refcount_dec(struct mlx5_tun_entropy *tun_entropy, int reformat_type) mlx5_tun_entropy_refcount_dec() argument [all...] |
H A D | port_tun.h | 20 int reformat_type); 22 int reformat_type);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_action.c | 498 dr_action_reformat_to_action_type(enum mlx5dr_action_reformat_type reformat_type, in dr_action_reformat_to_action_type() argument 501 switch (reformat_type) { in dr_action_reformat_to_action_type() 1345 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1352 if (reformat_type == DR_ACTION_TYP_INSERT_HDR) { in dr_action_verify_reformat_params() 1359 } else if (reformat_type == DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1367 reformat_type > DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params() 1376 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1377 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1382 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1383 reformat_type ! in dr_action_verify_reformat_params() 1515 mlx5dr_action_create_packet_reformat(struct mlx5dr_domain *dmn, enum mlx5dr_action_reformat_type reformat_type, u8 reformat_param_0, u8 reformat_param_1, size_t data_sz, void *data) mlx5dr_action_create_packet_reformat() argument [all...] |
H A D | mlx5dr.h | 119 enum mlx5dr_action_reformat_type reformat_type,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | fs_dr.c | 300 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte() 522 int reformat_type, in mlx5_cmd_dr_packet_reformat_alloc() 532 switch (reformat_type) { in mlx5_cmd_dr_packet_reformat_alloc() 546 reformat_type); in mlx5_cmd_dr_packet_reformat_alloc() 521 mlx5_cmd_dr_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, int reformat_type, size_t size, void *reformat_data, enum mlx5_flow_namespace_type namespace, struct mlx5_pkt_reformat *pkt_reformat) mlx5_cmd_dr_packet_reformat_alloc() argument
|
H A D | dr_action.c | 374 dr_action_reformat_to_action_type(enum mlx5dr_action_reformat_type reformat_type, in dr_action_reformat_to_action_type() argument 377 switch (reformat_type) { in dr_action_reformat_to_action_type() 1151 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1156 if ((!data && data_sz) || (data && !data_sz) || reformat_type > in dr_action_verify_reformat_params() 1166 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1167 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1172 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1173 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params() 1274 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() 1285 ret = dr_action_reformat_to_action_type(reformat_type, in mlx5dr_action_create_packet_reformat() 1273 mlx5dr_action_create_packet_reformat(struct mlx5dr_domain *dmn, enum mlx5dr_action_reformat_type reformat_type, size_t data_sz, void *data) mlx5dr_action_create_packet_reformat() argument [all...] |
H A D | mlx5dr.h | 107 enum mlx5dr_action_reformat_type reformat_type,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_cmd.h | 80 int reformat_type,
|
H A D | en_rep.h | 191 int reformat_type; member
|
H A D | fs_cmd.c | 111 int reformat_type, in mlx5_cmd_stub_packet_reformat_alloc() 688 int reformat_type, in mlx5_cmd_packet_reformat_alloc() 731 reformat_type, reformat_type); in mlx5_cmd_packet_reformat_alloc() 110 mlx5_cmd_stub_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, int reformat_type, size_t size, void *reformat_data, enum mlx5_flow_namespace_type namespace, struct mlx5_pkt_reformat *pkt_reformat) mlx5_cmd_stub_packet_reformat_alloc() argument 687 mlx5_cmd_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, int reformat_type, size_t size, void *reformat_data, enum mlx5_flow_namespace_type namespace, struct mlx5_pkt_reformat *pkt_reformat) mlx5_cmd_packet_reformat_alloc() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_vxlan.c | 78 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
|
H A D | tc_tun_mplsoudp.c | 24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
|
H A D | tc_tun_gre.c | 23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
|
H A D | tc_tun.c | 281 e->reformat_type, in mlx5e_tc_tun_create_header_ipv4() 446 e->reformat_type, in mlx5e_tc_tun_create_header_ipv6() 488 e->reformat_type = -1; in mlx5e_tc_tun_init_encap_attr()
|
H A D | tc_tun_geneve.c | 75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_mplsoudp.c | 24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
|
H A D | tc_tun_gre.c | 23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
|
H A 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() 789 e->reformat_type = -1; in mlx5e_tc_tun_init_encap_attr()
|
H A D | tc_tun_vxlan.c | 79 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 37 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach() 48 e->reformat_type); in mlx5e_rep_encap_entry_attach() 79 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | tc.c | 44 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach() 55 e->reformat_type); in mlx5e_rep_encap_entry_attach() 86 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
H A D | fs.h | 258 int reformat_type,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.h | 218 int reformat_type; member
|