| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | port_tun.c | 88 int reformat_type, bool enable) in mlx5_set_entropy() argument 100 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy() 146 int reformat_type) in mlx5_tun_entropy_refcount_inc() argument 152 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN && in mlx5_tun_entropy_refcount_inc() 160 } else if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_tun_entropy_refcount_inc() 166 err = mlx5_set_entropy(tun_entropy, reformat_type, 0); in mlx5_tun_entropy_refcount_inc() 178 int reformat_type) in mlx5_tun_entropy_refcount_dec() argument 181 if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_VXLAN) in mlx5_tun_entropy_refcount_dec() 183 else if (reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE && in mlx5_tun_entropy_refcount_dec() 185 mlx5_set_entropy(tun_entropy, reformat_type, 1); in mlx5_tun_entropy_refcount_dec()
|
| D | port_tun.h | 20 int reformat_type); 22 int reformat_type);
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | mlx5dr.h | 95 enum mlx5dr_action_reformat_type reformat_type, 187 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() argument
|
| 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() 1029 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument 1034 if ((!data && data_sz) || (data && !data_sz) || reformat_type > in dr_action_verify_reformat_params() 1044 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params() 1045 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params() 1050 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params() 1051 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params() 1152 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() argument 1163 ret = dr_action_reformat_to_action_type(reformat_type, &action_type); in mlx5dr_action_create_packet_reformat()
|
| D | fs_dr.c | 289 bool is_decap = fte->action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte() 434 int reformat_type, in mlx5_cmd_dr_packet_reformat_alloc() argument 444 switch (reformat_type) { in mlx5_cmd_dr_packet_reformat_alloc() 458 reformat_type); in mlx5_cmd_dr_packet_reformat_alloc()
|
| D | dr_cmd.c | 419 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | fs_cmd.h | 80 int reformat_type,
|
| D | en_rep.h | 171 int reformat_type; member
|
| D | fs_cmd.c | 111 int reformat_type, in mlx5_cmd_stub_packet_reformat_alloc() argument 694 int reformat_type, in mlx5_cmd_packet_reformat_alloc() argument 738 reformat_type, reformat_type); in mlx5_cmd_packet_reformat_alloc()
|
| D | fs_core.h | 52 int reformat_type; /* from mlx5_ifc */ member
|
| D | en_rep.c | 1109 err = mlx5_tun_entropy_refcount_inc(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_attach() 1120 e->reformat_type); in mlx5e_rep_encap_entry_attach() 1151 mlx5_tun_entropy_refcount_dec(tun_entropy, e->reformat_type); in mlx5e_rep_encap_entry_detach()
|
| D | fs_core.c | 2953 int reformat_type, in mlx5_packet_reformat_alloc() argument 2971 pkt_reformat->reformat_type = reformat_type; in mlx5_packet_reformat_alloc() 2972 err = root->cmds->packet_reformat_alloc(root, reformat_type, size, in mlx5_packet_reformat_alloc()
|
| D | en_tc.c | 1306 e->reformat_type, in mlx5e_tc_encap_flows_add()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun.c | 304 e->reformat_type, in mlx5e_tc_tun_create_header_ipv4() 423 e->reformat_type, in mlx5e_tc_tun_create_header_ipv6() 465 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_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()
|
| /Linux-v5.4/include/linux/mlx5/ |
| D | fs.h | 246 int reformat_type,
|
| D | mlx5_ifc.h | 5364 u8 reformat_type[0x3]; member
|