Home
last modified time | relevance | path

Searched refs:outer (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.6.21/Documentation/bpf/
Dmap_of_maps.rst14 an outer map contains instances of a single type of inner map, for example
17 When creating an outer map, an inner map instance is used to initialize the
18 metadata that the outer map holds about its inner maps. This inner map has a
19 separate lifetime from the outer map and can be deleted after the outer map has
22 The outer map supports element lookup, update and delete from user space using
23 the syscall API. A BPF program is only allowed to do element lookup in the outer
30 - A BPF program cannot update or delete outer map entries.
65 program. Note that the outer array can only be modified from user space using
88 examples of declarative initialisation of outer maps.
93 This snippet shows how to create an array based outer map:
[all …]
/linux-6.6.21/tools/testing/selftests/net/
Dl2_tos_ttl_inherit.sh66 local outer="$2"
102 "$type" "$outer" "$inner" "$tos" "$ttl" "$vlan"
117 if [ "$outer" = "4" ]; then
120 elif [ "$outer" = "6" ]; then
134 if [ "$outer" = "4" ]; then
146 elif [ "$outer" = "6" ]; then
195 local outer="$1"
222 if [ "$outer" = "4" ]; then
281 elif [ "$outer" = "6" ]; then
348 if [ "$outer" = "4" ]; then
[all …]
Dpmtu.sh399 outer="${1}"
403 if [ "${outer}" = "4" ]; then
481 outer=${2}
483 if [ "${outer}" -eq 4 ]; then
1563 outer=${2}
1566 setup namespaces routing ip${inner}ip${outer} || return $ksft_skip
1580 if [ ${outer} -eq 4 ]; then
1600 check_pmtu_value ${exp_mtu} "${pmtu}" "exceeding link layer MTU on ip${inner}ip${outer} interface"
1968 outer="${1}"
1975 setup namespaces routing ${encap}${outer} || return $ksft_skip
/linux-6.6.21/include/net/
Dinet_ecn.h46 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument
48 outer &= ~INET_ECN_MASK; in INET_ECN_encapsulate()
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
51 return outer; in INET_ECN_encapsulate()
251 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
254 switch (outer & INET_ECN_MASK) { in __INET_ECN_decapsulate()
265 *set_ce = INET_ECN_is_ce(outer); 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()
279 else if ((outer & INET_ECN_MASK) == INET_ECN_ECT_1) in INET_ECN_decapsulate()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c422 mask.outer = matcher->mask.outer; in dr_matcher_set_ste_builders()
484 if (dr_mask_is_smac_set(&mask.outer) && in dr_matcher_set_ste_builders()
485 dr_mask_is_dmac_set(&mask.outer)) { in dr_matcher_set_ste_builders()
490 if (dr_mask_is_smac_set(&mask.outer)) in dr_matcher_set_ste_builders()
494 if (DR_MASK_IS_L2_DST(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders()
499 if (DR_MASK_IS_DST_IP_SET(&mask.outer)) in dr_matcher_set_ste_builders()
503 if (DR_MASK_IS_SRC_IP_SET(&mask.outer)) in dr_matcher_set_ste_builders()
507 if (DR_MASK_IS_ETH_L4_SET(mask.outer, mask.misc, outer)) in dr_matcher_set_ste_builders()
511 if (dr_mask_is_ipv4_5_tuple_set(&mask.outer)) in dr_matcher_set_ste_builders()
515 if (dr_mask_is_ttl_set(&mask.outer) || in dr_matcher_set_ste_builders()
[all …]
Ddr_ste_v0.c707 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()
796 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
822 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
848 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv4_5_tuple_tag()
884 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask()
935 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_tag()
996 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask()
1009 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_tag()
1032 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_dst_bit_mask()
[all …]
Ddr_ste_v1.c1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1130 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1176 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1200 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
1224 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv4_5_tuple_tag()
1258 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask()
1308 struct mlx5dr_match_spec *spec = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_tag()
1366 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask()
1378 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_tag()
1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c363 if (port_sel->outer.definers[tt]) in mlx5_lag_destroy_definers()
365 port_sel->outer.definers[tt]); in mlx5_lag_destroy_definers()
387 port_sel->outer.definers[tt] = lag_definer; in mlx5_lag_create_definers()
486 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
509 port_sel->outer.ttc = mlx5_create_ttc_table(dev, &ttc_params); in mlx5_lag_create_ttc_table()
510 if (IS_ERR(port_sel->outer.ttc)) in mlx5_lag_create_ttc_table()
511 return PTR_ERR(port_sel->outer.ttc); in mlx5_lag_create_ttc_table()
615 port_sel->outer.definers, in mlx5_lag_port_sel_modify()
632 mlx5_destroy_ttc_table(port_sel->outer.ttc); in mlx5_lag_port_sel_destroy()
Dport_sel.h27 struct mlx5_lag_ttc outer; member
/linux-6.6.21/Documentation/networking/
Dchecksum-offloads.rst57 encapsulated packet both the inner and outer checksums may need to be edited or
84 LCO is a technique for efficiently computing the outer checksum of an
99 compute the outer checksum without looking at the payload: we simply stop
104 skb_checksum_help()), the outer checksum will become correct by virtue of the
107 LCO is performed by the stack when constructing an outer UDP header for an
120 LCO can safely be used for nested encapsulations; in this case, the outer
131 allowing the outer checksum to be offloaded. It does, however, involve a
Dsegmentation-offloads.rst69 contain additional headers such as an outer tunnel. In order to account
78 refer to the tunnel headers as the outer headers, while the encapsulated
98 fact that the outer header also requests to have a non-zero checksum
99 included in the outer header.
103 headers will be left with a partial checksum and only the outer header
139 only the inner-most transport header and possibly the outer-most network
146 is the outer IPv4 ID field. It is up to the device drivers to guarantee
Dseg6-sysctl.rst29 Controls the behaviour of computing the flowlabel of outer
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c2742 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2748 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_dvm_caps()
2756 supported_caps->outer = VIRTCHNL_VLAN_ETHERTYPE_8100 | in ice_vc_set_dvm_caps()
2768 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2779 supported_caps->outer = VIRTCHNL_VLAN_TOGGLE | in ice_vc_set_dvm_caps()
2814 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2818 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2822 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2830 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
2837 supported_caps->outer = VIRTCHNL_VLAN_UNSUPPORTED; in ice_vc_set_svm_caps()
[all …]
/linux-6.6.21/lib/
Dlocking-selftest.c2525 #define GENERATE_2_CONTEXT_TESTCASE(outer, outer_lock, inner, inner_lock) \ argument
2527 static void __maybe_unused inner##_in_##outer(void) \
2530 guard(outer)(outer_lock); \
2580 #define DO_CONTEXT_TESTCASE_OUTER_PREEMPTIBLE(outer) \ argument
2581 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \
2582 dotest(raw_spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \
2583 dotest(spinlock_in_##outer, SUCCESS, LOCKTYPE_SPIN); \
2584 dotest(mutex_in_##outer, SUCCESS, LOCKTYPE_MUTEX); \
2590 #define DO_CONTEXT_TESTCASE_OUTER_LIMITED_PREEMPTIBLE(outer) \ argument
2591 dotest(RCU_in_##outer, SUCCESS, LOCKTYPE_RWLOCK); \
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/cache/
Dl2c2x0.yaml49 # compatible with the ARM one with outer cache mode.
50 - marvell,aurora-outer-cache
177 arm,outer-sync-disable:
178 description: disable the outer sync operation on the L2 cache.
180 will randomly hang unless outer sync operations are disabled.
Dsocionext,uniphier-system-cache.yaml7 title: UniPhier outer cache controller
10 UniPhier ARM 32-bit SoCs are integrated with a full-custom outer cache
/linux-6.6.21/arch/m68k/math-emu/
Dfp_decode.h356 | with base and/or outer displacement
390 1: printf PDECODE,"0" | null outer displacement
393 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit outer displacement
396 3: fp_get_instr_long %a0,fp_err_ua1 | 32bit outer displacement
/linux-6.6.21/include/linux/
Dlockdep.h186 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
190 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
192 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits()
382 # define lockdep_init_map_type(lock, name, key, sub, inner, outer, type) \ argument
384 # define lockdep_init_map_waits(lock, name, key, sub, inner, outer) \ argument
/linux-6.6.21/net/tipc/
Dmsg.c519 struct tipc_msg *msg, *inner, *outer; in tipc_msg_try_bundle() local
552 outer = buf_msg(tskb); in tipc_msg_try_bundle()
553 tipc_msg_init(msg_prevnode(inner), outer, MSG_BUNDLER, 0, INT_H_SIZE, in tipc_msg_try_bundle()
555 msg_set_importance(outer, msg_importance(inner)); in tipc_msg_try_bundle()
556 msg_set_size(outer, INT_H_SIZE + tsz); in tipc_msg_try_bundle()
557 msg_set_msgcnt(outer, 1); in tipc_msg_try_bundle()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_main.c1525 if (stripping_support->outer) { in iavf_set_queue_vlan_tag_loc()
1526 if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1530 else if (stripping_support->outer & in iavf_set_queue_vlan_tag_loc()
1545 if (insertion_support->outer) { in iavf_set_queue_vlan_tag_loc()
1546 if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
1550 else if (insertion_support->outer & in iavf_set_queue_vlan_tag_loc()
4551 if (stripping_support->outer != VIRTCHNL_VLAN_UNSUPPORTED && in iavf_get_netdev_vlan_hw_features()
4552 stripping_support->outer & VIRTCHNL_VLAN_TOGGLE) { in iavf_get_netdev_vlan_hw_features()
4553 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
4556 if (stripping_support->outer & in iavf_get_netdev_vlan_hw_features()
[all …]
/linux-6.6.21/arch/arm/boot/dts/arm/
Darm-realview-eb-mp.dtsi75 * since th outer sync operation can cause the
83 arm,outer-sync-disable;
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Dfrontend-stat-properties.rst210 Measures the number of block errors after the outer forward error
211 correction coding (after Reed-Solomon or other outer code).
222 - ``FE_SCALE_COUNTER`` - Number of error blocks counted after the outer
/linux-6.6.21/scripts/
Dkernel-doc942 my $outer;
957 $outer = $lineprefix . " ";
958 $lineprefix = $outer . " ";
959 print $outer . "**Constants**\n\n";
961 print $outer . "``$parameter``\n";
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_priv.h126 u8 mlx5e_tc_get_ip_version(struct mlx5_flow_spec *spec, bool outer);
/linux-6.6.21/arch/arm/mm/
DKconfig590 Feroceon TLB (v4wbi with non-outer-cachable page table walks).
966 The outer cache has a outer_cache_fns.sync function pointer
967 that can be used to drain the write buffer of the outer cache.
1007 bool "Enable the L2x0 outer cache controller" if MIGHT_HAVE_CACHE_L2X0
1019 of the L220 and PL310 outer cache controllers.
1068 on systems with an outer cache, the store buffer is drained
1083 bool "Enable the UniPhier outer cache controller"
1089 This option enables the UniPhier outer cache (system cache)

123