Home
last modified time | relevance | path

Searched refs:match_value (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c44 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv4_flow()
46 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in accel_fs_tcp_set_ipv4_flow()
47 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
50 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv4_flow()
65 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_TCP); in accel_fs_tcp_set_ipv6_flow()
67 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 6); in accel_fs_tcp_set_ipv6_flow()
68 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
71 memcpy(MLX5_ADDR_OF(fte_match_param, spec->match_value, in accel_fs_tcp_set_ipv6_flow()
116 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in mlx5e_accel_fs_add_inpcb()
117 MLX5_SET(fte_match_param, spec->match_value, outer_header in mlx5e_accel_fs_add_inpcb()
179 static u32 match_value[MLX5_ST_SZ_DW(fte_match_param)]; accel_fs_tcp_add_default_rule() local
[all...]
H A Dmlx5_fs_tree.c
H A Dmlx5_eswitch.c233 dmac_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_fdb_set_vport_rule()
816 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_vport_ingress_config()
865 MLX5_SET_TO_ONES(fte_match_param, spec->match_value, outer_headers.cvlan_tag); in esw_vport_egress_config()
867 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, vport->vlan); in esw_vport_egress_config()
H A Dmlx5_fs_cmd.c521 match_value);
H A Dmlx5_fs_core.c473 if (spec->match_value[i] & ~spec->match_criteria[i]) { in check_valid_spec()
737 memcpy(fte->val, &spec->match_value, sizeof(fte->val)); in alloc_fte()
1809 const u32 *match_value, in lookup_fte_locked() argument
1820 if (!memcmp(match_value, fte_tmp->val, sizeof_field(struct fs_fte, val))) in lookup_fte_locked()
1875 fte_tmp = lookup_fte_locked(g, spec->match_value, take_write); in try_add_to_existing_fg()
/freebsd/sys/dev/mlx5/
H A Dfs.h144 u32 match_value[MLX5_ST_SZ_DW(fte_match_param)];
360 void mlx5_get_match_value(u32 *match_value,
376 u32 match_value[MLX5_ST_SZ_DW(fte_match_param)];
82 u32 match_value[MLX5_ST_SZ_DW(fte_match_param)]; global() member
240 u32 match_value[MLX5_ST_SZ_DW(fte_match_param)]; global() member
H A Dmlx5_ifc.h2606 struct mlx5_ifc_fte_match_param_bits match_value; member
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec_fs.c162 MLX5_SET(fte_match_param, spec->match_value, outer_headers.frag, 0); in setup_fte_no_frags()
171 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, IPPROTO_ESP); in setup_fte_esp()
181 MLX5_SET(fte_match_param, spec->match_value, misc_parameters.inner_esp_spi, spi); in setup_fte_spi()
184 MLX5_SET(fte_match_param, spec->match_value, misc_parameters.outer_esp_spi, spi); in setup_fte_spi()
196 MLX5_SET(fte_match_param, spec->match_value, in setup_fte_vid()
200 MLX5_SET(fte_match_param, spec->match_value, outer_headers.first_vid, in setup_fte_vid()
209 MLX5_SET(fte_match_param, spec->match_value, in clear_fte_vid()
213 MLX5_SET(fte_match_param, spec->match_value, in clear_fte_vid()
222 MLX5_SET(fte_match_param, spec->match_value, in setup_fte_no_vid()
470 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, 4); in setup_fte_addr4()
[all …]
/freebsd/sbin/ipfw/
H A Dtables.c381 if ((tname = match_value(tabletypes, type)) == NULL) in table_print_type()
486 algo = match_value(tablealgos, xi.type); in table_create()
837 if ((vtype = match_value(tablealgoclass, d.taclass)) == NULL) in table_show_info()
846 if ((vtype = match_value(tablealgoclass, d.taclass)) == NULL) in table_show_info()
2031 if ((atype = match_value(tabletypes, info->type)) == NULL) in ipfw_list_ta()
H A Dipfw2.c95 errx(EX_USAGE, "%s: missing argument", match_value(s_x, tok)); \
109 match_value(s_x, tok), *av); \
113 match_value(s_x, tok), min, max, *av); \
117 match_value(s_x, tok), *av); \
780 * match_value takes a table and a value, returns the string associated
784 match_value(struct _s_x *p, int value) in match_value() function
925 if (g_co.do_resolv && (s = match_value(ether_types, port)) ) in print_port()
969 sep = match_value(_port_name, opcode); in print_newports()
1223 if ((s = match_value(icmpcodes, code)) != NULL) in print_reject_code()
1305 arg = match_value(lookup_key in print_ip()
[all...]
H A Dipfw2.h364 char const *match_value(struct _s_x *p, int value);
H A Dipv6.c73 char const *s = match_value(icmp6codes, code); in print_unreach6_code()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_flow_table.c260 u8 *mv_dmac = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5e_add_eth_addr_rule_sub()
271 mv = (u8 *)spec->match_value; in mlx5e_add_eth_addr_rule_sub()
487 mv = (u8 *)spec->match_value; in mlx5e_add_main_vxlan_rules_sub()
678 mv = (u8 *)spec->match_value; in mlx5e_add_vlan_rule_sub()
1679 mv = (u8 *)spec->match_value; in mlx5e_add_vxlan_rule_sub()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2208 spec->match_value, ib_flow); in create_flow_rule()