Searched refs:reformat_type (Results 1 – 14 of 14) sorted by relevance
86 int reformat_type, bool enable) in mlx5_set_entropy() argument98 reformat_type == MLX5_REFORMAT_TYPE_L2_TO_NVGRE) { in mlx5_set_entropy()144 int reformat_type) in mlx5_tun_entropy_refcount_inc() argument149 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() argument179 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 …]
20 int reformat_type);22 int reformat_type);
23 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_NVGRE; in mlx5e_tc_tun_init_encap_attr_gretap()
316 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()
24 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_L3_TUNNEL; in init_encap_attr()
79 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_vxlan()
75 e->reformat_type = MLX5_REFORMAT_TYPE_L2_TO_VXLAN; in mlx5e_tc_tun_init_encap_attr_geneve()
169 reformat_params.type = e->reformat_type; in mlx5e_tc_encap_flows_add()
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()
218 int reformat_type; member
73 int reformat_type; /* from mlx5_ifc */ member
589 pkt_reformat->reformat_type); in mlx5_cmd_set_fte()914 reformat_type, params->type); in mlx5_cmd_packet_reformat_alloc()
3898 pkt_reformat->reformat_type = params->type; in mlx5_packet_reformat_alloc()
647 enum mlx5hws_action_type reformat_type,