Home
last modified time | relevance | path

Searched refs:lookup_type (Results 1 – 22 of 22) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.h25 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument
27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument
34 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
37 #define DR_STE_SET_ONES(lookup_type, tag, t_fname, spec, s_fname) \ argument
38 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, -1)
40 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \ argument
41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \
42 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \
43 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \
[all …]
Ddr_ste_v0.c37 #define DR_STE_CALC_LU_TYPE(lookup_type, rx, inner) \ argument
38 ((inner) ? DR_STE_V0_LU_TYPE_##lookup_type##_I : \
39 (rx) ? DR_STE_V0_LU_TYPE_##lookup_type##_D : \
40 DR_STE_V0_LU_TYPE_##lookup_type##_O)
Ddr_ste_v1.c8 #define DR_STE_CALC_DFNR_TYPE(lookup_type, inner) \ argument
9 ((inner) ? DR_STE_V1_LU_TYPE_##lookup_type##_I : \
10 DR_STE_V1_LU_TYPE_##lookup_type##_O)
/linux-5.19.10/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c80 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v4() argument
93 switch (lookup_type) { in nf_tproxy_get_sock_v4()
132 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && in nf_tproxy_get_sock_v4()
134 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v4()
146 protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v4()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_mps.c149 u8 lookup_type, in cxgb4_free_raw_mac_filt() argument
157 mask, idx, lookup_type, in cxgb4_free_raw_mac_filt()
168 u8 lookup_type, in cxgb4_alloc_raw_mac_filt() argument
175 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
183 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
204 u8 dip_hit, u8 lookup_type, bool sleep_ok) in cxgb4_alloc_encap_mac_filt() argument
209 dip_hit, lookup_type, sleep_ok); in cxgb4_alloc_encap_mac_filt()
Dcxgb4.h2008 u8 lookup_type, u8 port_id, bool sleep_ok);
2013 unsigned int vni_mask, u8 dip_hit, u8 lookup_type,
2017 u8 lookup_type, u8 port_id, bool sleep_ok);
2154 u8 dip_hit, u8 lookup_type, bool sleep_ok);
2162 u8 lookup_type,
2170 u8 lookup_type,
Dcudbg_entity.h218 u8 lookup_type; member
Dcxgb4_debugfs.c1703 u8 lookup_type = 0, port_num = 0; in mps_tcam_show() local
1724 lookup_type = DATALKPTYPE_G(data2); in mps_tcam_show()
1729 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1748 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1814 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1840 lookup_type ? 'I' : 'O', port_num, in mps_tcam_show()
Dcudbg_lib.c2565 tcam->lookup_type = DATALKPTYPE_G(data2); in cudbg_collect_tcam_index()
2571 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
2590 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
Dt4_hw.c7810 u8 lookup_type, u8 port_id, bool sleep_ok) in t4_free_raw_mac_filt() argument
7830 p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | in t4_free_raw_mac_filt()
7861 unsigned int vni_mask, u8 dip_hit, u8 lookup_type, in t4_alloc_encap_mac_filt() argument
7884 FW_VI_MAC_CMD_LOOKUP_TYPE_V(lookup_type)); in t4_alloc_encap_mac_filt()
7909 u8 lookup_type, u8 port_id, bool sleep_ok) in t4_alloc_raw_mac_filt() argument
7928 p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | in t4_alloc_raw_mac_filt()
/linux-5.19.10/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c81 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v6() argument
94 switch (lookup_type) { in nf_tproxy_get_sock_v6()
132 if ((lookup_type == NF_TPROXY_LOOKUP_ESTABLISHED && (!connected || wildcard)) || in nf_tproxy_get_sock_v6()
133 (lookup_type == NF_TPROXY_LOOKUP_LISTENER && connected)) { in nf_tproxy_get_sock_v6()
145 protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); in nf_tproxy_get_sock_v6()
/linux-5.19.10/include/net/netfilter/
Dnf_tproxy.h80 const enum nf_tproxy_lookup_t lookup_type);
119 const enum nf_tproxy_lookup_t lookup_type);
/linux-5.19.10/scripts/gdb/linux/
Dutils.py28 self._type = gdb.lookup_type(self._name)
65 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
/linux-5.19.10/include/linux/
Dkey-type.h56 unsigned lookup_type; /* Type of lookup for this search. */ member
/linux-5.19.10/security/keys/
Dkeyring.c648 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_DIRECT) { in search_keyring()
693 if (ctx->match_data.lookup_type == KEYRING_SEARCH_LOOKUP_ITERATE || in search_nested_keyrings()
949 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search()
1218 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_detect_cycle()
Drequest_key_auth.c255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
Drequest_key.c575 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link()
778 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_rcu()
Dprocess_keys.c197 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in get_user_session_keyring_rcu()
616 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in lookup_user_key()
Dproc.c170 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in proc_keys_show()
/linux-5.19.10/net/dns_resolver/
Ddns_key.c279 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse()
/linux-5.19.10/crypto/asymmetric_keys/
Dasymmetric_type.c345 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in asymmetric_key_match_preparse()
/linux-5.19.10/Documentation/security/keys/
Dcore.rst1536 unsigned lookup_type;
1542 against raw_data) and lookup_type will be set to indicate a direct lookup.
1544 The following lookup_type values are available:
1554 other form of match, may set lookup_type to KEYRING_SEARCH_LOOKUP_ITERATE