Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dport_tun.c88 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()
Dport_tun.h20 int reformat_type);
22 int reformat_type);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h95 enum mlx5dr_action_reformat_type reformat_type,
187 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() argument
Ddr_action.c374 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()
Dfs_dr.c289 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()
Ddr_cmd.c419 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/
Dfs_cmd.h80 int reformat_type,
Den_rep.h171 int reformat_type; member
Dfs_cmd.c111 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()
Dfs_core.h52 int reformat_type; /* from mlx5_ifc */ member
Den_rep.c1109 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()
Dfs_core.c2953 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()
Den_tc.c1306 e->reformat_type, in mlx5e_tc_encap_flows_add()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c304 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()
Dtc_tun_gre.c23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
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()
/Linux-v5.4/include/linux/mlx5/
Dfs.h246 int reformat_type,
Dmlx5_ifc.h5364 u8 reformat_type[0x3]; member