Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dport_tun.c86 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 …]
A Dport_tun.h20 int reformat_type);
22 int reformat_type);
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_action.c508 switch (reformat_type) { in dr_action_reformat_to_action_type()
1373 dr_action_verify_reformat_params(enum mlx5dr_action_type reformat_type, in dr_action_verify_reformat_params() argument
1380 if (reformat_type == DR_ACTION_TYP_INSERT_HDR) { in dr_action_verify_reformat_params()
1387 } else if (reformat_type == DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params()
1395 reformat_type > DR_ACTION_TYP_REMOVE_HDR) { in dr_action_verify_reformat_params()
1404 if (reformat_type != DR_ACTION_TYP_TNL_L2_TO_L2 && in dr_action_verify_reformat_params()
1405 reformat_type != DR_ACTION_TYP_TNL_L3_TO_L2) { in dr_action_verify_reformat_params()
1410 if (reformat_type != DR_ACTION_TYP_L2_TO_TNL_L2 && in dr_action_verify_reformat_params()
1411 reformat_type != DR_ACTION_TYP_L2_TO_TNL_L3) { in dr_action_verify_reformat_params()
1544 enum mlx5dr_action_reformat_type reformat_type, in mlx5dr_action_create_packet_reformat() argument
[all …]
A Dmlx5dr.h119 enum mlx5dr_action_reformat_type reformat_type,
A Dfs_dr.c341 is_decap = fte->act_dests.action.pkt_reformat->reformat_type == in mlx5_cmd_dr_create_fte()
833 switch (pkt_reformat->reformat_type) { in mlx5_fs_dr_action_get_pkt_reformat_id()
A Ddr_cmd.c558 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, rt); in mlx5dr_cmd_create_reformat_ctx()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_gre.c23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
A Dtc_tun.c316 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv4()
422 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv4()
586 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_create_header_ipv6()
691 reformat_params.type = e->reformat_type; in mlx5e_tc_tun_update_header_ipv6()
793 e->reformat_type = -1; in mlx5e_tc_tun_init_encap_attr()
A Dtc_tun_mplsoudp.c24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
A Dtc_tun_vxlan.c79 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
A Dtc_tun_geneve.c75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
A Dtc_tun_encap.c160 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dtc.c44 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_rep.h218 int reformat_type; member
A Dfs_core.h73 int reformat_type; /* from mlx5_ifc */ member
A Dfs_cmd.c589 pkt_reformat->reformat_type); in mlx5_cmd_set_fte()
914 reformat_type, params->type); in mlx5_cmd_packet_reformat_alloc()
A Dfs_core.c3895 pkt_reformat->reformat_type = params->type; in mlx5_packet_reformat_alloc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dmlx5hws.h647 enum mlx5hws_action_type reformat_type,
A Dmlx5hws_action.c1148 enum mlx5hws_action_type reformat_type, in mlx5hws_action_create_reformat() argument
1162 action = hws_action_create_generic_bulk(ctx, flags, reformat_type, num_of_hdrs); in mlx5hws_action_create_reformat()
A Dmlx5hws_cmd.c837 MLX5_SET(packet_reformat_context_in, prctx, reformat_type, attr->type); in mlx5hws_cmd_packet_reformat_create()
/linux/include/linux/mlx5/
A Dmlx5_ifc.h6940 u8 reformat_type[0x8]; member

Completed in 121 milliseconds