Home
last modified time | relevance | path

Searched refs:inner (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v6.1/include/net/
Dinet_ecn.h46 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
120 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) in ipv4_copy_dscp() argument
123 ipv4_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv4_copy_dscp()
166 static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) in ipv6_copy_dscp() argument
169 ipv6_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv6_copy_dscp()
251 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
253 if (INET_ECN_is_not_ect(inner)) { in __INET_ECN_decapsulate()
270 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument
275 rc = __INET_ECN_decapsulate(outer, inner, &set_ce); in INET_ECN_decapsulate()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c666 dr_ste_build_pre_check_spec(dmn, &mask->inner)) in mlx5dr_ste_build_pre_check()
994 dr_ste_copy_mask_spec(buff, &set_param->inner, clr); in mlx5dr_ste_copy_param()
1056 bool inner, bool rx) in mlx5dr_ste_build_eth_l2_src_dst() argument
1059 sb->inner = inner; in mlx5dr_ste_build_eth_l2_src_dst()
1066 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv6_dst() argument
1069 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv6_dst()
1076 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv6_src() argument
1079 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv6_src()
1086 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv4_5_tuple() argument
1089 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv4_5_tuple()
[all …]
Ddr_matcher.c413 bool inner, rx; in dr_matcher_set_ste_builders() local
428 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders()
463 inner = false; in dr_matcher_set_ste_builders()
467 &mask, inner, rx); in dr_matcher_set_ste_builders()
471 &mask, inner, rx); in dr_matcher_set_ste_builders()
475 &mask, inner, rx); in dr_matcher_set_ste_builders()
481 &mask, dmn, inner, rx); in dr_matcher_set_ste_builders()
487 &mask, inner, rx); in dr_matcher_set_ste_builders()
492 &mask, inner, rx); in dr_matcher_set_ste_builders()
496 &mask, inner, rx); in dr_matcher_set_ste_builders()
[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 : \
705 bool inner, u8 *bit_mask) in dr_ste_v0_build_eth_l2_src_dst_bit_mask() argument
707 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
740 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
784 dr_ste_v0_build_eth_l2_src_dst_bit_mask(mask, sb->inner, sb->bit_mask); in dr_ste_v0_build_eth_l2_src_dst_init()
786 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL2_SRC_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l2_src_dst_init()
796 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
812 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL3_IPV6_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l3_ipv6_dst_init()
822 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
[all …]
Ddr_ste_v1.c8 #define DR_STE_CALC_DFNR_TYPE(lookup_type, inner) \ argument
9 ((inner) ? DR_STE_V1_LU_TYPE_##lookup_type##_I : \
982 bool inner, u8 *bit_mask) in dr_ste_v1_build_eth_l2_src_dst_bit_mask() argument
984 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1010 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1045 dr_ste_v1_build_eth_l2_src_dst_bit_mask(mask, sb->inner, sb->bit_mask); in dr_ste_v1_build_eth_l2_src_dst_init()
1047 sb->lu_type = DR_STE_CALC_DFNR_TYPE(ETHL2_SRC_DST, sb->inner); in dr_ste_v1_build_eth_l2_src_dst_init()
1056 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1071 sb->lu_type = DR_STE_CALC_DFNR_TYPE(IPV6_DES, sb->inner); in dr_ste_v1_build_eth_l3_ipv6_dst_init()
1080 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
[all …]
Ddr_types.h204 u8 inner:1; member
369 bool inner, bool rx);
373 bool inner, bool rx);
377 bool inner, bool rx);
381 bool inner, bool rx);
385 bool inner, bool rx);
389 bool inner, bool rx);
393 bool inner, bool rx);
397 bool inner, bool rx);
401 bool inner, bool rx);
[all …]
/Linux-v6.1/tools/testing/selftests/net/
Dl2_tos_ttl_inherit.sh59 local inner="$3"
95 "$type" "$outer" "$inner" "$tos" "$ttl" "$vlan"
169 if [ "$inner" = "4" ] || [ "$inner" = "other" ]; then
172 elif [ "$inner" = "6" ]; then
180 local inner="$2"
187 if [ "$inner" = "4" ]; then
189 elif [ "$inner" = "6" ]; then
191 elif [ "$inner" = "other" ]; then
208 if [ "$inner" = "4" ]; then
223 elif [ "$inner" = "6" ]; then
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Drss.c107 bool inner) in rss_get_tirp() argument
109 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp()
113 bool inner) in rss_get_tir() argument
115 return *rss_get_tirp(rss, tt, inner); in rss_get_tir()
131 bool inner) in mlx5e_rss_create_tir() argument
140 if (inner && !rss->inner_ft_support) { in mlx5e_rss_create_tir()
147 tir_p = rss_get_tirp(rss, tt, inner); in mlx5e_rss_create_tir()
166 mlx5e_tir_builder_build_rss(builder, &rss->hash, &rss_tt, inner); in mlx5e_rss_create_tir()
172 inner ? "inner " : "", err, tt); in mlx5e_rss_create_tir()
185 bool inner) in mlx5e_rss_destroy_tir() argument
[all …]
Drss.h30 bool inner);
34 bool inner, u32 *tirn);
Dtir.c111 bool inner) in mlx5e_tir_builder_build_rss() argument
128 if (inner) in mlx5e_tir_builder_build_rss()
Dfs.h158 struct mlx5_ttc_table *mlx5e_fs_get_ttc(struct mlx5e_flow_steering *fs, bool inner);
159 void mlx5e_fs_set_ttc(struct mlx5e_flow_steering *fs, struct mlx5_ttc_table *ttc, bool inner);
/Linux-v6.1/tools/testing/selftests/openat2/
Dopenat2_test.c32 struct open_how inner; member
57 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
61 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
68 .arg.inner.flags = O_RDONLY, .size = 0, .err = -EINVAL }, in test_openat2_struct()
70 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
75 .arg.inner.flags = O_RDONLY, .arg.extra1 = 0xdeadbeef, in test_openat2_struct()
78 .arg.inner.flags = O_RDONLY, .arg.extra2 = 0xfeedcafe, in test_openat2_struct()
81 .arg.inner.flags = O_RDONLY, .arg.extra3 = 0xabad1dea, in test_openat2_struct()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c366 if (port_sel->inner.definers[tt]) in mlx5_lag_destroy_definers()
368 port_sel->inner.definers[tt]); in mlx5_lag_destroy_definers()
399 port_sel->inner.definers[tt] = lag_definer; in mlx5_lag_create_definers()
465 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
498 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params()
523 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
524 if (IS_ERR(port_sel->inner.ttc)) in mlx5_lag_create_inner_ttc_table()
525 return PTR_ERR(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
555 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
624 port_sel->inner.definers, in mlx5_lag_port_sel_modify()
[all …]
Dport_sel.h28 struct mlx5_lag_ttc inner; member
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_map_in_map_invalid.c6 struct inner { struct
17 __array(values, struct inner);
/Linux-v6.1/net/netfilter/
Dnft_tunnel.c580 struct nlattr *nest, *inner; in nft_tunnel_opts_dump() local
587 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_VXLAN); in nft_tunnel_opts_dump()
588 if (!inner) in nft_tunnel_opts_dump()
593 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
595 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_ERSPAN); in nft_tunnel_opts_dump()
596 if (!inner) in nft_tunnel_opts_dump()
615 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
620 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_GENEVE); in nft_tunnel_opts_dump()
621 if (!inner) in nft_tunnel_opts_dump()
634 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
[all …]
/Linux-v6.1/crypto/
DMakefile109 CFLAGS_aegis128-neon-inner.o += -ffreestanding -march=armv8-a -mfloat-abi=softfp
110 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-neon-fp-armv8
111 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o
121 CFLAGS_aegis128-neon-inner.o += $(aegis128-cflags-y)
122 CFLAGS_REMOVE_aegis128-neon-inner.o += -mgeneral-regs-only
123 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o
126 CFLAGS_aegis128-neon-inner.o += -isystem $(shell $(CC) -print-file-name=include)
/Linux-v6.1/include/linux/
Dlockdep.h185 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
189 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
191 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits()
196 struct lock_class_key *key, int subclass, u8 inner) in lockdep_init_map_wait() argument
198 lockdep_init_map_waits(lock, name, key, subclass, inner, LD_WAIT_INV); in lockdep_init_map_wait()
367 # define lockdep_init_map_type(lock, name, key, sub, inner, outer, type) \ argument
369 # define lockdep_init_map_waits(lock, name, key, sub, inner, outer) \ argument
371 # define lockdep_init_map_wait(lock, name, key, sub, inner) \ argument
/Linux-v6.1/Documentation/userspace-api/media/dvb/
Dfrontend-stat-properties.rst97 (FEC) on the inner coding block (before Viterbi, LDPC or other inner
116 - ``FE_SCALE_COUNTER`` - Number of error bits counted before the inner
125 Measures the amount of bits received before the inner code block, during
154 (FEC) done by inner code block (after Viterbi, LDPC or other inner
173 - ``FE_SCALE_COUNTER`` - Number of error bits counted after the inner
182 Measures the amount of bits received after the inner coding, during the
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c2529 supported_caps->inner = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2532 supported_caps->inner = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps()
2538 supported_caps->inner = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps()
2548 supported_caps->inner = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2558 supported_caps->inner = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2569 supported_caps->inner = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2606 supported_caps->inner = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2610 supported_caps->inner = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2614 supported_caps->inner = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2622 supported_caps->inner = VIRTCHNL_VLAN_ETHERTYPE_8100; in ice_vc_set_svm_caps()
[all …]
Dice_tc_lib.c86 static enum ice_protocol_type ice_proto_type_from_mac(bool inner) in ice_proto_type_from_mac() argument
88 return inner ? ICE_MAC_IL : ICE_MAC_OFOS; in ice_proto_type_from_mac()
91 static enum ice_protocol_type ice_proto_type_from_etype(bool inner) in ice_proto_type_from_etype() argument
93 return inner ? ICE_ETYPE_IL : ICE_ETYPE_OL; in ice_proto_type_from_etype()
96 static enum ice_protocol_type ice_proto_type_from_ipv4(bool inner) in ice_proto_type_from_ipv4() argument
98 return inner ? ICE_IPV4_IL : ICE_IPV4_OFOS; in ice_proto_type_from_ipv4()
101 static enum ice_protocol_type ice_proto_type_from_ipv6(bool inner) in ice_proto_type_from_ipv6() argument
103 return inner ? ICE_IPV6_IL : ICE_IPV6_OFOS; in ice_proto_type_from_ipv6()
347 bool inner = false; in ice_tc_fill_rules() local
358 inner = true; in ice_tc_fill_rules()
[all …]
/Linux-v6.1/net/sched/
Dsch_htb.c132 } inner; member
433 if (p->inner.clprio[prio].feed.rb_node) in htb_activate_prios()
439 htb_add_to_id_tree(&p->inner.clprio[prio].feed, cl, prio); in htb_activate_prios()
471 if (p->inner.clprio[prio].ptr == cl->node + prio) { in htb_deactivate_prios()
476 p->inner.clprio[prio].last_ptr_id = cl->common.classid; in htb_deactivate_prios()
477 p->inner.clprio[prio].ptr = NULL; in htb_deactivate_prios()
481 &p->inner.clprio[prio].feed); in htb_deactivate_prios()
483 if (!p->inner.clprio[prio].feed.rb_node) in htb_deactivate_prios()
852 clp = &cl->inner.clprio[prio]; in htb_lookup_leaf()
907 htb_next_rb_node(level ? &cl->parent->inner.clprio[prio].ptr: in htb_dequeue_tree()
[all …]
/Linux-v6.1/Documentation/driver-api/media/
Ddtv-frontend.rst240 On other devices, it requires inner FEC decoding,
244 Having it available after inner FEC is more common.
248 the forward error correction (FEC) on the inner coding block
249 (after Viterbi, LDPC or other inner code).
257 the forward error correction (FEC) on the inner coding block
258 (before Viterbi, LDPC or other inner code).
262 - Due to its nature, those statistics depend on inner coding lock (e. g.
267 the forward error correction (FEC) on the inner coding block
268 (before Viterbi, LDPC or other inner code).
/Linux-v6.1/Documentation/networking/
Dsegmentation-offloads.rst75 from the standard list of headers to "inner" header offsets.
79 data is normally referred to as the inner headers. Below is the list of
102 header has requested a remote checksum offload. In this case the inner
139 only the inner-most transport header and possibly the outer-most network
144 inner transport header are updated such that they will contain the correct
/Linux-v6.1/kernel/locking/
Dspinlock_debug.c17 struct lock_class_key *key, short inner) in __raw_spin_lock_init() argument
24 lockdep_init_map_wait(&lock->dep_map, name, key, 0, inner); in __raw_spin_lock_init()

123