| /Linux-v5.10/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);
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | fs_dr.c | 301 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte() 523 int reformat_type, in mlx5_cmd_dr_packet_reformat_alloc() argument 533 switch (reformat_type) { in mlx5_cmd_dr_packet_reformat_alloc() 547 reformat_type); in mlx5_cmd_dr_packet_reformat_alloc()
|
| 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() 1150 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1155 if ((!data && data_sz) || (data && !data_sz) || reformat_type > in dr_action_verify_reformat_params() 1165 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1166 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1171 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1172 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params() 1273 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() argument 1284 ret = dr_action_reformat_to_action_type(reformat_type, &action_type); in mlx5dr_action_create_packet_reformat()
|
| D | mlx5dr.h | 107 enum mlx5dr_action_reformat_type reformat_type,
|
| D | dr_cmd.c | 417 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_cmd.h | 80 int reformat_type,
|
| D | en_rep.h | 191 int reformat_type; member
|
| D | fs_cmd.c | 111 int reformat_type, in mlx5_cmd_stub_packet_reformat_alloc() argument 688 int reformat_type, in mlx5_cmd_packet_reformat_alloc() argument 731 reformat_type, reformat_type); in mlx5_cmd_packet_reformat_alloc()
|
| D | fs_core.h | 62 int reformat_type; /* from mlx5_ifc */ member
|
| D | eswitch_offloads_termtbl.c | 176 switch (rt->reformat_type) { in mlx5_eswitch_termtbl_is_encap_reformat()
|
| D | fs_core.c | 3163 int reformat_type, in mlx5_packet_reformat_alloc() argument 3181 pkt_reformat->reformat_type = reformat_type; in mlx5_packet_reformat_alloc() 3182 err = root->cmds->packet_reformat_alloc(root, reformat_type, size, in mlx5_packet_reformat_alloc()
|
| D | en_tc.c | 1484 e->reformat_type, in mlx5e_tc_encap_flows_add()
|
| /Linux-v5.10/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_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.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()
|
| D | tc_tun_geneve.c | 75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| 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()
|
| /Linux-v5.10/include/linux/mlx5/ |
| D | fs.h | 258 int reformat_type,
|
| D | mlx5_ifc.h | 5637 u8 reformat_type[0x3]; member
|