Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A 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 …]
H A 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/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A 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,
H A Dcudbg_entity.h218 u8 lookup_type; member
H A 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()
H A 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/net/ipv4/netfilter/
H A Dnf_tproxy_ipv4.c82 const enum nf_tproxy_lookup_t lookup_type) in nf_tproxy_get_sock_v4()
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()
80 nf_tproxy_get_sock_v4(struct net * net,struct sk_buff * skb,const u8 protocol,const __be32 saddr,const __be32 daddr,const __be16 sport,const __be16 dport,const struct net_device * in,const enum nf_tproxy_lookup_t lookup_type) nf_tproxy_get_sock_v4() argument
/linux/net/ipv6/netfilter/
H A 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/include/net/netfilter/
H A Dnf_tproxy.h88 const enum nf_tproxy_lookup_t lookup_type);
127 const enum nf_tproxy_lookup_t lookup_type);
/linux/scripts/gdb/linux/
H A 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
H A Dutils.py28 self._type = gdb.lookup_type(self._name)
85 return container_of(ptr, gdb.lookup_type(typename.string()).pointer(),
H A Dstackdepot.py32 handle_parts_t = gdb.lookup_type("union handle_parts")
H A 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…
H A Dinterrupts.py76 gdb.lookup_type("struct irqaction")
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A 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/include/linux/
H A Dkey-type.h56 unsigned lookup_type; /* Type of lookup for this search. */ member
/linux/drivers/nvme/common/
H A Dkeyring.c74 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in nvme_tls_psk_match_preparse()
/linux/security/keys/
H A 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()
H A Drequest_key_auth.c255 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in key_get_instantiation_authkey()
H A 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()
H A 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()
H A Dproc.c170 .match_data.lookup_type = KEYRING_SEARCH_LOOKUP_DIRECT, in proc_keys_show()
/linux/net/dns_resolver/
H A Ddns_key.c286 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in dns_resolver_match_preparse()
/linux/crypto/asymmetric_keys/
H A Dasymmetric_type.c345 match_data->lookup_type = KEYRING_SEARCH_LOOKUP_ITERATE; in asymmetric_key_match_preparse()

12