Home
last modified time | relevance | path

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

12

/linux-6.12.1/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)
/linux-6.12.1/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.h2001 u8 lookup_type, u8 port_id, bool sleep_ok);
2006 unsigned int vni_mask, u8 dip_hit, u8 lookup_type,
2010 u8 lookup_type, u8 port_id, bool sleep_ok);
2147 u8 dip_hit, u8 lookup_type, bool sleep_ok);
2155 u8 lookup_type,
2163 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.c2566 tcam->lookup_type = DATALKPTYPE_G(data2); in cudbg_collect_tcam_index()
2572 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
2591 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
/linux-6.12.1/net/ipv4/netfilter/
Dnf_tproxy_ipv4.c82 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v4() argument
96 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-6.12.1/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c81 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v6() argument
95 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-6.12.1/include/net/netfilter/
Dnf_tproxy.h88 const enum nf_tproxy_lookup_t lookup_type);
127 const enum nf_tproxy_lookup_t lookup_type);
/linux-6.12.1/scripts/gdb/linux/
Dslab.py34 track_type = gdb.lookup_type('struct track')
39 return slab.cast(gdb.lookup_type("struct folio").pointer())
56 return cache['inuse'] + gdb.lookup_type("void").pointer().sizeof
64 p += gdb.lookup_type('struct track').sizeof * 2
Dutils.py28 self._type = gdb.lookup_type(self._name)
85 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
Dstackdepot.py32 handle_parts_t = gdb.lookup_type("union handle_parts")
Dmm.py76 self.SECTIONS_PER_ROOT = self.PAGE_SIZE // gdb.lookup_type("struct mem_section").sizeof
273 …__idx = int((page.cast(gdb.lookup_type("unsigned long")) - self.VMEMMAP_START).cast(utils.get_ulon…
Dinterrupts.py76 gdb.lookup_type("struct irqaction")
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dproc.c21 static struct netstat *lookup_type(struct netstat *ns, in lookup_type() function
39 ret = lookup_type(ns, type, len); in lookup_get()
/linux-6.12.1/include/linux/
Dkey-type.h56 unsigned lookup_type; /* Type of lookup for this search. */ member
/linux-6.12.1/drivers/nvme/common/
Dkeyring.c74 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in nvme_tls_psk_match_preparse()
/linux-6.12.1/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()
952 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in keyring_search()
1221 .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.c591 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in request_key_and_link()
794 .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-6.12.1/net/dns_resolver/
Ddns_key.c286 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse()
/linux-6.12.1/crypto/asymmetric_keys/
Dasymmetric_type.c345 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in asymmetric_key_match_preparse()

12